.popular-locations-section {
    
    padding-top: 24px;
    padding-bottom: 40px;

    .popular-locations-title {
        font-size: 2rem;
        font-weight: 600;
        color: #0b0e21;
        margin-bottom: 8px !important;
        line-height: 1.375;
    }

    .popular-locations-subtitle {
        font-size: 1rem;
        font-weight: 500;
        color: #3c4268;
        margin-bottom: 32px !important;
        line-height: 1.5;
        letter-spacing: 0.015625em;
    }
    
    .locations-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        max-width: 1200px;

        .location-card-wrapper {
            flex: 0 0 auto;

            .popular-location-card {
                background: #ffffff;
                border: 1px solid #e4e1f4;
                border-radius: 12px;
                padding: 24px;
                width: 384px;
                height: auto;
                transition: all 0.3s ease;
                position: relative;
                overflow: hidden;
                display: flex;
                align-items: center;
                gap: 8px;
                text-decoration: none;
                color: inherit;

                &:hover {
                    transform: translateY(-2px);
                    box-shadow:
                        0 8px 16px 0px rgba(96, 97, 112, 0.16),
                        0 2px 4px 0px rgba(40, 41, 61, 0.04);

                    .arrow-link {
                        background-color: #1a0340;
                    }
                }

                .location-icon-bg {
                    display: block;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 55.035px;
                    height: 67.225px;
                    flex-shrink: 0;
                    opacity: 0.4;
                    z-index: 1;
                    padding: 1rem;
                }

                .location-card-content {
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    gap: 8px;
                    position: relative;
                    z-index: 2;

                    .location-name {
                        font-family: "IBM Plex Sans", sans-serif;
                        font-size: 1.5rem;
                        font-weight: 600;
                        color: #120253;
                        margin: 0;
                        line-height: 1.333;
                    }

                    .property-count {
                        font-family: "IBM Plex Sans", sans-serif;
                        font-size: 1rem;
                        font-weight: 500;
                        color: #b9babf;
                        margin: 0;
                        line-height: 1.5;
                        letter-spacing: 0.015625em;
                    }
                }

                .location-arrow {
                    position: absolute;
                    right: 24px;

                    .arrow-link {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        width: auto;
                        height: auto;
                        padding: 8px;
                        background-color: var(--brand-color-primary-acf);
                        border-radius: 50px;
                        color: #ffffff;
                        text-decoration: none;
                        transition: all 0.3s ease;
                        box-shadow:
                            0 8px 16px 0px rgba(96, 97, 112, 0.16),
                            0 2px 4px 0px rgba(40, 41, 61, 0.04);
                        pointer-events: none;

                        svg {
                            width: 24px;
                            height: 24px;
                        }
                    }
                }
            }
        }
    }
    
    @media (max-width: 768px) {
        padding: 1.5rem 0;

        .popular-locations-title {
            font-size: 2rem;
        }

        .locations-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            gap: 16px;
            max-width: 100%;

            .location-card-wrapper {
                flex: 0 0 calc(50% - 8px);

                .popular-location-card {
                    width: 100%;
                    height: 112px;
                    padding: 16px;
                    flex-direction: row;
                    align-items: stretch;
                    gap: 8px;
                    justify-content: space-between;

                    .location-icon-bg {
                        display: block;
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 55.035px;
                        height: 67.225px;
                        flex-shrink: 0;
                        opacity: 0.4;
                        z-index: 1;
                        padding: 1rem;
                    }

                    .location-card-content {
                        flex: 1;
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        gap: 8px;
                        position: relative;
                        z-index: 2;

                        .location-name {
                            font-family: "IBM Plex Sans", sans-serif;
                            font-size: 1rem;
                            font-weight: 600;
                            color: #0d1a35;
                            line-height: 1.5;
                            letter-spacing: 0.015625em;
                            margin: 0;
                        }

                        .property-count {
                            font-family: "IBM Plex Sans", sans-serif;
                            font-size: 0.875rem;
                            font-weight: 500;
                            color: #b9babf;
                            line-height: 1.714;
                            margin: 0;
                        }
                    }

                    .location-arrow {
                        display: none;
                    }
                }
            }
        }
    }

    @media (max-width: 576px) {
        padding: 1.5rem 0;

        .popular-locations-title {
            font-size: 1.75rem;
        }
    }
}
