/*
Theme Name:  Novelli Group
Template:    hello-elementor
Description: Child theme istituzionale di Novelli Holding Investment Group.
Version:     1.0
Author:      Marketing Movers
*/

/* ── News grid (archive.php) ─────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--paper, #fbf8ef);
  border: 1px solid rgba(17,21,18,.1);
  overflow: hidden;
}

.news-card-thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.04);
}

.news-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.news-card-date {
  font-family: 'Azeret Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(17,21,18,.5);
}

.news-card-cat {
  font-family: 'Azeret Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brass-2, #d0b174);
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.news-card-title a {
  color: inherit;
  text-decoration: none;
}

.news-card-title a:hover {
  color: var(--brass-2, #d0b174);
}

.news-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(17,21,18,.7);
  margin: 0;
  flex: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Azeret Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink, #111512);
  text-decoration: none;
  margin-top: 8px;
}

.news-card-link:hover {
  color: var(--brass-2, #d0b174);
}

.news-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.news-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.news-pagination .page-numbers {
  font-family: 'Azeret Mono', monospace;
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid rgba(17,21,18,.2);
  color: var(--ink, #111512);
  text-decoration: none;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  background: var(--ink, #111512);
  color: var(--paper, #fbf8ef);
}

/* ── Single post (single.php) ────────────────────────────────────────────── */
.single-post-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  margin: 2em 0 .6em;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
}

.single-post-content p {
  margin: 0 0 1.4em;
}

.single-post-content a {
  color: var(--ink, #111512);
  text-decoration: underline;
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 1.5em;
  margin: 0 0 1.4em;
}

.single-post-content li {
  margin-bottom: .5em;
}

.single-post-content blockquote {
  border-left: 3px solid var(--brass-2, #d0b174);
  padding-left: 24px;
  margin: 2em 0;
  font-style: italic;
  color: rgba(17,21,18,.7);
}

.single-post-content figure {
  margin: 2em 0;
}

.single-post-content figure img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post-content figcaption {
  font-size: 13px;
  color: rgba(17,21,18,.5);
  margin-top: 8px;
  font-family: 'Azeret Mono', monospace;
}

/* ── Team card foto ridotta ──────────────────────────────────────────────── */
.team-card .team-photo {
  aspect-ratio: 4 / 3 !important;
  max-height: 220px !important;
}

/* ── Team grid 3 colonne ─────────────────────────────────────────────────── */
.team-grid.team-grid-3 {
  grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 768px) {
  .team-grid.team-grid-3 {
    grid-template-columns: 1fr !important;
  }
}

