.news-main {
  padding: 64px 0 96px;
}

.news-wrap {
  max-width: 760px;
}

.news-header {
  margin-bottom: 40px;
}

.news-header h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 10px 0 10px;
}

.news-sub {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 24px;
}

/* Employee-only access gate */
.news-admin {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.news-unlock-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.news-unlock-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
}

.news-unlock-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.news-unlock-error {
  width: 100%;
  font-size: 12.5px;
  color: #d64545;
}

/* Create-news form */
.news-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-form select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
}

.news-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.news-form-actions {
  display: flex;
  gap: 12px;
}

/* News list */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-card {
  position: relative;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.news-card:last-child {
  border-bottom: 1px solid var(--line);
}

.news-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.news-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
}

.news-date {
  font-size: 12.5px;
  color: var(--text-2);
}

.news-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.news-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  padding-right: 32px;
}

.news-delete {
  display: none;
  position: absolute;
  top: 24px;
  right: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text-2);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.news-list.is-unlocked .news-delete {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-delete:hover {
  color: #d64545;
  border-color: #d64545;
}

.news-empty {
  color: var(--text-2);
  font-size: 14px;
  padding: 24px 0;
}

@media (max-width: 720px) {
  .news-main {
    padding: 48px 0 64px;
  }

  .news-header h1 {
    font-size: 26px;
  }
}
