/* Upcoming race cards - uses current Cronometro Gara palette */
.cg-portal #gare .cgh-race-card {overflow:hidden;display:flex;flex-direction:column;border-radius:18px;background:#fff;border:1px solid #D8E5EF;box-shadow:0 8px 25px rgba(16,42,67,.06)}
.cg-portal #gare .cgh-race-image {position:relative;height:210px;width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(128deg,#102A43,#168BDB);text-decoration:none}
.cg-portal #gare .cgh-poster {width:100%;height:100%;object-fit:contain;object-position:center;display:block;background:#F3F8FC}
.cg-portal #gare .cgh-fallback {font-size:.95rem;color:white;font-weight:900;letter-spacing:.13em;text-align:center;padding:16px}
.cg-portal #gare .cgh-race-body {padding:19px 21px 22px;display:flex;flex-direction:column;flex:1;gap:9px}
.cg-portal #gare .cgh-race-date {color:#168BDB;font-weight:900;font-size:.9rem}
.cg-portal #gare .cgh-race-body h3 {margin:0;font-size:1.22rem;line-height:1.28;color:#102A43}
.cg-portal #gare .cgh-race-body h3 a {color:inherit;text-decoration:none}
.cg-portal #gare .cgh-race-place {font-size:.91rem;color:#587188;margin:0 0 9px;line-height:1.4}
.cg-portal #gare .cgh-race-actions {display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-top:auto}
.cg-portal #gare .cgh-icron-action {border-radius:9px;background:#168BDB;color:white;text-decoration:none;padding:9px 11px;font-size:.8rem;font-weight:800}
.cg-portal #gare .cgh-icron-action:hover {background:#0D70B6;color:white}
@media(max-width:750px){.cg-portal #gare .cgh-race-image{height:210px}}
/* Automatic lifecycle: matching Cronometro Gara 2026 blue and white style */
.cgh-race-hidden{display:none!important}
.cgh-live-result .cgh-race-image{min-height:170px;max-height:220px;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#102A43,#168BDB)}
.cgh-live-result .cgh-poster{max-height:220px;object-fit:contain}
.cgh-live-result .cgh-fallback{color:white;font-size:1.35rem;letter-spacing:.18em}
.cgh-fresh-results{margin:0 0 28px}.cgh-fresh-results h2{color:#102A43}
.cgh-fresh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.cgh-fresh-card{background:#fff;border:1px solid #d8e5ef;border-radius:14px;padding:20px;color:#102A43}
.cgh-fresh-card h3{margin:10px 0}.cgh-fresh-card time{color:#168BDB;font-weight:800;font-size:.86rem}
.cgh-archive-link{display:inline-block;margin-top:12px;background:#168BDB;border-radius:10px;padding:10px;color:#fff;text-decoration:none;font-weight:800}
.cgh-archive-link:hover{background:#0d70b6;color:#fff}
.cgh-calendar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cgh-calendar-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #d8e5ef;border-radius:15px;background:white}
.cgh-calendar-card .cgh-race-body{padding:20px;flex:1}.cgh-calendar-card .cgh-race-image{height:190px;background:#102A43;display:flex;align-items:center;justify-content:center}
.cgh-calendar-card .cgh-race-image img{width:100%;height:100%;object-fit:contain}
.cgh-calendar-meta{font-weight:850;color:#168bdb}
@media(max-width:900px){.cgh-fresh-grid,.cgh-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.cgh-fresh-grid,.cgh-calendar-grid{grid-template-columns:1fr}}
