/* =========================================================
   BLOSSOM BEAUTY CARE — BLOG LIST
   Final premium theme
   Deep Plum / Blossom Coral / Soft Apricot
   ========================================================= */

body{
    background:#FFFDFC;
    color:#3B2932;
}

/* Main container */
.rr-container{
    width:100%;
    max-width:1320px;
    margin:42px auto 70px;
    padding:0 24px;
}

/* Page heading */
.rr-page-title{
    position:relative;
    margin:0 0 42px;
    padding-bottom:17px;
    text-align:center;
    color:#4A263A;
    font-size:clamp(2rem,4vw,2.8rem);
    line-height:1.2;
    font-weight:800;
    letter-spacing:-.025em;
}

.rr-page-title::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    width:62px;
    height:4px;
    transform:translateX(-50%);
    border-radius:20px;
    background:linear-gradient(90deg,#E77972,#F4B59D);
}

/* Blog grid */
.rr-blog-grid{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:28px;
    align-items:stretch;
}

/* Blog card */
.rr-blog-card-lg{
    position:relative;
    display:flex;
    flex-direction:column;
    width:100%;
    min-width:0;
    overflow:hidden;
    background:#FFFDFC;
    border:1px solid #EAD8D3;
    border-radius:21px;
    box-shadow:0 8px 25px rgba(74,38,58,.075);
    transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}

.rr-blog-card-lg:hover{
    transform:translateY(-6px);
    border-color:rgba(231,121,114,.48);
    box-shadow:0 17px 38px rgba(74,38,58,.13);
}

/* Card image */
.rr-blog-card-lg .rr-blog-thumb{
    position:relative;
    display:block;
    overflow:hidden;
    background:#FBF4F1;
}

.rr-blog-card-lg .rr-blog-thumb::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(
        180deg,
        rgba(74,38,58,0) 55%,
        rgba(74,38,58,.24) 100%
    );
}

.rr-blog-card-lg .rr-blog-thumb img{
    display:block;
    width:100%;
    height:215px;
    max-width:none;
    object-fit:cover;
    object-position:center;
    transition:transform .45s ease;
}

.rr-blog-card-lg:hover .rr-blog-thumb img{
    transform:scale(1.045);
}

/* Card body */
.rr-blog-card-lg .rr-blog-body{
    display:flex;
    flex:1;
    flex-direction:column;
    padding:20px 19px 21px;
}

/* Card title */
.rr-blog-card-lg .rr-blog-title{
    min-height:52px;
    display:-webkit-box;
    margin:0 0 9px;
    overflow:hidden;
    color:#4A263A;
    font-size:19px;
    line-height:1.36;
    font-weight:800;
    letter-spacing:-.01em;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}

.rr-blog-card-lg .rr-blog-title a{
    color:#4A263A;
    text-decoration:none;
    transition:color .2s ease;
}

.rr-blog-card-lg .rr-blog-title a:hover{
    color:#D56560;
}

/* Excerpt */
.rr-blog-card-lg .rr-excerpt{
    display:-webkit-box;
    margin:0 0 15px;
    overflow:hidden;
    color:#735F68;
    font-size:13.5px;
    line-height:1.62;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}

/* Date */
.rr-blog-card-lg .rr-date{
    display:inline-flex;
    align-items:center;
    align-self:flex-start;
    gap:6px;
    margin-top:auto;
    padding:5px 11px;
    color:#D56560;
    background:#FBF4F1;
    border:1px solid #EAD8D3;
    border-radius:20px;
    font-size:10.5px;
    line-height:1.3;
    font-weight:800;
    letter-spacing:.035em;
    text-transform:uppercase;
}

/* Pagination */
.rr-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
    margin:52px 0 10px;
}

.rr-pagination a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    height:42px;
    padding:0 12px;
    color:#4A263A;
    background:#FFFDFC;
    border:1px solid #EAD8D3;
    border-radius:11px;
    text-decoration:none;
    font-size:14px;
    font-weight:750;
    transition:.22s ease;
}

.rr-pagination a:hover{
    color:#D56560;
    background:#FBF4F1;
    border-color:#E77972;
    transform:translateY(-1px);
}

.rr-pagination a.active{
    color:#fff;
    background:#E77972;
    border-color:#E77972;
    box-shadow:0 7px 18px rgba(231,121,114,.25);
}

.rr-pagination span{
    padding:0 4px;
    color:#735F68;
}

/* Tablet */
@media(max-width:1024px){
    .rr-container{
        max-width:900px;
        margin-top:34px;
    }

    .rr-blog-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:22px;
    }

    .rr-blog-card-lg .rr-blog-thumb img{
        height:205px;
    }
}

/* Mobile */
@media(max-width:768px){
    .rr-container{
        margin:25px auto 55px;
        padding:0 15px;
    }

    .rr-page-title{
        margin-bottom:30px;
        font-size:32px;
    }

    .rr-blog-grid{
        grid-template-columns:1fr;
        gap:17px;
    }

    .rr-blog-card-lg{
        border-radius:18px;
    }

    .rr-blog-card-lg .rr-blog-thumb img{
        height:195px;
    }

    .rr-blog-card-lg .rr-blog-body{
        padding:17px 17px 19px;
    }

    .rr-blog-card-lg .rr-blog-title{
        min-height:auto;
        font-size:18px;
    }

    .rr-blog-card-lg .rr-excerpt{
        font-size:13.5px;
    }

    .rr-pagination{
        margin-top:38px;
        gap:6px;
    }

    .rr-pagination a{
        min-width:39px;
        height:39px;
    }
}

/* Small phones */
@media(max-width:420px){
    .rr-container{
        padding:0 12px;
    }

    .rr-page-title{
        font-size:27px;
    }

    .rr-blog-card-lg .rr-blog-thumb img{
        height:180px;
    }

    .rr-blog-card-lg .rr-blog-body{
        padding:16px;
    }

    .rr-blog-card-lg .rr-blog-title{
        font-size:17px;
    }
}

/* Respect reduced motion */
@media(prefers-reduced-motion:reduce){
    .rr-blog-card-lg,
    .rr-blog-card-lg .rr-blog-thumb img,
    .rr-pagination a{
        transition:none!important;
    }
}
