/*--------------------------------------------------------
GE 2026 homepage progress bar mock
---------------------------------------------------------*/

.ge-progress-card {
    position: relative;
    width: 100%;
    margin: 0 0 30px;
    padding: 22px 24px 20px;
    overflow: hidden;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    border-top-color: #CAD4E3;
    background: #fff;
    color: #4a4a4a;
    font-family: "Lato", Arial, Helvetica, sans-serif;
}

.ge-progress-card__top,
.ge-progress-card__footer,
.ge-progress-card__legend,
.ge-progress-card__state,
.ge-progress-card__seats,
.ge-progress-card__party,
.ge-progress-card__link {
    display: flex;
    align-items: center;
}

.ge-progress-card__top {
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.ge-progress-card__state {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 5px 10px;
    min-width: 0;
    line-height: 1.2;
}

.ge-progress-card__eyebrow {
    grid-column: 1 / -1;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.ge-progress-card__state-name {
    min-width: 0;
    color: #4a4a4a;
    font-size: 20px;
    font-weight: 900;
}

.ge-progress-card__flag {
    flex: 0 0 auto;
    width: 32px;
    height: 20px;
}

.ge-progress-card__flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ge-progress-card__seats {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 8px;
    color: #4a4a4a;
    line-height: 1;
    white-space: nowrap;
}

.ge-progress-card__seats strong {
    font-size: 30px;
    font-weight: 900;
}

.ge-progress-card__slash,
.ge-progress-card__total {
    font-size: 19px;
    font-weight: 900;
}

.ge-progress-card__label {
    grid-column: 1 / -1;
    margin-left: 0;
    font-size: 13px;
    font-weight: 400;
    text-align: right;
}

.ge-progress-card__bar {
    position: relative;
    display: flex;
    width: 100%;
    height: 31px;
    overflow: hidden;
    border-radius: 999px;
    background: #d5d5d5;
    box-shadow: inset -2px 2px 2px rgba(0, 0, 0, 0.12);
}

.ge-progress-card__segment {
    display: block;
    height: 100%;
}

.ge-progress-card__segment--ph,
.ge-progress-card__party-badge--ph {
    background: #E62600;
}

.ge-progress-card__segment--bn,
.ge-progress-card__party-badge--bn {
    background: #0067b8;
}

.ge-progress-card__segment--pn,
.ge-progress-card__party-badge--pn {
    background: #9544c8;
}

.ge-progress-card__segment--oth,
.ge-progress-card__party-badge--oth {
    background: #645665;
}

.ge-progress-card__segment--unofficial {
  background-size: 11px 11px;
  background-image: repeating-linear-gradient(
        135deg,
        rgba(255,255,255,0.50) 0,
        rgba(255,255,255,0.50) 2px,  
        transparent 2px,
        transparent 7.5px
    );
}

.ge-progress-card__counting {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 1px 2px rgb(0 0 0 / 32%);
    pointer-events: none;
}

.ge-progress-card__footer {
    justify-content: space-between;
    gap: 20px;
    margin-top: 17px;
}

.ge-progress-card__legend {
    flex-wrap: wrap;
    gap: 16px 28px;
}

.ge-progress-card__footer-actions {
    display: contents;
}

.ge-progress-card__footer-actions .ge-progress-card__link {
    margin-left: auto;
}

.ge-progress-card__party {
    gap: 6px;
}

.ge-progress-card__party--unofficial {
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 600;
}

.ge-progress-card__party-badge {
    min-width: 30px;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.ge-progress-card__party strong {
    color: #4a4a4a;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.ge-progress-card__unofficial-swatch {
    display: inline-block;
    width: 30px;
    height: 20px;
    background: repeating-linear-gradient(    135deg,    #8f8f8f 0,    #8f8f8f 2px,    transparent 3px,    transparent 6px  );
    border-radius: 4px;
}

.ge-progress-card__link {
    flex: 0 0 auto;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    color: #bb0000;
}

.ge-progress-card__link i {
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.ge-progress-card__link:hover,
.ge-progress-card__link:focus {
    color: ##5e5e5e;
    text-decoration: none;
}

@media only screen and (max-width: 991px) {
    .ge-progress-card {
        margin-bottom: 30px;
        padding: 28px 24px 22px;
        border-radius: 8px;
    }

    .ge-progress-card__top {
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .ge-progress-card {
        padding: 30px 24px 22px;
    }

    .ge-progress-card::before {
        height: 11px;
    }

    .ge-progress-card__top {
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 22px;
    }

    .ge-progress-card__state {
        font-size: 18px;
    }

    .ge-progress-card__seats strong {
        font-size: 30px;
    }

    .ge-progress-card__bar {
        height: 31px;
    }

    .ge-progress-card__footer {
        display: block;
        margin-top: 17px;
    }

    .ge-progress-card__legend {
        gap: 14px 20px;
    }

    .ge-progress-card__footer-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 16px;
        margin-left: 0;
    }

    .ge-progress-card__footer-actions .ge-progress-card__link {
        margin-left: 0;
    }

    .ge-progress-card__link {
        justify-content: flex-end;
        margin-top: 0;
    }
}

@media only screen and (max-width: 420px) {
    .ge-progress-card {
        padding-inline: 18px;
    }

    .ge-progress-card__top {
        gap: 10px;
    }

    .ge-progress-card__state {
        font-size: 16px;
    }

    .ge-progress-card__flag {
        width: 28px;
        height: 17px;
    }

    .ge-progress-card__seats {
        gap: 5px;
    }

    .ge-progress-card__seats strong {
        font-size: 27px;
    }

    .ge-progress-card__label {
        font-size: 14px;
    }
}

@media only screen and (max-width: 374px) {
    .ge-progress-card__legend {
        gap: 14px 18px;
    }
}
