/* eMilitaryCoins 0.4.18: Showcase-specific final cascade after all site themes. */
.emc-route-showcase .emc-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:18px}
.emc-route-showcase .emc-gallery-card{display:flex;flex-direction:column;min-width:0;min-height:100%;overflow:hidden;text-align:left;border-radius:12px;background:#14243b!important;border:1px solid #435675!important}
.emc-route-showcase .emc-gallery-card-img.emc-gallery-card-faces{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);aspect-ratio:2/1;height:auto;gap:3px;background:#e6e7e6!important;overflow:hidden}
.emc-route-showcase .emc-gallery-card-img.emc-gallery-single-face{display:flex;justify-content:center;align-items:center;background:#e6e7e6!important}
.emc-route-showcase .emc-gallery-single-face .emc-gallery-photo-slot{width:50%;max-width:50%;flex:0 0 50%}
.emc-route-showcase .emc-gallery-photo-slot{min-width:0;min-height:0;position:relative;height:100%;aspect-ratio:auto;display:grid;place-items:center;overflow:hidden;background:#eaebea}
.emc-route-showcase .emc-gallery-photo-slot img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;margin:0}
.emc-route-showcase .emc-gallery-photo-slot .emc-gallery-face-label{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);font-size:9px;line-height:1.2;letter-spacing:.085em;background:#14263de3;color:#f4f6fa!important;border-radius:4px;padding:4px 8px;z-index:1}
.emc-route-showcase .emc-gallery-card-caption{padding:15px 16px 16px;background:#14243b!important;display:flex;flex-direction:column;gap:8px;min-width:0;flex:1}
.emc-route-showcase .emc-gallery-card-title{display:block;font-size:13.5px;font-weight:820;line-height:1.43;letter-spacing:0;color:#f4f7fc!important;overflow-wrap:anywhere;white-space:normal;text-transform:uppercase}
.emc-route-showcase .emc-gallery-card-details{display:block;font-size:11px;line-height:1.55;color:#d4dfeb!important;overflow-wrap:anywhere;font-weight:450}
.emc-route-showcase .emc-gallery-card-specs{display:block;font-size:9.7px;line-height:1.55;font-weight:780;letter-spacing:.03em;color:#ead0a7!important;overflow-wrap:anywhere}
.emc-route-showcase .emc-gallery-card-source{display:block!important;font-size:9.2px!important;line-height:1.4!important;color:#9bafc6!important;font-weight:520!important;overflow-wrap:anywhere!important}
.emc-route-showcase .emc-gallery-card-date{display:block;margin-top:auto;padding-top:3px;font-size:9.5px;line-height:1.5;color:#b6c7d9!important}
.emc-route-showcase .emc-gallery-card[hidden]{display:none!important}
@media(max-width:930px){.emc-route-showcase .emc-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}}
@media(max-width:620px){.emc-route-showcase .emc-gallery-grid{grid-template-columns:1fr;gap:16px}.emc-route-showcase .emc-gallery-card-caption{padding:14px 16px 15px;min-height:0}.emc-route-showcase .emc-gallery-card-title{font-size:14px}.emc-route-showcase .emc-gallery-card-details{font-size:11.5px}}
/* Override legacy ellipsis rules so full names and design notes stay visible. */
.emc-route-showcase .emc-gallery-card-caption .emc-gallery-card-details,
.emc-route-showcase .emc-gallery-card-caption .emc-gallery-card-specs,
.emc-route-showcase .emc-gallery-card-caption .emc-gallery-card-source,
.emc-route-showcase .emc-gallery-card-caption .emc-gallery-card-date{
  display:block!important;white-space:normal!important;overflow:visible!important;
  text-overflow:clip!important;max-width:100%!important;overflow-wrap:anywhere!important;
}
