/* === Layout === */
.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

/* === Submit Section === */
.submit-container {
  text-align: center;
  background: #ace1af;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.submit-container p {
  margin-bottom: 10px;
}

/* === Buttons === */
.btn {
  display: inline-block;
  background-color: #2164c8;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}


.btn:hover {
  background-color: #123870;
}

/* === News Boxes === */
.news-item {
  background: #ace1af;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

.news-item h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.news-item .excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* show 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}

.news-item .meta {
  font-size: 0.9em;
  color: #333;
  margin-top: 8px;
}


/* coPilot*/
.news-content {
  line-height: var(--news-line-height, 1.5em);
  margin: 0 0 0.5em 0;
}

/* Container for the scrollable "expanded" state */
.news-content.scroll-limited {
  max-height: calc(var(--news-line-height, 1.5em) * 10);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.25rem; /* avoid cutting off the scrollbar content */
}

/* Optional visual hint for scrollable area */
.news-content.scroll-limited::after {
  content: '';
  display: block;
  height: 0.5rem;
  pointer-events: none;
}

/* Button styling */
.read-more-btn { cursor: pointer; }



















