/* News Section */
.p-news {
  padding: 120px 0 80px;
  display: flex;
  justify-content: center;
}

.p-news__inner {
  max-width: 880px;
}

.p-news__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Section Title - Using c-section-heading component */

/* News Items */
.p-news__items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.p-news__item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.p-news__item-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  width: 100%;
}

.p-news__date {
  color: var(--genki-brown);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

.p-news__item-tags {
  min-width: 130px;
}

/* Tags - Using c-tag component */

.p-news__item-title {
  color: var(--genki-brown);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  margin: 0;
  flex: 1;
  transition: all 0.3s ease;
}

.p-news__item-title:hover {
  opacity: 0.6;
}


.p-news__divider {
  width: 100%;
  height: 1px;
  background: #E3DAD1;
}

/* More Button */
.p-news__more {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Button - Using c-button component */
@media (max-width: 767px) {
  .p-news {
    padding: 40px 0 40px;
  }
  .p-news__date {
    font-size: var(--font-size-xs);
  }
  .p-news__item-title {
    font-size: var(--font-size-body);
  }

  .p-news__item-header {
    display: grid;
    grid-template-columns: auto 1fr;
  }
  .p-news__item-title {
    grid-column: span 2;
    grid-row: 2 / 3;
  }
}
