body.view-category.layout-blog .dfm-news-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 0 40px;
}

body.view-category.layout-blog .dfm-news-page-header {
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 2px solid #1f243c;
}

body.view-category.layout-blog .dfm-news-page-header h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: #1f243c;
  text-transform: uppercase;
}

body.view-category.layout-blog .dfm-news-category-desc {
  margin-bottom: 30px;
  color: #666;
  line-height: 1.7;
}

body.view-category.layout-blog .dfm-news-feed {
  display: block;
}

body.view-category.layout-blog .dfm-news-card {
  margin: 0 0 28px;
}

body.view-category.layout-blog .dfm-news-card:last-child {
  margin-bottom: 0;
}

body.view-category.layout-blog .dfm-news-card-inner {
  display: block;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 36, 60, 0.08);
  transition: box-shadow 0.25s ease;
}

body.view-category.layout-blog .dfm-news-card-inner:hover {
  box-shadow: 0 12px 30px rgba(31, 36, 60, 0.12);
}

body.view-category.layout-blog .dfm-news-card-inner.has-image .dfm-news-card-image {
  display: block;
  width: 100%;
  max-width: 280px;
  float: left;
  margin-right: 24px;
}

body.view-category.layout-blog .dfm-news-card-image {
  display: block;
  overflow: hidden;
  background: #f3f3f3;
}

body.view-category.layout-blog .dfm-news-card-image img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

body.view-category.layout-blog .dfm-news-card-body {
  padding: 24px 28px;
  overflow: hidden;
}

body.view-category.layout-blog .dfm-news-card-meta {
  margin-bottom: 14px;
  font-size: 13px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.view-category.layout-blog .dfm-news-card-meta > span {
  display: inline-block;
  margin-right: 16px;
}

body.view-category.layout-blog .dfm-news-card-meta i {
  color: #1f243c;
  margin-right: 6px;
}

body.view-category.layout-blog .dfm-news-card-title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

body.view-category.layout-blog .dfm-news-card-title a {
  color: #1f243c;
  text-decoration: none;
}

body.view-category.layout-blog .dfm-news-card-title a:hover,
body.view-category.layout-blog .dfm-news-card-title a:focus {
  color: #3d4a7a;
}

body.view-category.layout-blog .dfm-news-card-excerpt {
  color: #555;
  line-height: 1.75;
  font-size: 15px;
}

body.view-category.layout-blog .dfm-news-card-excerpt p {
  margin: 0;
}

body.view-category.layout-blog .dfm-news-card-actions {
  margin-top: 20px;
}

body.view-category.layout-blog .dfm-news-card-readmore {
  display: inline-block;
  padding: 10px 18px;
  background: #1f243c;
  color: #fff !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body.view-category.layout-blog .dfm-news-card-readmore:hover,
body.view-category.layout-blog .dfm-news-card-readmore:focus {
  background: #3d4a7a;
  color: #fff !important;
}

body.view-category.layout-blog .dfm-news-empty,
body.view-category.layout-blog .dfm-news-more {
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 20px 24px;
}

body.view-category.layout-blog .dfm-news-pagination {
  margin-top: 35px;
  text-align: center;
}

/* Evita che gli stili del modulo footer interferiscano col contenuto news */
body.view-category.layout-blog #sp-main-body {
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
}

@media (max-width: 767px) {
  body.view-category.layout-blog .dfm-news-page-header h1 {
    font-size: 26px;
  }

  body.view-category.layout-blog .dfm-news-card-inner.has-image .dfm-news-card-image {
    float: none;
    max-width: none;
    margin: 0 0 16px;
  }

  body.view-category.layout-blog .dfm-news-card-body {
    padding: 20px;
  }

  body.view-category.layout-blog .dfm-news-card-title {
    font-size: 20px;
  }
}
