/* header  */
#news-header {
  padding: 60px 0 30px;
}

.news-header-title {
  color: var(--pmk-blue-dark);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.news-header-text {
  color: var(--pmk-dark);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  max-width: 720px;
  margin: 4px auto 0;
}

.category-name {
  color: var(--pmk-blue-dark);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 48px 0 18px;
}

.no-item {
  color: #1f2933a1;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 500;
}

#recent-activity-container {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  transition: all 1.2s ease;
}

#recent-activity-container.section-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

.activity-card {
  padding: 20px;
  border-radius: 8px;
  background-color: var(--pmk-white);

  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.06);

  transition: all 0.3s ease;
}

.activity-card:hover {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.12);
}

.news-feature-image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.news-feature-image-linked {
  display: block;
  width: 100%;
  height: 200px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 6px;
}

.news-feature-image-linked img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
}

.news-feature-image-linked video {
  width: 100%;
  height: 100%;
}

.news-posted-date {
  display: inline-block;

  color: grey;
  font-size: 0.75rem;
  font-weight: 400;
}

.news-title {
  color: var(--pmk-blue-dark);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 16px;
  transition: color 0.3s ease;
}

.news-title:hover {
  color: var(--pmk-green-dark);
}

.news-title .linked-title {
  color: inherit;
}

.news-body {
  font-size: 0.95rem;
  margin-top: 8px;
  font-weight: 500;
  line-height: 1.4;
}

.news-link {
  color: var(--pmk-green-dark-sublet);
  display: inline-flex;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 5px;

  position: relative;
  transition: all 0.5s ease;
}

.news-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;

  height: 2px;
  width: 0;
  background-color: var(--pmk-green-dark-sublet);

  transition: all 0.5s ease;
}

.news-link:hover {
  color: var(--pmk-green-dark);
}

.news-link:hover::after {
  width: 100%;
}

/* responsive styles:: small devices  */
@media (max-width: 767.98px) {
  #recent-activity-container {
    grid-template-columns: 1fr;
  }
}

/* responsive styles:: medium devices  */
@media (min-width: 768px) and (max-width: 991.98px) {
  #recent-activity-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* responsive styles:: large devices  */
@media (min-width: 992px) and (max-width: 1199.98px) {
}

/* responsive styles:: extra large devices  */
@media (min-width: 1200px) and (max-width: 1399.98px) {
}

/* responsive styles:: extra extra large devices  */
@media (min-width: 1400px) {
}
