/* Entity Basic Information — text-link reset (matches geography #reset-filters-btn) */
#eci-reset-columns-btn:hover,
.entity-filter-reset-btn:hover {
    color: #3293c5 !important;
    text-decoration: underline !important;
}
#eci-reset-columns-btn:focus,
.entity-filter-reset-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.entity-profile-filter-row .filter-container {
    margin-bottom: 0 !important;
}

/* Spotlight: collapsed list shows the top rows of each column; "See all" reveals the rest
   in place so the columns simply grow downward. */
.entity-spotlight-collapsible {
    display: flex;
    flex-direction: column;
}

.entity-spotlight-collapsible > .entity-spotlight-grid {
    order: 1;
}

.entity-spotlight-link--extra {
    display: none !important;
}

.entity-spotlight-toggle[open] ~ .entity-spotlight-grid .entity-spotlight-link--extra {
    display: block !important;
}

.entity-spotlight-collapsible > .entity-spotlight-toggle {
    order: 2;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: calc(54px * var(--geo-scale));
    /* Light veil over the last row hints that the list continues, without erasing it. */
    margin-top: calc(-22px * var(--geo-scale));
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.75) 40%,
        #fff 75%
    );
}

.entity-spotlight-collapsible > .entity-spotlight-toggle[open] {
    display: none;
}

.entity-spotlight-see-all {
    cursor: pointer;
    list-style: none;
    background-color: #fff;
    font-size: calc(14px * var(--geo-scale));
}

.entity-spotlight-see-all::-webkit-details-marker {
    display: none;
}
