@charset "UTF-8";
/* CSS Document */

/* --- Entity Grid Structure Styles --- */

.wg-entity-details-grid {
}

.wg-entity-details-grid .wg-grid-row-2 {
    /* Define 3 equal columns for the address, contact, and map cells */
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 3fr;
    gap: 20px;
}


/* --- Google Map Styles --- */

.wg-grid-cell-map {
    /* Ensure the cell is a flexible container */
    display: flex; 
    flex-direction: column;
    min-height: 250px; /* Minimum height for the map to be useful */
}

.wg-map-container {
    flex-grow: 1; /* Allows the container to fill the cell's height */
    position: relative;
    overflow: hidden;
    height: 100%; 
    min-height: 250px; 
}

.wg-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px; 
}


/* --- Footer/Suggestion Link Styles --- */

.suggest-change-container {
    width: 100%;
    
    display: flex;
    justify-content: space-between;
    align-items: baseline; 

    margin-top: 10px; 
    margin-bottom: 30px; 
}

.last-updated-text {
    font-size: 0.8em; 
    color: #666;
    white-space: nowrap; 
}

.suggest-change-link {
    font-size: 0.8em;
    color: #666; 
    text-decoration: underline; 
    transition: color 0.2s;
}

.suggest-change-link:hover {
    color: #000;
}


/* --- Frequent Updates Notice Styles (NEW) --- */

.wg-frequent-updates-notice {
    background-color: var(--wg-light-gray);
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;    
    font-size: 80%; 
}

.wg-frequent-updates-notice p {
    margin: 0;
    padding: 0;
}


/* --- Responsive Adjustments --- */

@media (max-width: 768px) {
    
    .wg-entity-details-grid .wg-grid-row-2 {
        grid-template-columns: 1fr; 
    }
    
    .suggest-change-container {
        flex-direction: column;
        align-items: center; 
        gap: 5px; 
    }
    
    .last-updated-text {
        text-align: center;
    }
}
