.project-sidebar-cta {
    position: relative;
}

.project-single-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: var(--primary-color);
}

.project-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: inline-block;
}

.project-features-table-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--divider-color);
}

.project-features-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.project-features-table thead {
    background: var(--primary-color);
    color: #fff;
}

.project-features-table th {
    padding: 0.875rem 1rem;
    text-align: inherit;
    font-weight: 600;
}

.project-features-table tbody tr {
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.2s;
}

.project-features-table tbody tr:last-child {
    border-bottom: none;
}

.project-features-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.project-features-table td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
}

.project-features-table__num {
    width: 3rem;
    min-width: 3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.project-features-table__feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-features-table__icon {
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Project features – card grid redesign */
.project-features-grid-new {
    margin-top: 0.25rem;
}

.project-feature-card-new {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--divider-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-feature-card-new:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
}

.project-feature-card-new__link {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    text-decoration: none;
    color: inherit;
}

.project-feature-card-new__img-wrap {
    position: absolute;
    inset: 0;
}

.project-feature-card-new__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-feature-card-new:hover .project-feature-card-new__img {
    transform: scale(1.08);
}

.project-feature-card-new__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4, 6, 24, 0.85) 0%, rgba(4, 6, 24, 0.2) 50%, transparent 100%);
    pointer-events: none;
}

.project-feature-card-new__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 1.25rem 1.25rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    pointer-events: none;
}

[dir="rtl"] .project-feature-card-new__content {
    flex-direction: row-reverse;
}

.project-feature-card-new__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-secondary-color, #DCFF09);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
}

.project-feature-card-new__name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white-color);
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Project features list (with small image) - legacy */
.project-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    border-radius: 12px;
    border: 1px solid var(--divider-color);
    overflow: hidden;
    background: #fff;
}

.project-features-list__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.2s;
}

.project-features-list__item:last-child {
    border-bottom: none;
}

.project-features-list__item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.project-features-list__thumb {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--divider-color);
}

.project-features-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-features-list__icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-secondary-color, #DCFF09);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
}

.project-features-list__name {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    line-height: 1.4;
}

/* Project feature cards (with image) - kept for backwards compatibility */
.project-features-grid {
    margin-top: 0.5rem;
}

.project-feature-card {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--divider-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.project-feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.project-feature-card__image-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--divider-color);
}

.project-feature-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.project-feature-card:hover .project-feature-card__image {
    transform: scale(1.05);
}

.project-feature-card__icon {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.project-feature-card__title {
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.35;
}

.project-map-with-overlay {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--divider-color);
    min-height: 400px;
}

[dir="rtl"] .project-map-with-overlay {
    flex-direction: row-reverse;
}

.project-map-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    border-radius: 0;
    overflow: hidden;
    border: none;
    height: 500px;
}

.project-map-with-overlay__map.project-map-wrap {
    border: none;
    border-radius: 0;
}

.project-map-with-overlay:not(:has(.project-map-wrap)) .project-nearby-places-overlay {
    flex: 1;
    border-radius: 12px;
}

.project-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* "Go to location" button on map */
.project-map-go-btn {
    position: absolute;
    bottom: calc(1rem + 5px);
    right: 1rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1a1a1a;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

[dir="rtl"] .project-map-go-btn {
    right: auto;
    left: 1rem;
}

.project-map-go-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

/* Nearby places in second column (other side of map) */
.project-nearby-places-overlay {
    width: 320px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.98);
    border-inline-start: 1px solid var(--divider-color);
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    max-height: 500px;
}

[dir="rtl"] .project-nearby-places-overlay {
    border-inline-start: none;
    border-inline-end: 1px solid var(--divider-color);
}

.project-nearby-places-overlay__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.project-nearby-places-overlay__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-nearby-places-overlay__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--divider-color);
    font-size: 0.95rem;
}

.project-nearby-places-overlay__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-nearby-places-overlay__name {
    font-weight: 600;
    color: #333;
}

.project-nearby-places-overlay__distance {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .project-map-with-overlay {
        flex-direction: column;
        min-height: 0;
    }

    [dir="rtl"] .project-map-with-overlay {
        flex-direction: column;
    }

    .project-map-wrap {
        height: 350px;
        min-height: 350px;
    }

    .project-nearby-places-overlay {
        width: 100%;
        max-height: none;
        border-inline-start: none;
        border-inline-end: none;
        border-top: 1px solid var(--divider-color);
    }

    [dir="rtl"] .project-nearby-places-overlay {
        border-inline-end: none;
    }
}

.project-pdf-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s, transform 0.2s;
}

.project-pdf-box:hover {
    color: #fff;
    opacity: 0.92;
    transform: translateY(-2px);
}

.project-gallery-item {
    position: relative;
}

.project-gallery-view-all {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(-20%, -70%);
    font-size: 12px;
    backdrop-filter: blur(15px);
    background: #00000078;
    padding: 10px !important;
}
.project-gallery-view-all::before{
    content: none;
}
.project-gallery-item figure {
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
}

.project-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-gallery-item a:hover img {
    transform: scale(1.05);
}