/*
Theme Name: 9x Movies Grid
Theme URI: https://9xmovies.studio/
Author: Site Owner
Description: Responsive category-led movie and media catalog layout. Uses posts and categories already in WordPress.
Version: 1.0.0
Text Domain: nxm-grid
*/
:root{--nxm-blue:#4285f4;--nxm-orange:#ff851b;--nxm-bg:#eee;--nxm-width:960px}*{box-sizing:border-box}body{margin:0;background:var(--nxm-bg);color:#111;font:14px Arial,sans-serif}a{color:inherit;text-decoration:none}.nxm-header{background:var(--nxm-blue);color:#fff;box-shadow:0 2px 4px #bbb}.nxm-headrow{max-width:var(--nxm-width);min-height:48px;margin:auto;padding:7px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px}.nxm-brand img{width:150px;height:auto;display:block}.nxm-pages{display:flex;gap:12px;align-items:center;font-weight:bold;font-size:13px}.nxm-search{display:flex}.nxm-search input{height:30px;width:120px;border:0;padding:6px}.nxm-search button{background:var(--nxm-orange);color:#fff;border:0;padding:0 12px}.nxm-cats{max-width:var(--nxm-width);margin:auto;padding:7px 12px 10px;display:flex;justify-content:center;flex-wrap:wrap;gap:6px}.nxm-cats a{background:#347bea;padding:6px 10px;border-radius:2px;font-size:10px;font-weight:bold}.nxm-wrap{max-width:722px;margin:16px auto 0}.nxm-title{text-align:center;font-size:24px;font-weight:400;margin:14px 0 8px}.nxm-notice{background:var(--nxm-blue);color:#fff;padding:9px;border-radius:4px;margin:10px 0;font-size:11px}.nxm-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px 5px;margin:17px 4px}.nxm-card{border:1px solid #666;background:#eee;min-width:0}.nxm-card img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover}.nxm-card h2{font-size:11px;line-height:1.32;font-weight:400;margin:5px 9px 8px}.nxm-pagination{display:flex;justify-content:center;gap:3px;padding:10px 0 18px}.nxm-pagination a,.nxm-pagination span{background:#fff;border:1px solid #ddd;padding:7px 11px;font-size:11px}.nxm-pagination .current{background:#1675e8;color:#fff}.nxm-footer{margin-top:20px;background:var(--nxm-blue);color:#fff;padding:13px max(calc((100% - 722px)/2),20px);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.nxm-footlinks{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.nxm-single{background:#fff;padding:16px;margin:12px 4px;border:1px solid #ddd;line-height:1.65}.nxm-single h1{font-size:24px;line-height:1.3}.nxm-single .featured img{max-width:100%;height:auto;display:block;margin:12px auto}.nxm-single img{max-width:100%;height:auto}.nxm-mobile-toggle{display:none}
@media(max-width:760px){.nxm-headrow{flex-wrap:wrap;justify-content:center}.nxm-pages{order:3;flex-wrap:wrap;justify-content:center}.nxm-wrap{padding:0 12px}.nxm-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 5px}.nxm-footer{flex-direction:column;text-align:center;padding:14px}.nxm-footlinks{justify-content:center}}
@media(max-width:420px){.nxm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nxm-title{font-size:20px}}

