/* Raj High Gardens — project page redesign */

/* Unified section headlines */
body.rhg-page .rhg-split__title,
body.rhg-page .rhg-floorplans__title,
body.rhg-page .rhg-location-connectivity__title,
body.rhg-page .section-title span {
    font-family: Barlow, sans-serif !important;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #183e62 !important;
    line-height: 1.3 !important;
}

body.rhg-page #content-wrapper > section.rhg-stats,
body.rhg-page #content-wrapper > section.rhg-about {
    background-color: inherit !important;
}

.rhg-stats {
    background: #f0eeeb;
    padding: 3.5rem 0;
}

.rhg-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rhg-stats__item {
    text-align: center;
}

.rhg-stats__value {
    font-family: Barlow, sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #183e62;
    line-height: 1.25;
    margin: 0;
}

.rhg-stats__value--sm {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.35;
}

.rhg-stats__line {
    width: 36px;
    height: 1px;
    background: #183e62;
    margin: 0.85rem auto;
}

.rhg-stats__label {
    font-family: Barlow, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #183e62;
    margin: 0;
}

/* Raj High Gardens intro section */
.rhg-split-section {
    padding: 4rem 0;
    background: #fff !important;
}

body.rhg-page #content-wrapper > section.rhg-split-section {
    background-color: #fff !important;
}

.rhg-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.rhg-split__media {
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
}

.rhg-split__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.rhg-split__title {
    margin: 0 0 0.75rem;
}

.rhg-split__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.25rem;
    margin: 0 0 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8e2dc;
}

.rhg-split__meta-item {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
}

.rhg-split__meta-label {
    font-family: Barlow, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #bda588;
}

.rhg-split__meta-value {
    font-family: Georgia, "Cormorant Garamond", serif;
    font-size: 0.98rem;
    font-style: italic;
    font-weight: 400;
    color: #5c6670;
    line-height: 1.4;
}

.rhg-split__meta-divider {
    width: 1px;
    height: 1.1rem;
    background: #d5cfc8;
    flex-shrink: 0;
}

.rhg-split__text {
    font-family: Barlow, sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
    margin: 0 0 1.25rem;
}

.rhg-split__text:last-child {
    margin-bottom: 0;
}

/* Old design: image left, text right — all three content blocks */
body.rhg-page .additional-content-project.rhg-content-block {
    background: #fff !important;
}

body.rhg-page #content-wrapper > section.additional-content-project.rhg-content-block {
    background-color: #fff !important;
}

body.rhg-page .rhg-content-block .row.div-padding > .col-md-12 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

body.rhg-page .rhg-content-block .img {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    grid-column: 1;
    grid-row: 1;
    overflow: visible !important;
    border-radius: 10px;
}

body.rhg-page .rhg-content-block .wrap.project-wrap-div {
    display: block !important;
    height: auto !important;
    overflow: visible;
    grid-column: 2;
    grid-row: 1;
    padding: 0 0.5rem;
}

body.rhg-page .rhg-content-block.rhg-content-block--reverse .wrap.project-wrap-div {
    grid-column: 1;
    padding: 0 0.5rem 0 0;
}

body.rhg-page .rhg-content-block.rhg-content-block--reverse .img {
    grid-column: 2;
}

body.rhg-page .rhg-content-block .content-img {
    margin: 0 !important;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    border-radius: 10px;
    display: block;
}

body.rhg-page .rhg-content-block .cont.desc-ul p {
    font-family: Barlow, sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
    margin: 0;
}

.rhg-about {
    background: #f7f2ee !important;
    padding: 5rem 0;
}

.rhg-about__layout {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.rhg-about__content {
    flex: 0 0 68%;
    max-width: 68%;
}

.rhg-about__specs-col {
    flex: 0 0 32%;
    max-width: 32%;
}

.rhg-about__layout--specs-only {
    justify-content: center;
}

.rhg-about__layout--specs-only .rhg-about__specs-col {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.rhg-about__layout--specs-only .rhg-about__specs {
    border-left: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 3rem;
}

.rhg-about__layout--specs-only .rhg-about__spec {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .rhg-about__layout--specs-only .rhg-about__specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 575px) {
    .rhg-about__layout--specs-only .rhg-about__specs {
        grid-template-columns: 1fr;
    }
}

.rhg-about .rhg-about__title,
.rhg-about .rhg-about__text,
.rhg-about .rhg-about__spec-label,
.rhg-about .rhg-about__spec-value {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.rhg-about__title {
    font-family: Barlow, sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #183e62;
    margin: 0 0 2rem;
}

.rhg-about__text {
    font-family: Barlow, sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
    margin: 0 0 1.35rem;
    text-align: left;
}

.rhg-about__text:last-child {
    margin-bottom: 0;
}

.rhg-about__specs {
    border-left: 1px solid #d5cfc8;
    padding-left: 2.5rem;
}

.rhg-about__spec {
    margin-bottom: 1.75rem;
}

.rhg-about__spec:last-child {
    margin-bottom: 0;
}

.rhg-about__spec-label {
    font-family: Barlow, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.35rem;
}

.rhg-about__spec-value {
    font-family: Barlow, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .rhg-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .rhg-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rhg-split-section {
        padding: 3rem 0;
    }

    .rhg-split__meta-divider {
        display: none;
    }

    .rhg-split__meta-item {
        width: 100%;
    }

    body.rhg-page .rhg-content-block .row.div-padding > .col-md-12 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    body.rhg-page .rhg-content-block .img,
    body.rhg-page .rhg-content-block .wrap.project-wrap-div {
        grid-column: 1;
        grid-row: auto;
    }

    .rhg-about {
        padding: 3.5rem 0;
    }

    .rhg-about__layout {
        flex-direction: column;
        gap: 0;
    }

    .rhg-about__content,
    .rhg-about__specs-col {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .rhg-about__specs {
        border-left: none;
        border-top: 1px solid #d5cfc8;
        padding-left: 0;
        padding-top: 2rem;
        margin-top: 2rem;
    }
}

@media (max-width: 575px) {
    .rhg-stats {
        padding: 2.5rem 0;
    }

    .rhg-stats__grid {
        gap: 2rem 1rem;
    }
}

@media (max-width: 991px) {
    body.rhg-page .rhg-floorplans-card .floorplans-two-col > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    body.rhg-page .rhg-content-block.rhg-content-block--reverse .wrap.project-wrap-div,
    body.rhg-page .rhg-content-block.rhg-content-block--reverse .img {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}

@media (max-width: 767px) {
    body.rhg-page .rhg-content-block .wrap.project-wrap-div {
        padding: 0 !important;
    }
}

/* GET COST SHEET & BROCHURE — same banner as Configuration */
body.rhg-page .contact-holder.rhg-brochure {
    background-image: url("/storage/projects/raj-high-gardens/banners/r9CXctDVVHmIyEZXKggtCDC8iBc0aTGy4zLjFMPS.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

body.rhg-page .contact-holder.rhg-brochure::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    pointer-events: none;
}

body.rhg-page .contact-holder.rhg-brochure .container {
    position: relative;
    z-index: 2;
}

/* Configuration section (after Image Galleria) */
body.rhg-page .rhg-configuration.about.lets-talk.hero.hero-contact {
    display: block !important;
    background-color: #f0eeeb !important;
}

body.rhg-page .rhg-configuration .rhg-configuration__bg {
    position: relative;
    background-color: #f0eeeb !important;
    background-image: none !important;
    padding: 3.5rem 0 4rem;
}

.rhg-configuration__bg::before {
    display: none;
}

body.rhg-page .rhg-configuration .border-bot-light {
    border-color: rgba(24, 62, 98, 0.25);
}

body.rhg-page .rhg-configuration .counter-main,
body.rhg-page .rhg-configuration .counter-main span {
    color: #183e62;
    -webkit-text-stroke: 0;
    opacity: 1;
}

body.rhg-page .rhg-configuration .text p {
    color: #183e62;
    font-weight: 500;
    font-size: 1rem;
    margin: 0;
}

/* The Floorplans — no beige strip (override shared.css nth-of-type) */
body.rhg-page:has(#project-page-banner) #content-wrapper > section.rhg-floorplans-section.project-page {
    background-color: #ffffff !important;
}

.rhg-floorplans__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rhg-floorplans__title {
    margin: 0 0 0.75rem;
}

.rhg-floorplans__line {
    width: 48px;
    height: 1px;
    background: #183e62;
    margin: 0 auto;
}

.rhg-floorplans-card {
    max-width: 72rem;
    margin: 0 auto;
    background: #fafbfa;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    padding: 1.5rem 1rem;
}

.rhg-floorplans-card .floorplans-two-col {
    margin: 0;
    align-items: stretch;
}

.rhg-floorplans-card .floorplans-left {
    padding: 1rem 1.25rem;
}

.rhg-floorplans-section .floorplans-left ul#pills-tab {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.25rem;
    justify-content: flex-start;
    align-items: stretch;
}

.rhg-floorplans-section .floorplans-left ul#pills-tab li button.nav-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 0.85rem 1rem !important;
    border: none !important;
    border-left: 2px solid transparent !important;
    border-radius: 4px !important;
    background: transparent !important;
    color: #183e62 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    font-family: Barlow, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.35;
    min-height: unset;
    width: 100%;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.rhg-floorplans-section .floorplans-left ul#pills-tab li button.nav-link:hover {
    background: rgba(255, 255, 255, 0.55) !important;
    color: #1a3636 !important;
}

.rhg-floorplans-section .floorplans-left ul#pills-tab li button.nav-link.active {
    background: rgba(255, 255, 255, 0.95) !important;
    border-left-color: #1a3636 !important;
    color: #183e62 !important;
}

.rhg-floorplans-section .floorplans-sqft {
    display: block;
    margin-top: 0.35rem;
    font-family: Georgia, "Cormorant Garamond", serif;
    font-size: 0.875rem;
    font-style: italic;
    font-weight: 400;
    color: #6b7280;
    text-transform: none;
    letter-spacing: 0;
}

.rhg-floorplans-preview {
    background: #fff;
    border: none;
    padding: 0.5rem 2.75rem;
    overflow: visible;
    position: relative;
}

.rhg-floorplans-section #pills-tabContent .tab-regular {
    background: #fff !important;
    width: 100%;
    overflow: visible;
    position: relative;
}

.rhg-floorplans-section #pills-tabContent .owl-nav {
    position: absolute;
    display: flex;
    top: 50%;
    left: 0;
    right: 0;
    bottom: unset;
    width: 100%;
    transform: translateY(-50%);
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
    z-index: 4;
}

.rhg-floorplans-section #pills-tabContent .owl-nav .owl-prev,
.rhg-floorplans-section #pills-tabContent .owl-nav .owl-next {
    margin-left: 0 !important;
    margin-right: 0 !important;
    pointer-events: auto;
    flex-shrink: 0;
}

.rhg-floorplans-section #pills-tabContent .rhg-floorplan-carousel {
    width: 100%;
}

.rhg-floorplans-section #pills-tabContent .rhg-floorplan-carousel .owl-stage-outer {
    overflow: hidden;
}

.rhg-floorplans-section #pills-tabContent img {
    filter: none !important;
    object-fit: contain;
}

@media (min-width: 992px) {
    .rhg-floorplans-card {
        padding: 2rem 1.5rem;
    }

    .rhg-floorplans-card .floorplans-left {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 767px) {
    .rhg-floorplans-preview {
        border: none;
        margin-top: 1rem;
        padding: 1rem 2.25rem 0.5rem;
    }
}

/* Location Connectivity — beige strip (override shared.css nth-of-type) */
body.rhg-page:has(#project-page-banner) #content-wrapper > section.rhg-location-connectivity {
    background-color: #f0eeeb !important;
}

/* Image Galleria — no beige strip (override shared.css nth-of-type) */
body.rhg-page:has(#project-page-banner) #content-wrapper > section:has(#image-container) {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Best Of Class Amenities — white background */
body.rhg-page:has(#project-page-banner) #content-wrapper > section:has(.amenity-row) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    isolation: isolate;
}

/* Video Galleria — no section background (override shared.css + secondary-div) */
body.rhg-page:has(#project-page-banner) #content-wrapper > section.rhg-video-section.secondary-div {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.rhg-location-connectivity__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rhg-location-connectivity__title {
    margin: 0 0 0.75rem;
}

.rhg-location-connectivity__line {
    width: 48px;
    height: 1px;
    background: #183e62;
    margin: 0 auto 0.75rem;
}

.rhg-location-connectivity__subtitle {
    font-family: Barlow, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #183e62;
    margin: 0;
}

.rhg-location-connectivity__layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: stretch;
    max-width: 72rem;
    margin: 0 auto;
}

.rhg-location-connectivity__map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    min-height: 480px;
    background: #f0eeeb;
}

.rhg-location-connectivity__iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
}

.rhg-location-connectivity__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rhg-connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.rhg-connect-card {
    background: #f7f5f2;
    border-radius: 8px;
    padding: 1.25rem 1.35rem;
    border-left: 3px solid #bda588;
}

.rhg-connect-card__title {
    font-family: Barlow, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #183e62;
    margin: 0 0 0.85rem;
}

.rhg-connect-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rhg-connect-card__list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(24, 62, 98, 0.08);
}

.rhg-connect-card__list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rhg-connect-card__name {
    font-family: Barlow, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.rhg-connect-card__dist {
    font-family: Barlow, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #bda588;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .rhg-location-connectivity__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rhg-location-connectivity__map,
    .rhg-location-connectivity__iframe {
        min-height: 380px;
    }
}

@media (max-width: 575px) {
    .rhg-connect-grid {
        grid-template-columns: 1fr;
    }

    .rhg-location-connectivity__map,
    .rhg-location-connectivity__iframe {
        min-height: 320px;
    }
}
