/* PN homepage redesign - scoped to the front page. Colours reuse the existing theme palette. */
body.home{
  --pn-primary:var(--color-primary,#5541f8);
  --pn-navy:#0a1233;
  --pn-navy2:#0f2b43;
  --pn-ink:#1d2027;
  --pn-radius:16px;
  --pn-shadow:0 4px 16px rgba(15,43,67,.09);
}

/* ---------- Top bar / ticker ---------- */
body.home .pfy-top-bar{background:var(--pn-navy);}
body.home .tp-news-ticker .breaking-heading{background:var(--pn-primary);color:#fff;border-radius:999px;padding:3px 14px;font-weight:600;}
body.home .pfy-top-right .social-info a,
body.home .pfy-global-social a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;}
body.home .pfy-top-right .social-info a{background:rgba(255,255,255,.12);color:#fff;}

/* ---------- Header / menu ---------- */
body.home .header-menu{background:#fff;box-shadow:0 2px 10px rgba(15,43,67,.06);}
body.home .header-menu .navigation{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;}
body.home .header-menu .navigation>li>a{border-radius:999px;padding:8px 16px!important;font-weight:600;line-height:1.4;transition:.2s;}
body.home .header-menu .navigation>li>a:hover,
body.home .header-menu .navigation>li.current-menu-item>a,
body.home .header-menu .navigation>li.current_page_item>a{background:var(--pn-primary);color:#fff;}
@media (max-width:991px){
  body.home .header-menu .navigation{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;-webkit-overflow-scrolling:touch;}
  body.home .header-menu .navigation>li{flex:0 0 auto;}
}

/* ---------- Section titles ---------- */
body.home .benqu-section-title-wrap{display:flex;align-items:center;gap:12px;margin-bottom:22px;position:relative;}
body.home .benqu-section-title-wrap.text-center{justify-content:flex-start;text-align:left!important;}
body.home .benqu-section-title-wrap h2{margin:0;font-weight:700;color:var(--pn-ink);display:inline-flex;align-items:center;gap:10px;}
body.home .benqu-section-title-wrap h2::before{content:"\f1ea";font-family:"Font Awesome 5 Pro","Font Awesome 5 Free","Font Awesome 6 Pro","Font Awesome 6 Free";font-weight:900;width:38px;height:38px;border-radius:50%;background:var(--pn-primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:16px;flex:0 0 auto;}
body.home .benqu-section-title-wrap span{flex:1 1 auto;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--pn-primary),transparent);display:block;min-width:40px;}

/* ---------- Generic cards ---------- */
body.home .pfy-img-commn-style,
body.home .pfy-post-thumb img{border-radius:12px;overflow:hidden;}
body.home .pfy-post-grid-wrap .pfy-post-item{transition:transform .25s,box-shadow .25s;}
body.home .pfy-post-grid-wrap .pfy-post-item:hover{transform:translateY(-3px);}
body.home .benqu-cate-badge{border-radius:999px!important;padding:3px 12px!important;font-size:12px;font-weight:600;}
body.home .pfy-post-title a{color:var(--pn-ink);}

/* ---------- Top strip (grid-style-1): small horizontal cards ---------- */
body.home .pfy-post-grid-wrap.grid-style-1 .pfy-post-item{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:10px;box-shadow:var(--pn-shadow);height:100%;}
body.home .pfy-post-grid-wrap.grid-style-1 .pfy-post-thumb{flex:0 0 64px;}
body.home .pfy-post-grid-wrap.grid-style-1 .pfy-post-thumb img{width:64px;height:64px;object-fit:cover;border-radius:10px;}
body.home .pfy-post-grid-wrap.grid-style-1 .pfy-post-title{font-size:14px;line-height:1.45;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
body.home .pfy-post-grid-wrap.grid-style-1 .row>div{margin-bottom:12px;}

/* ---------- Hero slider ---------- */
body.home .pfy-post-slider-wrap{border-radius:20px;overflow:hidden;border:3px solid var(--pn-primary);box-shadow:var(--pn-shadow);}
body.home .pfy-post-slider-item{position:relative;}
body.home .pfy-post-slider-item::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,0) 60%);pointer-events:none;}
body.home .pfy-post-slider-item .pfy-post-content{z-index:2;}
body.home .pfy-post-slider-item .pfy-post-title a,
body.home .pfy-post-slider-item .pfy-post-meta,
body.home .pfy-post-slider-item .pfy-post-meta a{color:#fff;}
body.home .pfy-post-slider-wrap .owl-nav button{width:38px;height:38px;border-radius:50%!important;background:rgba(255,255,255,.9)!important;color:var(--pn-ink)!important;box-shadow:var(--pn-shadow);}
body.home .pfy-post-slider-wrap .owl-dots .owl-dot span{border-radius:50%;}
body.home .pfy-post-slider-wrap .owl-dots .owl-dot.active span{background:var(--pn-primary);}

/* grid-style-2 under hero */
body.home .pfy-post-grid-wrap.grid-style-2 .pfy-post-item{background:#fff;border-radius:var(--pn-radius);box-shadow:var(--pn-shadow);padding:0 0 14px;overflow:hidden;}
body.home .pfy-post-grid-wrap.grid-style-2 .pfy-post-content{padding:12px 14px 0;}

/* ---------- Latest news sidebar card (list-style-1) ---------- */
body.home .pfy-post-list-wrap.list-style-1{background:#fff;border-radius:var(--pn-radius);box-shadow:var(--pn-shadow);padding:10px 16px;}
body.home .pfy-post-list-wrap.list-style-1 .pfy-post-item{padding:12px 0;border-bottom:1px solid #eef0f6;align-items:center;}
body.home .pfy-post-list-wrap.list-style-1 .pfy-post-item:last-child{border-bottom:0;}
body.home .pfy-post-list-wrap.list-style-1 .pfy-post-thumb img{width:80px;height:64px;object-fit:cover;border-radius:10px;}
body.home .pfy-post-list-wrap.list-style-1 .pfy-post-title{font-size:15px;line-height:1.5;}

/* ---------- Featured collection band (grid carousel) ---------- */
body.home .elementor-element-2febec81{background:var(--pn-navy)!important;border-radius:20px;margin:30px auto;padding:26px 20px;width:calc(100% - 20px);}
body.home .elementor-element-2febec81 .benqu-section-title-wrap h2{color:#fff;background:rgba(255,255,255,.08);padding:6px 18px 6px 8px;border-radius:999px;}
body.home .elementor-element-2febec81 .benqu-section-title-wrap span{background:linear-gradient(90deg,var(--pn-primary),transparent);}
body.home .elementor-element-2febec81 .pfy-post-grid-carousel .pfy-post-thumb{border-radius:12px;overflow:hidden;}
body.home .elementor-element-2febec81 .pfy-post-title a{color:#fff;}
body.home .elementor-element-2febec81 .owl-dots .owl-dot.active span{background:var(--pn-primary);}

/* ---------- Local news (remove dark bg, use light cards) ---------- */
body.home .elementor-element-2d284650{background:transparent!important;}
body.home .elementor-element-2d284650 .benqu-section-title-wrap h2,
body.home .elementor-element-2d284650 .pfy-post-title a{color:var(--pn-ink)!important;}
body.home .pfy-post-grid-wrap.grid-style-4 .pfy-post-item{background:#fff;border-radius:var(--pn-radius);box-shadow:var(--pn-shadow);overflow:hidden;padding-bottom:12px;margin-bottom:24px;height:calc(100% - 24px);}
body.home .pfy-post-grid-wrap.grid-style-4 .pfy-post-content{padding:12px 14px 0;}
body.home .pfy-post-grid-wrap.grid-style-4 .pfy-post-title{font-size:16px;line-height:1.5;}

/* ---------- Category list ---------- */
body.home .pfy-cate-item-wrap.cat-style1 .pfy-cat-item{border-radius:12px;margin-bottom:10px;padding:12px 16px;position:relative;}
body.home .pfy-cate-item-wrap.cat-style1 .pfy-cat-item,
body.home .pfy-cate-item-wrap.cat-style1 .pfy-cat-item a{color:#fff;font-weight:600;}
body.home .pfy-cate-item-wrap.cat-style1 .pfy-cat-item::after{content:"\f054";font-family:"Font Awesome 5 Pro","Font Awesome 5 Free","Font Awesome 6 Pro","Font Awesome 6 Free";font-weight:900;position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:12px;}

/* ---------- World grid (grid-style-6) ---------- */
body.home .pfy-post-grid-wrap.grid-style-6 .pfy-post-item{background:#fff;border-radius:var(--pn-radius);box-shadow:var(--pn-shadow);overflow:hidden;padding-bottom:14px;height:100%;}
body.home .pfy-post-grid-wrap.grid-style-6 .pfy-post-content{padding:12px 16px 0;}

/* ---------- Footer ---------- */
body.home .pfy-site-footer.footer-two{background:var(--pn-navy);border-top-left-radius:50% 28px;border-top-right-radius:50% 28px;margin-top:40px;padding-top:20px;}
body.home .pfy-site-footer .pfy-ft-nav a,
body.home .pfy-site-footer .footer-copyright,
body.home .pfy-site-footer .footer-copyright a{color:#fff;}
body.home .pfy-site-footer .pfy-ft-nav li+li{border-left:1px solid rgba(255,255,255,.3);}
body.home .pfy-global-social a{background:var(--pn-primary);color:#fff;width:34px;height:34px;}

/* ---------- Responsive ---------- */
@media (max-width:767px){
  body.home .benqu-section-title-wrap h2{font-size:20px;}
  body.home .elementor-element-2febec81{border-radius:14px;padding:18px 10px;}
}
