/* City guide and consolidated navigation V6 */
.screen:has(.cg-page){padding:0!important;background:#f4f8fc}
.cg-page{min-height:100%;background:#f4f8fc;color:#16335b}
.cg-head{padding:15px 19px 26px;display:flex;flex-direction:column;gap:8px;color:white;background:radial-gradient(circle at 95% 10%,#32c6b84d,transparent 58%),linear-gradient(125deg,#064d54,#07967e)}
.cg-head.blue{background:linear-gradient(125deg,#07347e,#0879cd)}
.cg-head.pink{background:linear-gradient(125deg,#99205d,#db5185)}
.cg-head .back{color:white!important;position:static!important;margin:0 0 5px;padding:6px 0}
.cg-head-icon{display:grid;place-items:center;height:46px;width:46px;border:1px solid #ffffff60;background:#ffffff20;border-radius:15px}
.cg-head h1,.cg-city-hero h1{color:white;font-size:30px;font-weight:900;line-height:1.06;letter-spacing:-.9px;margin:0}
.cg-head p,.cg-city-hero p{color:#effaff;font-size:12px;line-height:1.5;margin:0}
.cg-city-hero{min-height:216px;display:flex;align-items:flex-end;padding:22px 19px;background:linear-gradient(0deg,#042d42ed,#06404c75 55%,#064f4d15),url('https://triavante-riacho-conectado-demo.pages.dev/assets/riacho-hero-poster-20261110.jpg') center/cover;position:relative}
.cg-city-hero>div{display:flex;flex-direction:column;gap:8px}
.cg-city-hero span{font-size:9px;letter-spacing:1.5px;font-weight:850;color:#99f7de}
.cg-body{display:flex;flex-direction:column;gap:13px;padding:17px 17px 30px}
.cg-city-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.cg-city-stats>div{background:white;border:1px solid #e0e9f2;border-radius:17px;padding:15px 12px;display:flex;flex-direction:column;gap:5px;box-shadow:0 6px 16px #16345b0c}
.cg-city-stats strong{color:#087d70;font-size:25px;font-weight:900;letter-spacing:-.9px}
.cg-city-stats small{font-size:10px;color:#526a7e;line-height:1.4}
.cg-section{font-size:17px;font-weight:900;color:#173957;letter-spacing:-.4px;margin:5px 0 0}
.cg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cg-list{display:flex;flex-direction:column;gap:9px}
.cg-tile,.cg-row{--accent:#2168cf;--pale:#e7f1ff;background:#fff;color:#15375c;border:1px solid #dfe8f2;border-radius:17px;box-shadow:0 7px 16px #1339630d;min-width:0;text-align:left;transition:transform .18s,box-shadow .18s;text-decoration:none}
.cg-tile.green,.cg-row.green{--accent:#07866a;--pale:#e1f8ee}
.cg-tile.teal,.cg-row.teal{--accent:#00878d;--pale:#dff7f7}
.cg-tile.purple,.cg-row.purple{--accent:#8451cb;--pale:#f0e7ff}
.cg-tile.orange,.cg-row.orange{--accent:#c77919;--pale:#fff0da}
.cg-tile.red,.cg-row.red{--accent:#d54e6b;--pale:#ffe8ed}
.cg-tile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:15px 12px;min-height:122px}
.cg-icon{display:grid;place-items:center;background:var(--pale);color:var(--accent);width:44px;height:44px;border-radius:14px;flex:none}
.cg-icon .ic{width:25px;height:25px}
.cg-tile b,.cg-row b{font-size:13px;font-weight:850;line-height:1.25;overflow-wrap:anywhere}
.cg-tile small,.cg-row small{font-size:11px;color:#65788e;line-height:1.35}
.cg-row{display:flex;align-items:center;gap:11px;width:100%;padding:12px;min-height:71px}
.cg-row>span:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.cg-row>.ic:last-child{flex:none;color:#8199ad}
.cg-tile:active,.cg-row:active{transform:scale(.98)}
.cg-home-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.cg-home-grid .cg-tile{min-height:112px;padding:11px 7px;align-items:center;text-align:center;gap:6px}
.cg-home-grid .cg-tile b{font-size:11px}
.cg-home-grid .cg-tile small{font-size:9px}
.cg-home-grid .cg-icon{width:42px;height:42px}
.cg-panel{display:flex;flex-direction:column;gap:11px;background:#fff;border:1px solid #e0e8f3;padding:16px;border-radius:18px;box-shadow:0 6px 16px #173c6710}
.cg-panel h2{font-size:17px;color:#173957;font-weight:850;line-height:1.2}
.cg-panel p{color:#566d85;font-size:13px;line-height:1.5;margin:0}
.cg-panel .cg-row{box-shadow:none;background:#f8fbff}
.cg-info{display:flex;align-items:flex-start;gap:7px;padding:11px;background:#e9f3fb;border:1px solid #d8e8f5;border-radius:12px;color:#42617c;font-size:11px;line-height:1.45;margin:0}
.cg-info .ic{flex:none;width:16px;height:16px}
.cg-source{color:#3f7196;font-size:10px;display:flex;align-items:center;gap:4px;text-decoration:none}
.cg-source .ic{width:14px;height:14px}
.cg-photo{position:relative;border-radius:18px;overflow:hidden;min-height:174px;background:#124b65}
.cg-photo img{display:block;width:100%;height:174px;object-fit:cover}
.cg-photo span{position:absolute;bottom:12px;left:12px;border-radius:10px;color:#fff;background:#062c54d9;padding:9px 12px;font-size:12px;font-weight:800}
.cg-search{display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid #dce7f3;background:#fff;color:#2868b7;border-radius:14px}
.cg-search input,.cg-field{font-size:16px;min-width:0;width:100%;height:48px;background:transparent;border:0;outline:0;color:#18375d}
.cg-field{border:1px solid #d7e4f3;border-radius:12px;padding:0 12px;background:#f9fbff}
.cg-label{font-size:12px;color:#234e72;font-weight:800}
.cg-primary{min-height:48px;background:linear-gradient(125deg,#0753b6,#137fd8);color:white;border:0;border-radius:13px;font-size:13px;font-weight:850;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;text-align:center;width:100%}
.cg-filters{display:flex;gap:6px;flex-wrap:wrap}
.cg-filters button{border:1px solid #dce6f2;background:#fff;color:#56718d;border-radius:999px;font-size:11px;padding:9px 12px;font-weight:800}
.cg-filters button.active{background:#1165bf;color:#fff;border-color:#1165bf}
.cg-emergency{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cg-emergency-call{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;padding:12px 6px;background:#fff0f0;color:#b32d43;border:1px solid #f1d2d7;border-radius:15px;text-decoration:none}
.cg-emergency-call strong{font-size:24px;font-weight:900}
.cg-emergency-call small{font-size:10px;font-weight:800}
.cg-inline-track{margin-top:12px}
@media(max-width:350px){.cg-body{padding-inline:12px}.cg-home-grid{gap:7px}.cg-home-grid .cg-tile b{font-size:10px}.cg-home-grid .cg-tile small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.cg-row,.cg-tile{transition:none}}
