html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  background: #f5f7fa;
  color: #192b3a;
  margin-bottom: 60px;
}

.navbar {
  background: #fff;
}

.hero {
  max-width: 760px;
  margin: 8vh auto;
  padding: clamp(2rem, 7vw, 5rem);
  border: 1px solid #e4e9ef;
  border-radius: 1rem;
  background: #fff;
}

.hero h1, .page-heading h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hero p:not(.eyebrow) {
  max-width: 540px;
  margin: 1rem 0 1.5rem;
  color: #617283;
  font-size: 1.1rem;
}

.eyebrow {
  margin-bottom: .5rem;
  color: #52677b;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-card, .form-card, .empty-state {
  padding: 1.5rem;
  border: 1px solid #e4e9ef;
  border-radius: .75rem;
  background: #fff;
}

.news-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.news-card h2 {
  margin-bottom: .35rem;
  font-size: 1.2rem;
  font-weight: 650;
}

.muted, .news-meta {
  color: #617283;
  font-size: .9rem;
}

.news-body {
  margin: 1rem 0;
  white-space: pre-wrap;
}

.news-meta, .news-actions, .role-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.channel, .status {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 99px;
  background: #edf2f7;
  color: #40566c;
  font-size: .75rem;
  font-weight: 650;
}

.status-published {
  background: #e6f4ea;
  color: #17653a;
}

.status-draft {
  background: #fff2d6;
  color: #765400;
}

.status-archived {
  background: #edf0f3;
  color: #53606c;
}

.news-actions {
  justify-content: flex-end;
  margin-top: 1rem;
}

.form-card {
  max-width: 760px;
}

.form-check {
  min-width: 120px;
}

@media (max-width: 575px) {
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}