/* PJ NEWS HOMEPAGE V7.3 – approved V7.2 layout, safely isolated to homepage */
.p3-shell .p3-breaking{border-radius:18px!important;overflow:hidden;background:#f7f8fb!important;box-shadow:0 2px 8px #14223c0a}
.p3-shell .p3-breaking-label{font-size:15px!important;padding:13px 17px!important}
.p3-shell .p3-breaking-links a{font-size:16px!important;line-height:1.6!important}
.p3-shell .p3-breaking-window{min-width:0}
.p3-shell .p3-pagehead{display:none}
.p3-shell .p7-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:30px 0 16px;padding:0 0 11px;border-bottom:2px solid #16253d}
.p3-shell .p7-section-title h2{margin:0;font-size:21px;font-weight:800;line-height:1.4}
.p3-shell .p7-section-title a{font-size:12px;font-weight:700;color:#bd2035}
.p3-shell .p7-latest-social{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;align-items:start}
.p3-shell .p7-leadnews{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:15px;min-width:0}
.p3-shell .p7-leadnews .p3-hero .p3-image{height:auto;aspect-ratio:16/9}
.p3-shell .p7-leadnews .p3-hero h3{font-size:21px}
.p3-shell .p7-leadside{display:grid;gap:12px;align-content:start}
.p3-shell .p7-mini{display:grid;grid-template-columns:38% minmax(0,1fr);gap:10px;align-items:start;padding:0 0 12px;border-bottom:1px solid #e8edf3;min-width:0}
.p3-shell .p7-mini-image{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#f1f5fa}
.p3-shell .p7-mini-image img{width:100%;height:100%;object-fit:cover;display:block}
.p3-shell .p7-mini-copy{min-width:0}
.p3-shell .p7-mini-tag{font-size:10px;font-weight:800;color:#c51d36;margin-bottom:4px}
.p3-shell .p7-mini h3{font-size:14px;line-height:1.45;margin:0 0 5px;overflow-wrap:anywhere}
.p3-shell .p7-mini time{font-size:10px;color:#718095}
.p3-shell .p7-social,.p3-shell .p7-shortspanel{border:1px solid #e0e7ef;border-radius:12px;padding:15px;background:#fff;min-width:0}
.p3-shell .p7-social h2{font-size:16px;margin:0 0 7px}
.p3-shell .p7-social p{font-size:12px;color:#63738a;line-height:1.5}
.p3-shell .p7-sociallink{display:flex;gap:9px;align-items:center;margin:8px 0;padding:9px;border:1px solid #e6eaf0;border-radius:9px;background:#f8fafd;color:#172943;text-decoration:none}
.p3-shell .p7-sociallink:hover{background:#edf5fc}
.p3-shell .p7-socialsymbol{display:grid;place-items:center;width:30px;height:30px;color:#fff;border-radius:7px;background:#27344a;font:bold 16px Arial,sans-serif}
.p3-shell .p7-sociallink[data-platform=youtube] .p7-socialsymbol{background:#da273d}
.p3-shell .p7-sociallink[data-platform=facebook] .p7-socialsymbol{background:#3e72b4}
.p3-shell .p7-sociallink[data-platform=instagram] .p7-socialsymbol{background:#bb548a}
.p3-shell .p7-sociallink[data-platform=whatsapp] .p7-socialsymbol{background:#278967}
.p3-shell .p7-sociallink strong{font-size:13px}
.p3-shell .p7-sociallink small{margin-left:auto;color:#3d6181;font-size:11px}
.p3-shell .p7-cardgrid{display:grid;gap:14px}
.p3-shell .p7-cardgrid.p7-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.p3-shell .p7-cardgrid.p7-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.p3-shell .p7-cardgrid .p3-card h3{font-size:15px}
.p3-shell .p7-cardgrid .p3-card p{display:none}
.p3-shell .p7-cityshorts{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;align-items:start}
.p3-shell .p7-cityfilters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.p3-shell .p7-cityfilter{font-size:12px;font-weight:700;font-family:inherit;padding:8px 13px;border:1px solid #d7e0eb;border-radius:100px;background:#fff;color:#17253e;cursor:pointer}
.p3-shell .p7-cityfilter.active{background:#172943;color:#fff;border-color:#172943}
.p3-shell .p7-citygrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px}
.p3-shell .p7-citygrid .p7-mini{grid-template-columns:36% minmax(0,1fr);gap:8px}
.p3-shell .p7-smallhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:8px}
.p3-shell .p7-smallhead h3{font-size:17px;margin:0}
.p3-shell .p7-smallhead button{width:30px;height:30px;border:1px solid #d6e2ef;border-radius:7px;background:#f8fbfe;cursor:pointer}
.p3-shell .p7-short-track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:7px}
.p3-shell .p7-short{min-width:calc(58% - 7px);flex:0 0 calc(58% - 7px);scroll-snap-align:start;display:block}
.p3-shell .p7-short .p7-yt-thumb{aspect-ratio:9/16}
.p3-shell .p7-short strong{font-size:11px;line-height:1.4;display:block;margin-top:6px}
.p3-shell .p7-channel{display:block;color:#bd2035;font-size:12px;margin-top:9px;font-weight:700}
.p3-shell .p7-video-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.p3-shell .p7-yt-thumb{display:block;position:relative;overflow:hidden;border-radius:11px;aspect-ratio:16/9;background:#edf2f7}
.p3-shell .p7-yt-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.p3-shell .p7-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#d52138;color:#fff;padding:9px 13px;border-radius:10px;font-size:15px}
.p3-shell .p7-ytcard strong{display:block;margin-top:8px;font-size:13px;line-height:1.45}
.p3-shell .p7-two-col-list,.p3-shell .p7-twins{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
.p3-shell .p7-two-col-list .p7-mini{grid-template-columns:32% minmax(0,1fr)}
.p3-shell .p7-twins>section{min-width:0}
.p3-shell .p7-twins>section .p7-mini{margin-bottom:13px}
.p3-shell .p7-emptyvideo{font-size:12px;line-height:1.6;color:#728098;background:#f6f8fc;border-radius:9px;padding:15px}
@media(max-width:1020px){.p3-shell .p7-latest-social,.p3-shell .p7-cityshorts{grid-template-columns:minmax(0,1fr) 235px;gap:12px}.p3-shell .p7-leadnews{grid-template-columns:1fr}.p3-shell .p7-cardgrid.p7-cols-5,.p3-shell .p7-video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.p3-shell .p7-latest-social,.p3-shell .p7-cityshorts{grid-template-columns:1fr}.p3-shell .p7-social{order:2}.p3-shell .p7-sociallink{display:inline-flex;width:calc(50% - 8px);margin:3px 4px}.p3-shell .p7-citygrid{grid-template-columns:repeat(2,minmax(0,1fr))}.p3-shell .p7-cardgrid.p7-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.p3-shell .p7-cardgrid.p7-cols-5,.p3-shell .p7-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p3-shell .p7-two-col-list,.p3-shell .p7-twins{grid-template-columns:1fr}.p3-shell .p7-short{flex-basis:32%;min-width:32%}.p3-shell .p3-breaking-label{font-size:13px!important}.p3-shell .p3-breaking-links a{font-size:14px!important}}
@media(max-width:480px){.p3-shell .p7-citygrid{grid-template-columns:1fr}.p3-shell .p7-leadnews{grid-template-columns:1fr}.p3-shell .p7-cardgrid.p7-cols-5,.p3-shell .p7-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p3-shell .p7-short{min-width:45%;flex-basis:45%}.p3-shell .p7-sociallink{width:calc(50% - 8px)}.p3-shell .p7-sociallink strong{font-size:11px}.p3-shell .p7-sociallink small{font-size:9px}.p3-shell .p7-section-title h2{font-size:19px}}

/* Order the eight Cities stories in two newspaper columns: four per side. */
@media(min-width:741px){.p3-shell .p7-citygrid{grid-auto-flow:column;grid-template-rows:repeat(4,auto)}.p3-shell .p7-cityitem[hidden]{display:none!important}}
