/**
 * GFA pSEO — location list styles for [gfa_pseo_locations] and [gfa_pseo_nearby].
 */

.gfa-pseo-locations {
    display: grid;
    gap: 1.5rem;
}

.gfa-pseo-cols-1 { grid-template-columns: 1fr; }
.gfa-pseo-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gfa-pseo-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gfa-pseo-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gfa-pseo-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gfa-pseo-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1024px) {
    .gfa-pseo-cols-4,
    .gfa-pseo-cols-5,
    .gfa-pseo-cols-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gfa-pseo-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .gfa-pseo-locations {
        grid-template-columns: 1fr;
    }
}

.gfa-pseo-locations .gfa-pseo-col {
    min-width: 0;
}

.gfa-pseo-locations ul {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.gfa-pseo-locations li {
    margin: 0.25em 0;
    line-height: 1.4;
}

.gfa-pseo-locations h3 {
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.gfa-pseo-locations h3:not(:first-child) {
    margin-top: 1.25rem;
}

.gfa-pseo-locations a {
    text-decoration: none;
}

.gfa-pseo-locations a:hover {
    text-decoration: underline;
}

.gfa-pseo-locations-title {
    margin-bottom: 1rem;
}
