/* NewsSutra 2.0-R01.2.3 — Owner UAT: visible mobility filters + State-wise News */

/* Keep every destination visible. Desktop/tablet wraps; small mobile scrolls deliberately. */
.immigration-tools-wrap,.mobility-filter-section{min-width:0!important;max-width:100%!important}
.mobility-filter-section .immigration-tools{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;max-width:100%!important}
.mobility-country-tools{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;max-width:100%!important}
.mobility-country-tools button{flex:0 0 auto!important;max-width:100%!important}

/* State-wise News */
.statewise-screen{min-width:0}
.statewise-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:27px 0 12px;border-bottom:2px solid var(--text);padding-bottom:8px}
.statewise-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:30px;line-height:1.05;margin:2px 0 0;color:var(--text)}
.statewise-heading p{max-width:620px;margin:0;font-size:10px;line-height:1.5;color:var(--muted);text-align:right}
.statewise-filter-panel{border-top:4px solid var(--brand-green);border-bottom:1px solid var(--line);padding:10px 0 11px;margin-bottom:20px}
.statewise-filter-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;align-items:start;padding:5px 0}
.statewise-filter-label{font-size:8.5px;font-weight:850;letter-spacing:1px;text-transform:uppercase;color:var(--muted);padding-top:8px}
.statewise-chips{display:flex;flex-wrap:wrap;gap:7px;min-width:0}
.statewise-chips button{border:1px solid var(--line);background:transparent;color:var(--text);border-radius:999px;padding:7px 11px;font-size:9px;font-weight:760;cursor:pointer;white-space:nowrap}
.statewise-chips button:hover,.statewise-chips button.active{background:var(--brand-green);border-color:var(--brand-green);color:#fff}
.statewise-status{display:flex;justify-content:space-between;gap:15px;padding:0 0 11px;color:var(--muted);font-size:9px}
.statewise-status strong{color:var(--text)}
.state-loading,.state-error,.state-empty{padding:32px 18px;border:1px solid var(--line);background:var(--panel);font-size:12px;color:var(--muted)}
.state-error{border-left:4px solid var(--status-red,#dc2626)}

.state-top-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;border-top:4px solid var(--orange);border-bottom:1px solid var(--line);background:var(--panel);margin-bottom:28px}
.state-top-card{min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--line);padding:17px 17px 14px;background:var(--panel)}
.state-top-card:last-child{border-right:0}
.state-story-kicker{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:8px}
.state-story-kicker span{display:inline-flex;border:1px solid color-mix(in srgb,var(--orange) 65%,var(--line));border-radius:999px;padding:5px 8px;font-size:7.8px;font-weight:850;letter-spacing:.7px;color:var(--orange);text-transform:uppercase}
.state-story-kicker small{font-size:8px;color:var(--muted)}
.state-top-card h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(17px,1.45vw,21px);line-height:1.2;margin:0 0 7px;color:var(--text)}
.state-top-card>.state-summary{font-size:10px;line-height:1.48;color:var(--muted);margin:0 0 9px}
.state-brief{margin-top:auto;border-top:1px solid var(--line-soft)}
.state-brief-item{padding:8px 9px 9px;border-left:2px solid var(--line);border-bottom:1px solid color-mix(in srgb,var(--line) 68%,transparent);background:color-mix(in srgb,var(--panel) 84%,var(--background))}
.state-brief-item.fact{border-left-color:var(--orange)}
.state-brief-item.impact{border-left-color:var(--brand-green-2)}
.state-brief-item.risk{border-left-color:var(--status-amber,#e9b01f)}
.state-brief-item.watch{border-left-color:var(--grey)}
.state-brief-item.pulse{border-left-color:#557a6f}
.state-brief-item.audit{border-left-color:#88909b;border-bottom:0}
.state-brief-item b{display:block;font-size:8px;letter-spacing:.85px;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.state-brief-item span{display:block;font-size:10.2px;line-height:1.52;color:var(--text)}
.state-brief-item a{color:var(--orange);text-decoration:none;font-weight:750}

.state-stream-heading{display:flex;justify-content:space-between;align-items:end;border-bottom:2px solid var(--text);padding-bottom:7px;margin:0 0 0}
.state-stream-heading h3{font-family:Georgia,'Times New Roman',serif;font-size:22px;margin:0}
.state-stream-heading span{font-size:9px;color:var(--muted)}
.state-stream{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--line)}
.state-stream-card{min-width:0;padding:15px 17px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);background:transparent}
.state-stream-card:nth-child(even){border-right:0}
.state-stream-card h4{font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.24;margin:0 0 6px}
.state-stream-card p{font-size:9.8px;line-height:1.45;color:var(--muted);margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.state-stream-meta{display:flex;justify-content:space-between;gap:8px;font-size:8.5px;color:var(--muted)}
.state-stream-meta a{color:var(--orange);text-decoration:none;font-weight:750}

@media(max-width:900px){
  .state-top-three{grid-template-columns:repeat(3,minmax(0,1fr))}
  .state-top-card{padding:14px 12px 12px}
  .state-top-card h3{font-size:16px}
  .state-brief-item span{font-size:9.5px}
}
@media(max-width:760px){
  .mobility-filter-section .immigration-tools,.mobility-country-tools{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:thin;padding-bottom:6px!important;overscroll-behavior-inline:contain}
  .mobility-country-tools:after{content:'';flex:0 0 18px}
  .statewise-heading{display:block}
  .statewise-heading p{text-align:left;margin-top:7px}
  .statewise-filter-row{grid-template-columns:1fr;gap:3px}
  .statewise-filter-label{padding-top:2px}
  .statewise-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px;overscroll-behavior-inline:contain}
  .statewise-chips:after{content:'';flex:0 0 16px}
  .state-top-three{grid-template-columns:1fr}
  .state-top-card{border-right:0;border-bottom:1px solid var(--line)}
  .state-top-card:last-child{border-bottom:0}
  .state-stream{grid-template-columns:1fr}
  .state-stream-card{border-right:0}
}
