.locations-structured {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
}

.location-block {
    position: relative;
    background-color: #f3f3f3;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding: 10px;
    border-radius: 8px;
}

.location-expand-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #f0b429;
    background: white;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.location-expand-btn::before,
.location-expand-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #a07000;
    border-radius: 1px;
    transition: transform 0.25s ease;
}

/* Horizontal bar */
.location-expand-btn::before {
    width: 10px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}

/* Vertical bar */
.location-expand-btn::after {
    width: 1.5px;
    height: 10px;
    transform: translate(-50%, -50%);
}

.location-expand-btn:hover,
.location-expand-btn:focus {
    background: #fff8e1;
}

/* Open state: rotate both bars to form × */
.location-expand-btn.is-open::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.location-expand-btn.is-open::after {
    transform: translate(-50%, -50%) rotate(45deg);
}

.location-row {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    margin-bottom: 5px;
}

.location-row:last-child {
    margin-bottom: 0;
}

/* Final location level (city) */
.location-final {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* Separator between multiple cities */
.location-separator {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 12px 0;
}

/* GPS Styling */
.location-gps {
    font-size: 0.9em;
    color: #555;
    margin-top: 4px;
}

.gps-altitude {
    color: #666;
    font-size: 0.95em;
}

/* Primary location highlight */
.location-block.is-primary {
    /* background-color: #fff8e1; */
    border: 1px solid #f0b429;
}

/* location not primary highlight */
.location-block:not(.is-primary) {
    max-width: 300px;
}

.location-primary-badge {
    font-size: 0.78em;
    font-weight: 600;
    color: #a07000;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Contact info inside primary location block */
.location-contact-separator {
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    margin: 12px 0;
}

.location-contact-section {
    margin-bottom: 8px;
}

.location-contact-section:last-child {
    margin-bottom: 0;
}

.location-contact-section a {
    color: #0066cc;
    text-decoration: none;
}

.location-contact-section a:hover {
    text-decoration: underline;
}

.location-row--social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.location-social-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.location-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    line-height: 0;
}

.location-social-icons a:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

/* Map Link */
.location-map {
    margin-top: 6px;
}

.gps-map-link {
    display: inline-block;
    padding: 4px 12px;
    background: #2271b1;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.85em;
    transition: background 0.2s;
}

.gps-map-link:hover {
    background: #135e96;
    color: white;
    text-decoration: none;
}