/*
  Theme Name: Divi Child Theme
  Theme URI: https://myhappyhome.fr/
  Version: 1.0.0
  Template: Divi
  Author: Myhappyhome
  Author URI: https://myhappyhome.fr/
  Text Domain: divi-child-theme
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


.custom-post-list  {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.custom-post-list .custom-post-item img {
  border-radius: 7px 7px 7px 7px;
  overflow: hidden;
  border-bottom-width: 5px;
  border-bottom-color: #f18c30;
  border-bottom-style: solid;
  height: 320px;
  object-fit: cover;
}

.custom-post-list .custom-post-item  .custom-post-title {
    background-color: rgba(232, 232, 232, 0.49);
    padding-top: 16px !important;
    margin-top: -13px !important;
    box-shadow: 5px 5px 0px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
        padding-left: 15px;
    padding-right: 15px;
}

.custom-post-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.custom-post-pagination .page-numbers {
    font-size: 18px;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
  .custom-post-list  {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px 80px;
  }

  .custom-post-pagination .page-numbers {
    font-size: 16px;
    font-weight: bold;
  }

  .custom-post-list .custom-post-item img {
    height: auto !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .logo_container #logo {
        max-height: 40%;
    }
}