/*
Theme Name: Aplitec Child
Theme URI: https://aplitecinformatica.com/
Template: hello-elementor
Author: Aplitec Informàtica SL
Author URI: https://aplitecinformatica.com/
Description: hehe
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.9.1779896994
Updated: 2026-05-27 17:49:54
*/

/* =============================================
   GLOBAL — cap botó amb underline
   ============================================= */

a, button, a:hover, a:focus, a:visited {
  text-decoration: none !important;
}

/* =============================================
   HFE BASIC POSTS — Irene Llusent
   ============================================= */

.hfe-posts-grid {
  gap: 0 !important;
}

.hfe-post-card {
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer;
  box-sizing: border-box;
}

.hfe-post-card + .hfe-post-card {
  margin-left: 4px;
}

.hfe-post-image {
  display: block;
  width: 100%;
  overflow: hidden;
}

.hfe-post-image a {
  display: block;
  width: 100%;
}

.hfe-post-image img {
  width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s ease;
}

.hfe-post-card:hover .hfe-post-image img {
  transform: scale(1.04);
}

.hfe-post-image::after {
  display: none !important;
}

.hfe-post-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.2) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hfe-post-card .il-categoria {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 3;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}

.hfe-post-content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  z-index: 2;
}

.hfe-post-content-inner {
  display: flex;
  align-items: flex-end;
  width: 100%;
}

.hfe-post-content-text {
  flex: 0 0 70%;
  padding: 20px 20px 24px 24px;
}

.hfe-post-content-btn {
  flex: 0 0 30%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 0 20px 0;
}

.hfe-post-title {
  margin: 0 !important;
  padding: 0 !important;
}

.hfe-post-title a {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(15px, 1.6vw, 22px) !important;
  font-weight: 400 !important;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1.25 !important;
}

.il-fletxa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none !important;
  transition: background 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
  margin-right: 20px;
}

.il-fletxa-btn svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}

.hfe-post-card:hover .il-fletxa-btn {
  background: #8FAD6E;
  border-color: #8FAD6E;
}

.hfe-read-more {
  display: none !important;
}

/* =============================================
   IL-BTN — classe global reutilitzable
   ============================================= */

.il-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 24px;
  border: 1.5px solid #8FAD6E;
  border-radius: 0 !important;
  background: transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #8FAD6E !important;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.il-btn svg {
  width: 16px;
  height: 16px;
  stroke: #8FAD6E;
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.25s ease;
  flex-shrink: 0;
}

.il-btn:hover {
  background: #8FAD6E;
  color: #fff !important;
  text-decoration: none !important;
}

.il-btn:hover svg {
  stroke: #fff;
}

/* =============================================
   NAVEGACIÓ
   ============================================= */

.il-nav-posts {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0 4px;
}

.il-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid #8FAD6E;
  border-radius: 0 !important;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease;
  flex-shrink: 0;
  padding: 0;
}

.il-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: #8FAD6E;
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.25s ease;
}

.il-nav-btn:hover {
  background: #8FAD6E;
}

.il-nav-btn:hover svg {
  stroke: #fff;
}

.il-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
  background: transparent !important;
}

.il-nav-btn:disabled svg {
  stroke: #8FAD6E !important;
}

.il-nav-all {
  margin-left: 4px;
}

.il-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

/* =============================================
   MÈRITS GRID
   ============================================= */

.merits-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.merit-item {
  display: grid;
  grid-template-columns: 1fr 500px 80px auto;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #d4c9b0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.merit-item:first-child {
  border-top: 1px solid #d4c9b0;
}

.merit-titol {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px !important;
  color: #1a1a1a;
  line-height: 1.4;
  max-width: 600px;
}


.merit-cat {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px !important;
  color: #9a8e78;
  white-space: nowrap;
  text-align: center;
}

.merit-any {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px !important;
  color: #767676;
  white-space: nowrap;
  text-align: center;
}

.merit-btn,
.merit-btn:visited {
  font-family: 'Manrope', sans-serif;
  font-size: 14px !important;
  font-weight: 500;
  color: #8FAD6E !important;
  border: 1.5px solid #8FAD6E !important;
  padding: 0 16px;
  height: 40px;
  text-decoration: none !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.merit-btn svg {
  width: 13px;
  height: 13px;
  stroke: #8FAD6E;
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.25s ease;
  flex-shrink: 0;
}

.merit-btn:hover,
.merit-item:hover .merit-btn {
  background: #8FAD6E !important;
  color: #fff !important;
}

.merit-btn:hover svg,
.merit-item:hover .merit-btn svg {
  stroke: #fff;
}

/* BOTÓ TOTS ELS MÈRITS */
.merits-boto-tots {
  margin-top: 32px;
  display: flex;
  justify-content: flex-start;
}

.merits-boto-tots a.il-btn {
  background: #8FAD6E !important;
  color: #fff !important;
  border: 1.5px solid #8FAD6E !important;
  text-decoration: none !important;
}

.merits-boto-tots a.il-btn svg {
  stroke: #fff !important;
}

.merits-boto-tots a.il-btn:hover {
  background: transparent !important;
  color: #8FAD6E !important;
}

.merits-boto-tots a.il-btn:hover svg {
  stroke: #8FAD6E !important;
}

.single-merit .site-main {
  padding-top: 120px;
  padding-bottom: 80px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .merit-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .merit-btn {
    width: fit-content;
  }
}