/**
* 2007-2025 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-2025 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.
*/

.eco-wp-wrapper{
  margin: 40px auto 0;
  padding: 30px 15px;
  box-sizing: border-box;
    background: #ffffff;
}

.eco-wp-header{
  text-align: center;
  margin-bottom: 20px;
}
.eco-wp-title{
    color: var(--color3);
}
.h2{
  font-size: 28px;
  font-weight: bold;
}
.eco-wp-subtitle{
  color:#666;
  margin:0;
  font-size:14px;
}

.eco-wp-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eco-wp-card{
  background:#fff;
  border-radius:12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(20,20,30,0.08);
  display:flex;
  flex-direction:column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.eco-wp-card .eco-wp-title{
    font-weight: bold;
}
.eco-wp-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(20,20,30,0.12);
}

.eco-wp-image{
  width:100%;
  margin:0;
  display:block;
}
.eco-wp-image img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
  /*aspect-ratio: 16/7;*/
}
.eco-wp-image--placeholder img{ background: linear-gradient(135deg,#f2f2f5,#e9eef7); }

.eco-wp-body{
  padding: 18px;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
}
.eco-wp-title{
  font-size:18px;
  margin:0 0 10px;
  line-height:1.2;
}
.eco-wp-title a{ color:#222; text-decoration:none }
.eco-wp-title a:hover{ color:#6b2b72 }

.eco-wp-description{
  color:#333;
  font-size:15px;
  margin:6px 0 10px;
}

.eco-wp-excerpt{
  color:#555;
  font-size:14px;
  margin:0 0 12px;
  flex:1 1 auto;
}

.btn-eco-wp{
  display:inline-block;
  background:transparent;
  color:#6b2b72;
  border-bottom:2px solid transparent;
  text-decoration:none;
  font-weight:600;
}
.btn-eco-wp:hover{ color:#4b1a55 }

.eco-wp-readmore{ margin-top:12px }

.eco-wp-image-container{
  position:relative;
}
.eco-wp-category{
  position:absolute;
  top:10px;
  right:10px;
  background: rgba(255,255,255,0.95);
  color:#333;
  font-size:12px;
  padding:6px 10px;
  border-radius:14px;
  box-shadow: 0 2px 8px rgba(20,20,30,0.08);
  z-index:5;
}

@media (max-width: 1024px){
  .eco-wp-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .eco-wp-grid{
      grid-template-columns: 1fr;
  }
  .eco-wp-wrapper{
      padding: 10px;
  }
  .eco-wp-header .h2{
      display: block;
      font-size: 25px;
  }
}
