/* ==========================================================================
   SINGLE PROJECT PAGE STYLES
   ========================================================================== */

.Body-single-project {
    padding: 60px 0;
    background-color: #f9fafb;
}

/* ===== PROJECT TITLE AREA ===== */
.project-title {
    max-width: 1200px;
    margin: 0 auto 10px;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    font-size: 36px !important;
    color: #1f3d7a;
    padding: 0 20px;
}

/* HEADER SUMMARY BAR */
.project-header-summary {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    color: #444;
}

.summary-price {
    font-weight: 700;
    color: #ae9437;
    font-size: 1.5em;
}

.summary-details {
    color: #1f3d7a;
    padding-left: 15px;
    border-left: 1px solid #ccc;
    line-height: 1.2;
    font-weight: 500;
    font-size: 1.05em;
}

/* ===== MEDIA BAR (Top Actions) ===== */
.project-media-bar {
    max-width: 1200px;
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 18px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.media-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #152c5b;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.media-item:hover {
    color: #1f4aa8;
    transform: translateY(-1px);
}

.media-item .dashicons {
    font-size: 26px;
    width: 26px;
    height: 26px;
    color: #1f4aa8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-divider {
    width: 1px;
    height: 25px;
    background-color: #eaeaea;
}

/* ===== MAIN LAYOUT ===== */
.project-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    align-items: flex-start;
    padding: 0 20px;
}

/* ===== SIDEBAR ===== */
.project-sidebar {
    background: #1f3d7a !important;
    color: #fff;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
    position: sticky;
    top: 20px;
}

.sidebar-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #fff !important;
}

.property-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    font-size: 15px;
    line-height: 1.6;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-row:last-child {
    border-bottom: none;
}

.meta-label {
    font-weight: 700;
    opacity: 0.9;
    min-width: 110px;
}

.meta-value {
    font-weight: 400;
    opacity: 0.95;
    word-wrap: break-word;
}

.meta-value.highlight-price {
    color: #fbbf24;
    font-weight: 700;
}

.school-desc {
    font-size: 0.85em;
    margin-top: 4px;
    opacity: 0.85;
    display: block;
    line-height: 1.4;
    width: 100%;
}

.property-highlights {
    margin-top: 30px;
}

.highlight-list {
    padding-left: 20px;
    list-style: none;
}

.highlight-item {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
    padding-left: 10px;
}

.highlight-item::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: #fbbf24;
    font-weight: bold;
}

/* SIDEBAR VIEW ALL BUTTON */
.btn-view-all-homes {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-view-all-homes:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== CONTENT AREA ===== */
.project-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.project-hero {
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
}

.project-hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 600px;
}

.content-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    color: #111827;
}

.project-description p {
    margin-bottom: 20px;
}

/* FEATURES GRID & COLUMNS */
.details-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 50px;
    margin: 40px 0;
}

.subset-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 15px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

.detail-list {
    list-style: none;
    padding: 0;
}

.detail-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #4b5563;
}

.detail-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1f3d7a;
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
}

/* AMENITIES WITH BAR */
.community-amenities .amenity-item {
    margin-bottom: 12px;
}

.hoa-details {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    border: 1px solid #1f3d7a;
    padding: 20px;
    border-radius: 12px;
    background: #fff;
}

/* FEATURES LIST WITH CHECKMARKS */
.features-list .feature-item {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #111827;
}

.features-list .feature-item::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 2px;
    color: #1f3d7a;
    font-weight: 900;
}

/* ===== PROJECT CTA ===== */
/* CTA BUTTONS */
.project-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.cta-btn {
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.cta-main {
    background: #1f4aa8;
    color: #fff !important;
}

.cta-outline {
    background-color: #BEA95B !important;
    color: white !important;
}

.cta-outline:hover {
    background-color: #a38f45 !important;
    transform: translateY(-2px);
}

.cta-main:hover {
    background: #1a3d8f;
    transform: translateY(-2px);
}

.cta-schedule {
    background-color: #BEA95B !important;
    color: white !important;
}

.cta-schedule:hover {
    background-color: #a38f45 !important;
    transform: translateY(-2px);
}

/* SECONDARY LINKS */
.cta-secondary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-link {
    color: #1f4aa8;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    font-size: 15px;
}

.cta-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.25s ease;
}

.cta-link:hover::after {
    width: 100%;
}

/* ===== NEIGHBORHOOD SECTION ===== */
.neighborhood-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.neighborhood-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ===== RESPONSIVE STYLES ===== */

@media (max-width: 1024px) {
    .project-layout {
        grid-template-columns: 1fr;
    }

    .project-sidebar {
        position: static;
        order: 2;
        margin-top: 40px;
    }

    .project-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .project-title {
        font-size: 30px !important;
    }

    .project-header-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .summary-details {
        padding-left: 0;
        border-left: none;
    }

    .project-media-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 20px;
    }

    .media-divider {
        display: none;
    }

    .media-item {
        width: 100%;
        padding-bottom: 12px;
        border-bottom: 1px solid #f3f4f6;
    }

    .media-item:last-child {
        border-bottom: none;
    }

    .details-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .neighborhood-grid {
        grid-template-columns: 1fr;
    }

    .cta-row {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .Body-single-project {
        padding: 30px 0;
    }

    .project-content {
        padding: 25px 20px;
    }

    .project-title {
        font-size: 26px !important;
        padding: 0 16px;
    }

    .project-header-summary {
        padding: 0 16px;
    }

    .project-layout {
        padding: 0 16px;
    }

    .content-title {
        font-size: 22px !important;
    }

    .subset-title {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .summary-price {
        font-size: 1.3em;
    }

    .summary-details {
        font-size: 0.95em;
    }

    .cta-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
}