.bp-home-news{
    width:100%;
    direction:rtl;
    font-family:"IRANSans","IRANYekan","Vazirmatn",Tahoma,Arial,sans-serif;
    box-sizing:border-box;
}
.bp-home-news *{box-sizing:border-box}
.bp-home-layout{
    display:grid;
    grid-template-columns:minmax(0,3fr) minmax(250px,1fr);
    gap:18px;
    width:100%;
    align-items:stretch;
}
.bp-home-main-column{min-width:0}
.bp-home-featured-column{min-width:0}

/* Main 75% story: image on the right, text on the left, matching the reference layout. */
.bp-home-main-story{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(250px,1fr);
    height:330px;
    background:#fff;
    overflow:hidden;
}
.bp-home-main-image-link{
    position:relative;
    display:block;
    min-width:0;
    height:100%;
    overflow:hidden;
    background:#20262b;
}
.bp-home-main-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .55s ease,filter .55s ease;
}
.bp-home-main-image-link:hover .bp-home-main-image{
    transform:scale(1.045);
    filter:brightness(.82);
}
.bp-home-hover-effect{
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,rgba(255,255,255,0) 35%,rgba(255,255,255,.22) 50%,rgba(255,255,255,0) 65%);
    transform:translateX(-120%);
    transition:transform .7s ease;
    pointer-events:none;
}
.bp-home-main-image-link:hover .bp-home-hover-effect{transform:translateX(120%)}
.bp-home-image-badge{
    position:absolute;
    right:14px;
    bottom:14px;
    padding:6px 10px;
    border-radius:3px;
    background:rgba(0,0,0,.68);
    color:#fff;
    font-size:11px;
    opacity:0;
    transform:translateY(7px);
    transition:all .25s ease;
}
.bp-home-main-image-link:hover .bp-home-image-badge{
    opacity:1;
    transform:translateY(0);
}
.bp-home-main-content{
    padding:18px 22px 12px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    text-align:right;
    overflow:hidden;
}
.bp-home-category{
    color:#555;
    text-decoration:none;
    font-size:13px;
    line-height:1.8;
    margin-bottom:10px;
}
.bp-home-main-title{
    color:#4d4d4d;
    text-decoration:none;
    font-size:22px;
    line-height:1.65;
    font-weight:600;
    margin-bottom:13px;
}
.bp-home-main-title:hover{color:#222}
.bp-home-main-excerpt{
    margin:0;
    color:#777;
    font-size:13px;
    line-height:2.05;
    font-weight:300;
}

/* Bottom selector: exactly three visible cards on desktop. */
.bp-home-slider-wrap{
    position:relative;
    margin-top:10px;
    padding:0 39px;
}
.bp-home-slider-viewport{
    width:100%;
    overflow:hidden;
}
.bp-home-slider-track{
    display:flex;
    direction:rtl;
    gap:10px;
    transition:transform .45s ease;
}
.bp-home-slide{
    position:relative;
    flex:0 0 calc((100% - 20px)/3);
    height:72px;
    padding:0;
    border:1px solid #eee;
    background:#fff;
    display:flex;
    align-items:stretch;
    flex-direction:row;
    cursor:pointer;
    overflow:hidden;
    text-align:right;
    font-family:inherit;
    color:#666;
}
.bp-home-slide img,
.bp-home-slide-no-image{
    width:105px;
    min-width:105px;
    height:70px;
    object-fit:cover;
    display:block;
    order:1;
}
.bp-home-slide-no-image{
    background:#e9e9e9;
    color:#777;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
}
.bp-home-slide-text{
    flex:1;
    display:flex;
    align-items:center;
    padding:6px 9px;
    font-size:11px;
    line-height:1.7;
    overflow:hidden;
}
.bp-home-slide.is-active{
    border-color:#ddd;
    box-shadow:inset 0 -2px 0 #777;
}
.bp-home-slide:hover{
    border-color:#bbb;
}
.bp-home-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:5;
    width:34px;
    height:34px;
    border:1px solid #ddd;
    background:#fff;
    color:#aaa;
    font-size:28px;
    line-height:27px;
    cursor:pointer;
    padding:0;
}
.bp-home-arrow:hover{color:#555;background:#f7f7f7}
.bp-home-prev{right:0}
.bp-home-next{left:0}

/* 25% featured card */
.bp-home-featured-card{
    position:relative;
    display:block;
    width:100%;
    height:412px;
    overflow:hidden;
    background:#ff8500;
    text-decoration:none;
}
.bp-home-featured-image{
    position:absolute;
    top:0;
    right:0;
    left:0;
    height:75%;
    width:100%;
    object-fit:cover;
    display:block;
    transition:transform .55s ease,filter .55s ease;
}
.bp-home-featured-card:hover .bp-home-featured-image{
    transform:scale(1.04);
    filter:brightness(.84);
}
.bp-home-featured-hover{
    position:absolute;
    inset:0 0 25% 0;
    background:linear-gradient(135deg,transparent 35%,rgba(255,255,255,.22) 50%,transparent 65%);
    transform:translateX(-120%);
    transition:transform .7s ease;
}
.bp-home-featured-card:hover .bp-home-featured-hover{transform:translateX(120%)}
.bp-home-featured-title{
    position:absolute;
    right:14px;
    left:14px;
    bottom:0;
    height:25%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    background:#ff8500;
    font-size:17px;
    line-height:1.75;
    font-weight:600;
    padding:8px;
}
.bp-home-no-image{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#2c3339;
    color:#fff;
    font-size:28px;
    font-weight:600;
}
.bp-home-empty{
    padding:30px;
    text-align:center;
    background:#f4f4f4;
    color:#555;
}

@media(max-width:900px){
    .bp-home-layout{grid-template-columns:minmax(0,2fr) minmax(200px,1fr);gap:12px}
    .bp-home-main-story{grid-template-columns:minmax(0,1.25fr) minmax(210px,1fr);height:310px}
    .bp-home-main-title{font-size:19px}
    .bp-home-main-excerpt{font-size:12px}
    .bp-home-featured-card{height:392px}
    .bp-home-featured-title{font-size:15px}
}

@media(max-width:767px){
    .bp-home-layout{display:flex;flex-direction:column;gap:12px}
    .bp-home-main-column{order:1}
    .bp-home-featured-column{order:2}
    .bp-home-main-story{display:flex;flex-direction:column;height:auto}
    .bp-home-main-image-link{height:250px;min-height:250px}
    .bp-home-main-content{height:auto;min-height:190px;padding:13px 15px}
    .bp-home-category{font-size:11px;margin-bottom:5px}
    .bp-home-main-title{font-size:19px;line-height:1.65;margin-bottom:8px}
    .bp-home-main-excerpt{font-size:12px;line-height:1.9}
    .bp-home-slider-wrap{padding:0 34px}
    .bp-home-slide{flex-basis:100%;height:70px}
    .bp-home-slide img,.bp-home-slide-no-image{width:95px;min-width:95px;height:68px}
    .bp-home-featured-card{height:310px}
    .bp-home-featured-image{height:70%}
    .bp-home-featured-title{height:30%;font-size:16px}
}


/* Fixed featured layout */
.bp-home-featured-card{display:flex;flex-direction:column;background:#ff8500}
.bp-home-featured-image{position:relative;height:75%}
.bp-home-featured-content{
height:25%;
display:flex;
flex-direction:column;
justify-content:center;
gap:6px;
padding:10px 14px;
background:#ff8500;
}
.bp-home-featured-title{
position:static;
height:auto;
background:transparent;
padding:0;
display:block;
}
.bp-home-featured-excerpt{
color:#fff;
font-size:12px;
line-height:1.8;
text-align:center;
display:block;
}


/* PRO v2 featured card fixes */
.bp-home-featured-card{
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden;
}
.bp-home-featured-image{
    position:relative !important;
    flex:1 1 auto !important;
    width:100% !important;
    height:auto !important;
    min-height:220px;
    object-fit:cover;
}
.bp-home-featured-content{
    flex:0 0 auto !important;
    padding:14px !important;
    gap:8px;
}
.bp-home-featured-title{
    position:static !important;
}


/* v2.1 - Featured 25% column */
.bp-home-featured-excerpt{
    display:none !important;
}
.bp-home-featured-card{
    position:relative !important;
    overflow:hidden !important;
}
.bp-home-featured-content{
    position:absolute !important;
    left:0;
    right:0;
    bottom:0;
    padding:8px 12px !important;
    background:rgba(0,0,0,.55) !important;
    z-index:10;
}
.bp-home-featured-title{
    position:static !important;
    display:block !important;
    font-size:13px !important;
    line-height:1.7 !important;
}
