/**
* 2007-2023 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2023 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.grid-lastposts{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  gap: max(3%, 1rem);
  margin-top: 3rem;
}

.grid-lastposts .post-img img{
  max-width: 100%;
}

.grid-lastposts .post-date {
    color: #64C7C3;
    font-size: 12px;
    letter-spacing: 1.3px;
    padding-top: 10px;
}

.grid-lastposts .post-date svg {
    width: 14px;
}

.grid-lastposts h3 {
    font-size: 19px;
    line-height: 23px;
    font-weight: bold;
    padding: 18px 0;
}

.grid-lastposts .post-content p {
    font-size: 14px;
    line-height: 20px;
}

.grid-lastposts .post-content .btn-primary{
  float: left;
}

@media (max-width:767px) {
  .grid-lastposts {
    grid-template-columns: 2fr 2fr;
    gap: 8px;
  }
  /* .grid-lastposts {
    background: #F3F3F4;
    padding: 2rem 1rem;
  } */
}

@media (max-width:575px) {
  .grid-lastposts {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .grid-lastposts .grid-content {
    margin-bottom: 50px;
  }
}