/*
 Theme Name:   eqlscp
 Theme URI:    http://generatepress.com
 Description:  GeneratePress child theme
 Author:       Francesco Cipriani
 Author URI:   https://francescocipriani.com/
 Template:     generatepress
 Version:      0.1
 Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
*/


hr {
  border: 0;
  height: 4px;
  margin-bottom: 30px;
  margin-top: 30px;
  max-width: 100px;
}

body:not(.home) article:is(.category-news, .category-projects), body:not(.home) .page {
	max-width: 732px;
	margin-left: auto;
	margin-right: auto;
}

body.home h3 {
  border-top: 2px solid;
  padding: 10px 0 0 0;
}

@media (min-width: 1280px) {
	div.home-intro {
		margin-left: calc(50vw - 650px);
	}
}

.topics-grid > div > h4 {
  font-size: 1.2em;
  line-height: 1;
}

.topics-grid > div > img {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

div.members {
	margin:30px 0;
}

.lp-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
		margin: 2rem 0;
	}
	.lp-card {
	  display: flex;
	  flex-direction: column;
	  background: var(--base);
	  border: 3px solid var(--base);
	  border-radius: 14px;
	  overflow: hidden;
	}
	.lp-card__image-link {
		display: block;
		overflow: hidden;
	}
	.lp-card__image {
		width: 100%;
		height: 200px;
		object-fit: cover;
		display: block;
		transition: transform 0.3s ease;
	}
	.lp-card__image-link:hover .lp-card__image {
		transform: scale(1.03);
	}
	.lp-card__body {
		display: flex;
		flex-direction: column;
		flex: 1;
		padding: 1.25rem;
	}
	.lp-card__title {
	  font-size: 1.1rem;
	  margin: 0 0 0.75rem;
	  line-height: 1.4;
	  border-top: none !important;
	  padding: 0 !important;
	}
	.lp-card__title a {
		text-decoration: none;
		color: inherit;
	}
	.lp-card__title a:hover {
		color: var(--contrast-2, #555);
	}
	.lp-card__excerpt {
		font-size: 0.9rem;
		flex: 1;
		color: #555;
		margin-bottom: 1rem;
	}
	.lp-card__excerpt p {
		margin: 0;
	}
	.lp-card__readmore {
		display: inline-block;
		font-size: 0.875rem;
		font-weight: 600;
		text-decoration: none;
		color: var(--contrast, #333);
		border-bottom: 2px solid currentColor;
		padding-bottom: 2px;
		align-self: flex-start;
		transition: opacity 0.2s;
	}
	.lp-card__readmore:hover {
		opacity: 0.7;
	}

	/* Responsive: 2 colonne su tablet, 1 su mobile */
	@media (max-width: 768px) {
		.lp-grid {
			grid-template-columns: repeat(2, 1fr);
		}
	}
	@media (max-width: 480px) {
		.lp-grid {
			grid-template-columns: 1fr;
		}
	}