/* PJ NEWS V7.7: two-column homepage / right sidebar only. */
.p3-shell .p7-section-title{border-bottom:0!important;padding-bottom:0!important;margin-bottom:17px!important}
.p3-shell .p7-section-title h2{border-bottom:0!important;text-decoration:none!important}
.p3-shell .p77-home-layout{display:grid;grid-template-columns:minmax(0,1fr) 284px;gap:22px;align-items:start}
.p3-shell .p77-home-main{min-width:0}
.p3-shell .p77-right{min-width:0;display:flex;flex-direction:column;gap:17px;position:sticky;top:12px}
.p3-shell .p77-panel{background:#fff;border:1px solid #e3e7ec;border-radius:12px;padding:14px;min-width:0}
.p3-shell .p77-panel h2{font-size:17px;line-height:1.4;margin:0 0 12px;font-weight:800;color:#14233a}
.p3-shell .p77-follow p{font-size:12px;color:#68748a;margin:0 0 11px}
.p3-shell .p77-sociallink{display:flex;align-items:center;gap:10px;padding:9px 7px;border-radius:9px;border:1px solid #e9edf2;margin-bottom:7px;background:#fafbfe;text-decoration:none!important}
.p3-shell .p77-sociallink:hover{background:#eef4fd}
.p3-shell .p77-sociallink strong{font-size:13px;color:#18273e}
.p3-shell .p77-sociallink small{margin-left:auto;color:#526881;font-size:11px}
.p3-shell .p77-brand{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;background:#1f2e43;color:#fff;flex:none}
.p3-shell .p77-brand svg{width:21px;height:21px;display:block}
.p3-shell .p77-sociallink[data-platform=youtube] .p77-brand{background:#e12232}
.p3-shell .p77-sociallink[data-platform=facebook] .p77-brand{background:#3272bb}
.p3-shell .p77-sociallink[data-platform=instagram] .p77-brand{background:#b54187}
.p3-shell .p77-sociallink[data-platform=whatsapp] .p77-brand{background:#249665}
.p3-shell .p77-trendlist{display:grid;gap:10px}
.p3-shell .p77-trend{display:flex;gap:9px;align-items:start;border-bottom:1px dotted #c6cbd3;padding-bottom:10px}
.p3-shell .p77-trend:last-child{border-bottom:0;padding-bottom:0}
.p3-shell .p77-rank{font-size:20px;line-height:1;color:#c22137;font-weight:900;min-width:18px}
.p3-shell .p77-trend .p7-mini{min-width:0;flex:1;grid-template-columns:32% minmax(0,1fr);gap:8px}
.p3-shell .p77-trend .p7-mini h3{font-size:12px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.p3-shell .p77-trend .p7-mini-tag,.p3-shell .p77-trend .p7-mini time{display:none}
.p3-shell .p77-trend .p7-mini-image{border-radius:7px}
.p3-shell .p77-short-feature{display:block;position:relative;aspect-ratio:9/13;max-width:175px;margin:0 auto 18px;overflow:hidden;border-radius:12px;background:#edf0f4}
.p3-shell .p77-short-feature img{display:block;width:100%;height:100%;object-fit:cover}
.p3-shell .p77-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;background:#e21d32;color:#fff;width:39px;height:39px;border-radius:50%;box-shadow:0 3px 10px #0005;font-size:17px}
.p3-shell .p77-short h3{font-size:15px;margin:15px 0 12px}
.p3-shell .p77-video-slider{display:flex;align-items:center;gap:5px}
.p3-shell .p77-video-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;min-width:0;flex:1}
.p3-shell .p77-video-track::-webkit-scrollbar{display:none}
.p3-shell .p77-video-item{min-width:100%;flex:0 0 100%;scroll-snap-align:start;display:block}
.p3-shell .p77-video-image{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:#edf0f3}
.p3-shell .p77-video-image img{width:100%;height:100%;object-fit:cover;display:block}
.p3-shell .p77-video-item strong{font-size:12px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:8px;color:#17253b}
.p3-shell .p77-previous,.p3-shell .p77-next{flex:0 0 25px;height:32px;background:#fff;border:1px solid #d7dfe9;border-radius:6px;font-size:23px;cursor:pointer}
.p3-shell .p77-channel{display:block;margin-top:10px;font-size:12px;font-weight:750;color:#b91d31!important}
.p3-shell .p77-empty{font-size:12px;line-height:1.65;color:#66758a}
/* Narrower main region: keep 5x2 clear on wide desktops; responsive breakpoints */
.p3-shell .p77-home-main .p75-cities-row{gap:11px}
.p3-shell .p77-home-main .p75-cities-row .p3-card h3{font-size:13px!important}
.p3-shell .p77-home-main .p7-regional-only{display:block}
.p3-shell .p77-home-main .p7-regional-only .p7-cities{width:100%}
/* All homepage news images animate on cursor hover, respecting reduced motion settings. */
.p3-shell .p77-home-layout .p3-image,
.p3-shell .p77-home-layout .p7-mini-image,
.p3-shell .p77-home-layout .p7-yt-thumb,
.p3-shell .p77-home-layout .p77-video-image{overflow:hidden;transform:translateZ(0)}
.p3-shell .p77-home-layout .p3-image img,
.p3-shell .p77-home-layout .p7-mini-image img,
.p3-shell .p77-home-layout .p77-video-image img{transition:transform .32s ease,filter .32s ease!important;will-change:transform}
.p3-shell .p77-home-layout .p3-image:hover img,
.p3-shell .p77-home-layout .p7-mini-image:hover img,
.p3-shell .p77-home-layout .p77-video-image:hover img,
.p3-shell .p77-home-layout article:hover .p3-image img,
.p3-shell .p77-home-layout article:hover .p7-mini-image img{transform:scale(1.075)!important;filter:saturate(1.06)}
@media(max-width:980px){.p3-shell .p77-home-layout{grid-template-columns:minmax(0,1fr) 245px;gap:12px}.p3-shell .p77-home-main .p75-cities-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.p3-shell .p77-home-layout{grid-template-columns:1fr}.p3-shell .p77-right{position:static;display:grid;grid-template-columns:1fr 1fr;gap:12px}.p3-shell .p77-right .p77-follow{grid-column:1/-1}.p3-shell .p77-home-main .p75-cities-row{grid-template-columns:repeat(2,minmax(0,1fr))}.p3-shell .p77-follow{display:block}.p3-shell .p77-sociallink{display:inline-flex;width:calc(50% - 10px);box-sizing:border-box;margin:4px;gap:7px}.p3-shell .p77-sociallink small{font-size:10px}}
@media(max-width:510px){.p3-shell .p77-right{grid-template-columns:1fr}.p3-shell .p77-sociallink strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.p3-shell .p77-home-layout img{transition:none!important}.p3-shell .p77-home-layout a:hover img{transform:none!important}}
