.sec-container {
  text-align: left;
}

.news-content-box {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  margin-bottom: 40px;
  border-radius: 5px;
}

.news-content-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  padding-bottom: 10px;
}

.news-list {
  text-align: left;
  margin-bottom: 40px;
}

.news-list-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease;
}

.news-list-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.news-list-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.news-item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 20px;
  text-decoration: none;
  color: #fff;
}

.news-cell-date {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 6px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  min-width: 160px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.news-cell-content {
  max-width: 640px;
}

.news-item-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.news-item-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.news-detail-container {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 5px;
  
  color: #fff;
}

.news-detail-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 20px;
}

.news-detail-date {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.news-detail-title {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
}

.news-detail-content {
  line-height: 1.8;
  margin-bottom: 40px;
}

.news-detail-text {
  margin-bottom: 10px;
}

.news-detail-subtitle {
  font-size: 1.3rem;
  margin: 30px 0 15px;
  font-weight: 500;
  border-left: 4px solid #fff;
  padding-left: 10px;
}

.news-detail-img {
  max-width: 800px;
  max-height: 450px;
  margin-bottom: 40px;
}

.news-detail-link {
  color: #9E9CFF;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.news-detail-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.btn-read-more {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
}

.btn-read-more a {
  color: #fff;
  text-decoration: none;
  border: 1px solid #888888;
  border-radius: 3px;
  position: relative;
  display: inline-block;
  margin: 0;
  min-width: 200px;
  max-width: fit-content;
  width: auto;
  padding: 20px 40px 20px 20px;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  text-align: center;
}

.btn-read-more a.long-text {
  padding: 20px 50px 20px 30px;
  max-width: 80%;
  white-space: normal;
  line-height: 1.4;
}

.btn-read-more a::after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 1em;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.btn-read-more a:hover {
  background: #5a5a5a;
}

.btn-read-more a:hover::after {
  right: 1.4rem;
}

@media screen and (max-width: 768px) {
  .news-content-box {
    padding: 20px;
  }

  .news-content-title {
    font-size: 1.5rem;
  }

  .news-item-link {
    flex-direction: column;
    padding: 15px 10px;
  }

  .news-cell-date {
    flex: none;
    width: 100%;
    padding-right: 0;
    margin-bottom: 10px;
  }

  .news-detail-container {
    padding: 25px;
  }

  .news-detail-title {
    font-size: 1.5rem;
  }

  .news-detail-subtitle {
    font-size: 1.2rem;
  }

  .news-detail-img {
    width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .news-content-box {
    padding: 15px;
  }

  .news-content-title {
    font-size: 1.3rem;
  }

  .news-item-link {
    padding: 12px 5px;
  }

  .news-item-title {
    font-size: 1rem;
  }

  .news-item-text {
    font-size: 0.8rem;
  }

  .news-detail-container {
    padding: 15px;
  }

  .news-detail-title {
    font-size: 1.3rem;
  }

  .news-detail-subtitle {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 376px) {

  .news-detail-text {
    font-size: 1rem;
  }
}