.map-author-box {
    background: #f9f9f9;
    border-left: 5px solid #0073aa; /* Cor padrão WP */
    padding: 20px;
    margin-top: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-radius: 4px;
}

.map-avatar img {
    border-radius: 50%;
    display: block;
}

.map-content .map-label {
    font-size: 0.85em;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 1px;
}

.map-content h4 {
    margin: 5px 0 10px 0;
    font-size: 1.2em;
}

/* Dark Mode Suporte (Moderno) */
@media (prefers-color-scheme: dark) {
    .map-author-box {
        background: #222;
        color: #fff;
    }
    .map-content h4 a {
        color: #fff;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .map-author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Estado recolhido */
.map-bio.map-collapsed {
    max-height: 100px; /* Altura máxima inicial */
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease-in-out;
}

/* Efeito de "fade" no texto cortado */
.map-bio.map-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(transparent, #f9f9f9); /* Mesma cor do fundo da box */
}

/* Ajuste para Dark Mode */
@media (prefers-color-scheme: dark) {
    .map-bio.map-collapsed::after {
        background: linear-gradient(transparent, #222);
    }
}

/* Estilo do botão */
.map-toggle-btn {
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    font-size: 0.9em;
    padding: 5px 0;
    font-weight: 600;
    text-decoration: underline;
}

.map-toggle-btn:hover {
    color: #005177;
}