Is there a way to see all the available variables inside content? I am using Drupal 9 with twig files
I have a page where in one section I need to show thumbnails of the latest posts. So I created a new view as a block, and placed this block under Content in admin/structure/block/list/
When I inspect with debug on I get these file suggestions -
 FILE NAME SUGGESTIONS:
   * block--views-block--latest-news-block-1.html.twig
   * block--views-block--latest-news-block-1.html.twig
   * block--views-block.html.twig
   * block--views.html.twig
   x block.html.twig

So I created a file name block--views-block--latest-news-block-1.html.twig with the code from block.html.twig.
Inside that file I have -
    {% block content %}
      {{ content }}
    {% endblock %}

Which shows all the content in the block. I need to customize the content in the block though, some things need to be removed, I need to truncate the article text, need to add buttons.
I think I'd be able to do what I want if I could target specific parts of the content. I want to do something like this -
&lt;div class=&quot;card&quot;&gt;
     &lt;h2&gt;{{ content.title }}&lt;/h2&gt;
     &lt;p&gt;{{ content.body }}&lt;/p&gt;
&lt;/div&gt;

Is there a way to target specific parts of the content like that?
Normally it works that way but Views templates may be different.

Enable Twig debugging.
Add Devel and Kint: composer require drupal/devel kint-php/kint
Enable Devel: drush -y en devel
Inside the template put {{ kint(content) }}, flush caches, visit the page and you should see what else can be found inside content.