.pm__blog--section .pm__blog--data {
    position: relative;
    padding: 5rem 0.9375rem;
    z-index: 1;
    text-align: center;
    overflow: hidden;
    background-color: #f7f7fe;
}
.pm__blog--head-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    z-index: -1;
}

.pm__blog--head-image img {
    width: 200px;
}
.pm__blog--data p {
    font-size: 1.125rem;
    max-width: 34.375rem;
    line-height: 1.25;
    margin: 0 auto;
    color: var(--body-text-color);
}
.pm__blog--tag {
    /* padding: 5px 15px; */
    width: fit-content;
    border-radius: 35px;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}
.pm__blog--tag.tracking,
.pm__blog--tag.rent-tracking {
   background-color: #d7cefd;
   color: #7f67e5;
}
.pm__blog--tag.late,
.pm__blog--tag.late-rent,
.pm__blog--tag.late-rate {
   background-color: var(--red-light-color);
   color: var(--red-color);
}
.pm__blog--tag.splitbill,
.pm__blog--tag.split-bills,
.pm__blog--tag.split-bill {
   background-color: var(--trietory-light-color);
   color: var(--trietory-color);
}
.pm__blog--tag.housemate,
.pm__blog--tag.tenants,
.pm__blog--tag.housemates {
   background-color: var(--primary-light-color);
   color: var(--primary-color);
}
.pm__blog--tag.setliupdate,
.pm__blog--tag.setli-updates,
.pm__blog--tag.setli-update {
   background-color: var(--orange-light-color);
   color: var(--orange-color);
}
.pm__blog--details {
    padding: 5rem 0.9375rem;
}

.pm__filter--icon{
    width: fit-content;
    cursor: pointer;
}

.pm__filter--icon img,
.pm__filter--icon svg{
    width: 1.5625rem;
}

.pm__filter--icon svg path{
    fill: var(--body-text-color);
}
.pm__filter--search {
    display: flex;
    flex: none;
    align-items: center;
    gap: 0.75rem;
    font-family: "League Spartan", sans-serif;
    padding: 0.625rem;
    border: 0.0625rem solid var(--body-text-color);
    border-radius: 0.625rem;
    order: 2;
}

.pm__filter--search img {
    width: 1.25rem;
}

.pm__filter--search input {
    border: none;
    background-color: transparent;
    padding: 0;
    font-size: 1rem;
    font-weight: 400;
}
.pm__filter--option {
    position: relative;
    width: 100%;
}
.pm__filter--option-btn {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    order: 1;
}

.pm__blog--filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.pm__filter--option-btn button, .pm__filter--option-btn a {
    background-color: transparent;
    border: 0.0625rem solid var(--body-text-color);
    border-radius: 0.3125rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: var(--title-text-color);
    font-weight: 400;
    text-transform: capitalize;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: fit-content;
}

.pm__filter--option-btn button.active,
.pm__filter--option-btn button:hover,
.pm__filter--option-btn a.active,
.pm__filter--option-btn a:hover {
    border-color: var(--trietory-color);
    background-color: var(--trietory-color);
    color: #ffffff;
}

.pm__blog--item {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.pm__blog--item-inner {
    flex: calc((100% / 3) - ((1.5rem * 2) / 3));
    max-width: calc((100% / 3) - ((1.5rem * 2) / 3));
    border-radius: 0.9375rem;
    overflow: hidden;
    box-shadow: 0 0 0.9375rem 0 rgba(0, 0, 0, 0.15);
    position: relative;
}

.pm__blog--item-inner a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
}

.pm__blog--item-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.pm__blog--item-image img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm__blog--item-detail {
    padding: 0.9375rem;
}

.pm__blog--item-detail h2 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.375rem;
}

.pm__blog--item-detail p {
    line-height: 1.25;
    font-size: 1rem;
    margin-bottom: 0.9375rem;
    color: var(--body-text-color);
}

.pm__post--track svg,
.pm__post--track img {
    /* width: 0.9375rem; */
    width: 14px;
}

.pm__post--track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pm__post--date,
.pm__post--time {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.pm__post--track p {
    line-height: unset;
    font-size: 0.875rem;
    margin: 0;
}

/* .pm__post--track svg path{
    fill: var(--body-text-color);
} */
@media(min-width: 1200px){
    .pm__filter--icon{
        display: none;
    }
}
@media(max-width: 1200px){
.pm__filter--option {
    width: auto;
    order: 2;
    flex: 1;
}
.pm__filter--search {
    order: 1;
}
.pm__filter--icon {
    width: fit-content;
    cursor: pointer;
    margin-left: auto;
}
.pm__blog--filter {
    justify-content: space-between;
}
.pm__filter--option .pm__filter--option-btn {
    position: absolute;
    flex-direction: column;
    z-index: 9999;
    right: 0;
    /* padding: 12px; */
    background-color: #ffffff;
    box-shadow: 0 0 0.9375rem 0 rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    gap: 0;
    top: 120%;
    display: none;
    width: fit-content; 
}
.pm__filter--option-btn a {
    display: block;
    max-width: 100%;
    border-radius: 0;
    border: none;
}
.pm__filter--option-btn.pm__filter--option-btn-active{
    display: block;
}
.pm__filter--option-btn button {
    padding: 10px 10px;
    border: 0;
    border-radius: 0;
    text-wrap-mode: nowrap;
    width: 100%;
}
}
@media(max-width: 991px){
    .pm__blog--item {
    gap: 24px;
}
.pm__blog--item-inner {
    flex: calc((100% / 2) - ((24px * 1) / 2));
    max-width: calc((100% / 2) - ((24px * 1) / 2));
}
}
@media(max-width: 768px){
    .pm__blog--details {
    padding: 2.5rem 0.9375rem;
}
    .pm__blog--filter {
        gap: 1rem;
}
.pm__filter--search {
    flex: 100%;
}
@media(max-width: 600px){
.pm__blog--item-inner {
    flex: 100%;
    max-width: 100%;
}
}
}

/*Blog Single page css Start  */
.pm__blogdetails--section {
    padding: 50px 15px;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
}

.pm__blogdetails--data {
    border-radius: 15px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    position: relative;
    padding-top: 30%;
    overflow: hidden;
}
.pm__blogdetails--data img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.pm__blogdetails--heading h1 {
    font-size: 22px;
    margin: 0;
    line-height: 1.25;
}

.pm__blogdetails--heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    /* margin-bottom: 24px; */
}

.pm__blogdetails--content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    gap: 24px;
    background-color: #ffffff;
    box-shadow: 0 0 0.9375rem 0 rgba(0, 0, 0, 0.15);
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}
.pm__blogdetails--content p{
    font-size: 16px;
}
.pm__blogdetails--content p {
    font-size: 16px;
    /* margin: 5px 0; */
    line-height: 1.25;
    color: var(--body-text-color);
}
.pm__blogdetails--content li {
    line-height: 1.25;
    margin: 5px 0;
    list-style-type: disc;
    color: var(--body-text-color);
}

.pm__blogdetails--content ul {
    padding-left: 15px;
}
.pm__blog--recent h2 {
    font-size: 20px;
    font-weight: 600;
}

.pm__blog--recent-data {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
    padding: 12px;
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0 0 0.9375rem 0 rgba(0, 0, 0, 0.15);
}

.pm__blog--recent-data img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

.pm__blog--recent {
    flex: 0 0 25%;
    min-width: 0;
}

.pm__blog--recent-data h3 {
    flex: 1;
    font-size: 18px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* .pm__blog--recent-data svg {
    width: 60px;
    height: 60px;
    border-radius: 15px;
} */

.pm__blog--recent-data a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.pm__blog--recent-data + .pm__blog--recent-data{
    margin-top: 24px;
}
@media(max-width: 991px){
    .pm__blogdetails--section {
    flex-wrap: wrap;
}
.pm__blog--recent {
    flex: 100%;
    width: 100%;
}
.pm__blog--recent-details {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: auto;
    gap: 24px
}
.pm__blog--recent-details::-webkit-scrollbar {
  height: 0;
}
.pm__blog--recent-data {
    flex: 1;
    box-shadow: none;
    border: 1px solid var(--body-text-color);
}
.pm__blog--recent-data + .pm__blog--recent-data {
    margin-top: 0px;
}
}
@media(max-width: 768px){
    .pm__blogdetails--data {
    padding-top: 50%;
}
.pm__blogdetails--content {
    padding: 24px 12px;
}
}
@media(max-width: 600px){
    .pm__blogdetails--data {
    padding-top: 75%;
}
}
/*Blog Single page css End  */

/* Pagination Wrapper & Buttons targeting Bootstrap 5 output */
.pm__blog--pagination nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 3.5rem;
}

.pm__blog--pagination nav > div:first-child {
    display: none !important;
}

.pm__blog--pagination nav > div:last-child {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    gap: 1.25rem;
}

.pm__blog--pagination nav p {
    font-size: 0.95rem;
    color: var(--body-text-color);
    margin: 0;
    font-weight: 500;
    font-family: "League Spartan", sans-serif;
    letter-spacing: 0.02em;
    text-transform: capitalize;
}

.pm__blog--pagination nav p span {
    font-weight: 700;
    color: var(--title-text-color);
}

.pm__blog--pagination ul.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pm__blog--pagination ul.pagination li .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: var(--body-text-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
    font-family: "League Spartan", sans-serif;
}

.pm__blog--pagination ul.pagination li .page-link:hover {
    border-color: var(--trietory-color);
    color: var(--trietory-color);
    background-color: var(--trietory-light-color);
}

.pm__blog--pagination ul.pagination li.active .page-link {
    background-color: var(--trietory-color) !important;
    border-color: var(--trietory-color) !important;
    color: #ffffff !important;
}

.pm__blog--pagination ul.pagination li.disabled .page-link {
    background-color: #f8fafc;
    color: #cbd5e1;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
}

.pm__blog--pagination.mt-5.w-100 {
    width: 100%;
}

/* Responsive styles for pagination */
@media (max-width: 600px) {
    .pm__blog--pagination nav > div:last-child {
        flex-direction: column !important;
        justify-content: center !important;
        gap: 1rem;
    }
}