.ip-header {
  margin-top: 70px;
  padding: 3rem 0 2.5rem;
  color: #fff;
}

.ip-header h1 {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.ip-featured {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ip-featured-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s;
}

.ip-featured-card:hover {
  transform: translateY(-4px);
}

.ip-featured-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ip-featured-card h2 {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 600;
}

.ip-list-section {
  padding: 3rem 0 4rem;
}

.ip-list-section .news-layout {
  align-items: start;
}

.ip-search {
  margin-bottom: 1.5rem;
}

.ip-search form {
  display: flex;
  gap: 0.5rem;
}

.ip-search input[type='search'] {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.ip-search button {
  padding: 0.65rem 1rem;
  background: var(--color-primary, #d71920);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.ip-article-row {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}

.ip-article-row__img {
  flex: 0 0 300px;
}

.ip-article-row__img img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ip-article-row h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.ip-article-row h2 a {
  color: inherit;
  text-decoration: none;
}

.ip-article-row h2 a:hover {
  color: var(--color-primary, #d71920);
}

.ip-article-row__meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.ip-article-row__excerpt {
  line-height: 1.85;
  color: #444;
}

.ip-comments {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.ip-comments h3 {
  margin: 0 0 1rem;
}

.ip-comment {
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.ip-comment__author {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.ip-comment__date {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.ip-comment-form {
  margin-top: 1.5rem;
}

.ip-comment-form .form-group {
  margin-bottom: 0.75rem;
}

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

@media (max-width: 768px) {
  .ip-featured {
    grid-template-columns: 1fr;
  }

  .ip-article-row {
    flex-direction: column;
  }

  .ip-article-row__img {
    flex: none;
  }
}
