/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/
.lg-sub-html p {
max-width: 800px;
margin: auto;
font-size: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
padding-bottom:20px;
}

.lg-sub-html h6:not([class*="fontsize-"]) {
font-size: clamp(1.125rem, 1rem + 0.4vw, 1.35rem);
padding-bottom:20px;
font-weight:400;
}

.rss_header {
	display: none !important;
}

.feedzy-rss-1 ul {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 36px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden !important;
}

/* cada item */
.feedzy-rss-1 ul > li.rss_item {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
	background-color:#F6F9FD;
  border-radius: 15px !important;
}

/* imatge */
.feedzy-rss-1 .rss_image {
  width: 100% !important;
  height: auto !important;
  margin-bottom: 10px !important;
  border-radius: 15px 15px 0 0 !important;
  margin-top: 0 !important;
  position: relative;
  overflow: hidden !important;
}

.feedzy-rss-1 .rss_image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
}

.feedzy-rss-1 .rss_image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); /* transparent inicial */
  transition: background 0.3s ease;
  pointer-events: none;
}

.feedzy-rss-1 .rss_item:hover .rss_image::after {
  background: rgba(0, 0, 0, 0.1); /* opacitat al hover */
}

/* títol */
.feedzy-rss-1 .title {
  display: block !important;
  font-weight: 600 !important;
  margin-top: 5px !important;
	padding: 36px 36px 0 36px;
	font-weight: 400 !important;
	font-family: 'Space Grotesk';
	letter-spacing: -0.02em;
	font-size: clamp(1.5rem, 0.9rem + 1.2vw, 2.1rem);
	line-height: 1.2;
}

.feedzy-rss-1 .title a {
	color: #000000;
	display: -webkit-box !important;
  -webkit-line-clamp: 3; /* pots posar 2 o 3 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* text */
.feedzy-rss-1 .rss_content {
  margin-top: 5px !important;
	padding: 0 36px 36px 36px;
}

.feedzy-rss-1 .rss_image {
  width: 100% !important;
  height: 250px !important; /* pots ajustar aquí */
  overflow: hidden !important;
}

.feedzy-rss-1 .rss_image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.rss_content small {
	display: none !important;
}

/* responsive */
@media (max-width: 1024px) {
  .feedzy-rss-1 ul {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .feedzy-rss-1 ul {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
    .tmb .t-entry-title {
    min-height: 2.6em; 
    line-height: 1.3em;
    }
}