.page-srp-primary {

    .page-template-page-srp h2 {
        font-weight: 600;
        font-size: 32px;
        line-height: 40px;
    }

    .page-template-page-srp .paginationjs .paginationjs-pages li.active>a {
        background: var(--primary-bg, #EB2227);
        color: var(--white, #fff);
    }
    .page-template-page-srp .paginationjs .paginationjs-pages li>a {
        color: var(--primary-bg, #EB2227);
    }
    .page-template-page-srp .paginationjs .paginationjs-go-input>input[type=text],
    .page-template-page-srp .paginationjs .paginationjs-pages li {
        border-color: var(--primary-bg, #EB2227);
    }

    @media screen and (max-width: 1024px) {
        .page-template-page-srp .header-banner .desc {
            margin-top: 0;
        }
        .page-template-page-srp .header-banner .desc h2 {
            font-size: 24px;
            line-height: 30px;
        }
        .page-template-page-srp .header-banner .desc p {
            font-size: 20px;
            line-height: 30px;
        }
    }
    .page-template-page-srp-primary .filter-cities-dropdown,
    .page-template-page-srp-secondary .filter-cities-dropdown {
        display: none !important;
    }
    .page-template-page-srp-primary #search-container .search_box .dropdown,
    .page-template-page-srp-secondary #search-container .search_box .dropdown {
        width: 148px;
    }
    @media screen and (max-width: 1180px) {
        .page-template-page-srp-primary #search-container .search_box .dropdown,
        .page-template-page-srp-secondary #search-container .search_box .dropdown {
            width: 40%;
        }
        .page-template-page-srp-primary #search-container .search_box .dropdown-allproj-type,
        .page-template-page-srp-secondary #search-container .search_box .dropdown-allproj-type {
            width: 100%;
        }
    }

    @media screen and (min-width: 1440px) {
        /* .page-template-page-srp-primary #search-container .search_box .dropdown,
        .page-template-page-srp-secondary #search-container .search_box .dropdown {
            width: 352px;
        } */
    }

    /* Card grow animation */
    @keyframes grow {
        from {
            -webkit-transform: scale(0.8);
            -ms-transform: scale(0.8);
            transform: scale(0.8);
            opacity: 0.1;
        }
        to {
            -webkit-transform: scale(1);
            -ms-transform: scale(1);
            transform: scale(1);
            opacity: 1;
        }
    }

    /* Utility */
    .gap-16 {
        gap: 16px;
    }

    /* Card container layout */
    .card-whole-list .project-col {
        gap: 2%;
    }
    .card-whole-list .project-col .card-project-container {
        margin-bottom: 24px;
    }

    /* Cards */
    .card-project-container {
        width: 32%;
        height: fit-content;
        border-radius: 8px;
        background-color: #ffffff;
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.08);
        animation: grow 90ms 000ms forwards;
    }
    .card-project-container.skeleton {
        height: 455.8px;
        animation: none;
        background-color: #f5f5f5;
    }
    .card-project-container .card-property-icon {
        position: absolute;
        padding: 1vw;
        right: 0;
    }
    .card-project-container .card-property-image-container {
        position: relative;
        height: 220px;
        border-radius: 8px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .card-project-container .card-property-image-container .card-discount-container {
        display: flex;
        flex-flow: column wrap;
    }
    .card-project-container .card-property-image-container .card-discount-container .card-discount-tag {
        font-size: 14px;
        font-weight: 600;
        color: var(--white, #ffffff);
        padding: 8px 16px;
        position: absolute;
        text-align: center;
        top: 15px;
        background: linear-gradient(267.02deg, color-mix(in srgb, var(--primary-bg, #EB2227) 60%, white) 2.48%, var(--primary-bg, #fc7d81) 101.69%);
        box-shadow: 0px 0px 1px rgba(40, 41, 61, 0.04), 0px 2px 4px rgba(96, 97, 112, 0.16);
        border-radius: 0px 4px 4px 0px;
        z-index: 10;
    }
    .card-project-container .card-property-image {
        height: 100%;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
        border-radius: 8px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .card-project-container .card-detail-container {
        padding: 0px 12px;
        position: relative;
    }
    .card-project-container .card-dev-container {
        display: flex;
        justify-content: space-between;
        text-align: center;
        padding: 16px 0 4px;
        align-items: center;
    }
    .card-project-container.primary .card-dev-container {
        padding: 16px 0 0px;
    }
    .card-project-container .card-price-start {
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 12px;
        text-align: left;
    }
    .card-project-container.primary .card-price-start {
        flex-direction: column;
        align-items: flex-start;
    }
    .card-project-container .card-dev-logo > img {
        height: 35px;
        width: auto;
    }
    .card-project-container .card-price-start .card-price-label {
        display: none;
    }
    .card-project-container.primary .card-price-start .card-price-label {
        display: inherit;
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        color: #9EA3AE;
    }
    .card-project-container .card-price-start .card-discount-tag {
        position: relative;
        margin-right: 5px;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 0px 1px rgb(40 41 61 / 4%), 0px 2px 4px rgb(96 97 112 / 16%);
        background: linear-gradient(45.37deg, #94183D -9.11%, #E3839F 95.55%);
        color: white;
        font-weight: 600;
        font-size: 12px;
        line-height: 16px;
        border-radius: 8px;
        padding: 4px 8px;
    }
    .card-project-container .card-price-start .card-price-cross {
        text-decoration: line-through;
        font-weight: 500;
        font-size: 14px;
        line-height: 24px;
        color: #9EA3AE;
    }
    .card-project-container.primary .card-price-start .card-price-cross {
        display: none;
    }
    .card-project-container .card-price-tag {
        font-weight: 600;
        font-size: 20px;
        color: var(--secondary-text, #333);
    }
    .card-project-container .card-title-container {
        padding-bottom: 12px;
    }
    .card-project-container .card-title {
        font-size: 14px;
        color: #41454C;
        font-weight: 600;
        margin-bottom: 0px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .card-project-container.primary .card-title {
        font-size: 18px;
        line-height: 24px;
    }
    .card-project-container .card-title-span {
        font-weight: 500;
        font-size: 14px;
        color: #848B99;
    }
    .card-project-container.primary .card-title-span {
        color: #9EA3AE;
    }
    .card-project-container .card-promo-container {
        width: 100%;
        padding-top: 12px;
        font-weight: 600;
        font-size: 12px;
        line-height: 1.33;
        color: #41454C;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-inline-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        border-top: 1px solid #E7E8EB;
    }
    .card-project-container .card-extra-info {
        display: flex;
        flex-wrap: wrap;
        min-height: 105px;
        align-items: center;
    }
    .card-project-container .card-extra-info.primary {
        align-items: flex-start;
        min-height: 95px;
        padding-bottom: 6px;
    }
    .card-project-container .card-extra-info .item {
        width: 33%;
        font-size: 14px;
        font-weight: 400;
        padding-bottom: 8px;
    }
    .card-project-container .card-extra-info.primary .item {
        min-width: 100%;
        min-height: 113px;
        padding: 8px;
        background: color-mix(in srgb, var(--primary-bg) 5%, transparent);
        border-radius: 8px;
    }
    .card-project-container .card-extra-info.primary .item li {
        color: #525A80;
    }
    .card-project-container .card-extra-info.primary .item p {
        color: var(--primary-banner-bg, #333333) !important;
    }
    .card-project-container .card-extra-info.primary .item a {
        color: var(--primary-bg, #EB2227) !important;
    }
    .card-project-container .card-extra-info .item span {
        padding-left: 4px;
    }
    .card-project-container .card-extra-info .item .icon-label {
        display: block;
        padding-bottom: 4px;
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        letter-spacing: 0.25px;
        color: #41454C;
    }
    .card-project-container .card-extra-info .item .icon-image {
        vertical-align: text-bottom;
    }
    .card-project-container .card-extra-info .item .icon-value {
        font-weight: 500;
        font-size: 14px;
        line-height: 24px;
        color: #41454C;
        vertical-align: middle;
    }
    @media screen and (max-width: 900px) {
        .card-project-container {
            width: 100%;
            animation: unset;
        }
    }

    /* Header Banner */
    .header-banner {
        position: relative;
        min-height: 250px;
        height: auto;
        width: 100%;
        display: flex;
        overflow: hidden;
        margin-bottom: 24px;
    }
    .header-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--primary-bg);
    }
    .header-banner .bg-bottom-right {
        position: inherit;
        bottom: 0;
    }
    .header-banner.main-banner .bg-bottom-right,
    .header-banner.srp-banner .bg-bottom-right {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    .header-banner .desc-content-area {
        position: relative;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-align: left;
        width: inherit;
        padding: 30px 30px;
        z-index: 1;
        background: transparent;
    }
    .header-banner .desc {
        flex-direction: column;
        position: absolute;
        width: 100%;
        margin: 0;
    }
    .header-banner .desc h2 {
        font-weight: 700;
        font-size: 48px;
        line-height: 71px;
        color: white;
    }
    .header-banner .desc p {
        font-weight: 400;
        font-size: 40px;
        line-height: 71px;
        color: white;
        width: 100%;
    }
    .header-banner .desc h1,
    .header-banner .desc .small,
    .header-banner .desc .note {
        color: #fff;
    }
    .header-banner .desc .big {
        font-weight: 600;
        font-size: 48px;
        line-height: 62px;
    }
    .header-banner .desc .small {
        font-weight: 500;
        font-size: 14px;
        line-height: 24px;
    }
    .header-banner .desc .note,
    .header-banner .desc .note p {
        font-weight: 500;
        font-size: 18px;
        line-height: 24px;
        @media (max-width: 768px) {
           margin-bottom: 8vh;
        }
    }
    .header-banner .desc .cta-hero {
        padding: 8px 16px;
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        color: var(--primary-text, #EB2227);
        background-color: #fff;
        border-radius: 8px;
    }

    /* ACF banner slider (picture elements inside .header-banner) */
    .banner-slider img {
        width: 100%;
        height: 100%;
    }
    .banner-slider .swiper-pagination-bullet-active {
        width: var(--swiper-pagination-bullet-active-width, 16px);
        height: var(--swiper-pagination-bullet-active-height, 16px);
    }
    .banner-slider .swiper-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    @media screen and (min-width: 1600px) {
        .header-banner.main-banner::before,
        .header-banner.srp-banner::before {
            transform: scaleX(1.70);
        }
        .header-banner.main-banner .bg-bottom-right,
        .header-banner.srp-banner .bg-bottom-right {
            object-fit: cover;
            object-position: top;
        }
    }
    @media screen and (max-width: 1180px) {
        .header-banner .hero-img,
        .header-banner .desc-content-area {
            width: inherit;
            padding: 0 7px 0 7px;
        }
        .header-banner h1 {
            font-size: 1.5em !important;
            margin-bottom: 0;
        }
        .header-banner .desc h2 {
            font-size: 32px;
            line-height: 44px;
        }
        .header-banner .desc p {
            font-size: 16px;
            line-height: 22px;
        }
    }
    @media screen and (max-width: 1024px) {
        .header-banner .hero-img .banner-slider .swiper-pagination {
            bottom: -6px;
        }
    }
    @media screen and (max-width: 890px) {
        .header-banner.main-banner .bg-bottom-right,
        .header-banner.srp-banner .bg-bottom-right {
            object-fit: fill;
        }
        .header-banner .bg-bottom-right {
            height: auto;
        }
        .header-banner h1 {
            margin-bottom: 15px !important;
        }
        .header-banner p {
            font-weight: 400 !important;
            font-size: 18px !important;
            line-height: 24px !important;
            letter-spacing: 0.25px !important;
            margin-bottom: 10px;
        }
        .header-banner .desc-content-area {
            height: 100%;
        }
        .header-banner .hero-img,
        .header-banner .desc-content-area {
            width: 100%;
            text-align: left;
        }
        .header-banner .desc {
            position: relative;
            top: 1vh;
            transform: none !important;
            left: 0;
        }
        .header-banner .desc .big {
            font-size: 3em !important;
        }
    }

    /* Breadcrumbs */
    .breadcrumbs span {
        color: var(--secondary-text, #333);
        font-weight: 400;
        font-size: 12px;
    }
    .breadcrumbs span a {
        color: var(--neutral-2, #A5ADB5);
    }
    .breadcrumbs span:not(:last-child):after {
        content: "/";
        padding: 0 8px;
        color: var(--neutral-2, #A5ADB5);
    }
    .breadcrumbs .breadcrumbs-wrapper {
        max-width: 40%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    @media only screen and (max-width: 768px) {
        .breadcrumbs .breadcrumbs-wrapper {
            max-width: 100%;
        }
    }
}