/* =========================
   ÚLTIMS PLENS MUNICIPALS
   ========================= */

.ultims-plens {
  margin: 40px 0;
}

.ultims-plens h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 10px;
  color: #222;
}

.ultims-plens h2::after {
  content: "";
  display: block;
  width: 45px;
  height: 2px;
  background: #c9003d;
  margin: 12px auto 0;
}

.ultims-plens > p:not(.plens-all) {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  max-width: 650px;
  margin: 18px auto 35px;
}

.plens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plen-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #eeeeee;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.plen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.plen-icon {
  font-size: 30px;
  margin-bottom: 15px;
}

.plen-date {
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.7;
}

.plen-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 20px;
}

.plen-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  box-sizing: border-box;

  padding: 11px 16px;

  background: transparent;
  color: #c9003d !important;

  border: 1px solid #c9003d;
  border-radius: 5px;

  font-size: 14px;
  font-weight: 600;
  text-align: center;

  text-decoration: none !important;

  transition: all 0.2s ease;
}

.plen-button:hover {
  background: #c9003d;
  color: #ffffff !important;
}

.plens-all {
  text-align: center;
  margin: 38px 0 0;
  padding-top: 28px;
  border-top: 1px solid #e6e6e6;
  color: #c9003d;
}

.plens-all a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 12px 22px;

  background: #c9003d;
  border: 1px solid #c9003d;
  border-radius: 5px;

  color: #fafafa;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;

  transition: all 0.2s ease;
}

.plens-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

/*.plens-all a:hover {
  background: #c9003d;
  color: #fff;
}
*/
.plens-all a:hover .plens-arrow {
  transform: translateX(4px);
}

/* Mòbil */

@media (max-width: 768px) {
  .plens-grid {
    grid-template-columns: 1fr;
  }

  .plen-card {
    padding: 20px;
  }
}
