/* News and What's New pages, and the same article markup in the staff editor. */

.updates-deferred {
  display: none !important;
}

.update-sheet .update-sort {
  min-width: 9rem;
}

.update-sheet .updates-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  padding: 0;
  text-transform: none;
}

.update-sheet .resource-year-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.25;
  margin: 0 0 1rem;
  padding: 0;
  text-transform: none;
}

.update-sheet .resource-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  padding: 0;
  text-transform: none;
}

.update-sheet .updates-card-lead h2.h5 {
  font-size: 1.75rem !important;
}

@media (min-width: 768px) {
  .update-sheet .updates-card-lead .card {
    flex-direction: row;
    align-items: stretch;
  }

  .update-sheet .updates-card-lead .card > a {
    flex: 0 0 46%;
    max-width: 46%;
  }

  .update-sheet .updates-card-lead .update-cover {
    height: 100%;
    min-height: 16rem;
  }
}

.update-sheet .updates-card-lead .card-body {
  padding: 1.5rem 1.75rem;
}

.update-sheet .updates-card-lead .card-body .text-secondary,
.update-sheet .updates-card-lead .card-body .small {
  color: rgba(255, 255, 255, 0.72) !important;
}

.update-sheet .updates-card-lead .card-body h2 a,
.update-sheet .updates-card-lead .card-body h2 a:hover {
  color: #fff !important;
}

.update-sheet .updates-card-lead .card-body a.mt-auto {
  margin-top: 0.75rem !important;
  color: #9ec5fe !important;
}

.update-sheet .update-cover,
.update-sheet .update-cover-wide {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.update-sheet .update-cover {
  aspect-ratio: 16 / 10;
}

.update-sheet .update-cover-wide {
  aspect-ratio: 16 / 8;
}

.update-sheet .update-body,
.note-editor .note-editable {
  font-size: 1.05rem;
  line-height: 1.7;
}

.update-sheet .update-body h2,
.update-sheet .update-body h3,
.update-sheet .update-body h4,
.note-editor .note-editable h2,
.note-editor .note-editable h3,
.note-editor .note-editable h4,
.note-editor .note-dropdown-menu h2,
.note-editor .note-dropdown-menu h3,
.note-editor .note-dropdown-menu h4 {
  font-family: montserrat, sans-serif;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.25;
  padding: 0;
  text-transform: none;
}

.note-editor .note-dropdown-menu h2,
.note-editor .note-dropdown-menu h3,
.note-editor .note-dropdown-menu h4 {
  margin: 0;
}

.note-editor .note-dropdown-menu h2 {
  font-size: 1.35rem;
}

.note-editor .note-dropdown-menu h3 {
  font-size: 1.15rem;
}

.note-editor .note-dropdown-menu h4 {
  font-size: 1rem;
}

.update-sheet .update-body h2,
.note-editor .note-editable h2 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--env-brand);
}

.update-sheet .update-body h3,
.note-editor .note-editable h3 {
  font-size: 1.5rem;
  margin: 1.35rem 0 0.65rem;
}

.update-sheet .update-body h4,
.note-editor .note-editable h4 {
  font-size: 1.25rem;
  margin: 1.15rem 0 0.5rem;
}

.update-sheet .update-body p,
.note-editor .note-editable p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.update-sheet .update-body li,
.note-editor .note-editable li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0.25rem 0;
}

.update-sheet .update-body ul,
.update-sheet .update-body ol,
.note-editor .note-editable ul,
.note-editor .note-editable ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.update-sheet .update-body ul,
.note-editor .note-editable ul {
  list-style: disc;
}

.update-sheet .update-body ol,
.note-editor .note-editable ol {
  list-style: decimal;
}

.update-sheet .update-body blockquote,
.note-editor .note-editable blockquote {
  border-left: 0.25rem solid #d8dee6;
  margin: 1rem 0;
  padding: 0.15rem 0 0.15rem 1rem;
}

.update-sheet .update-body hr,
.note-editor .note-editable hr {
  border: 0;
  border-top: 1px solid #d8dee6;
  margin: 1.5rem 0;
}

.update-sheet .update-body a,
.note-editor .note-editable a {
  color: #005bc3;
  text-decoration: underline;
}

.update-sheet .update-body img,
.update-sheet .update-body video,
.note-editor .note-editable img,
.note-editor .note-editable video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 0 1rem;
  border-radius: 0.5rem;
}

.update-sheet .update-body table,
.note-editor .note-editable table {
  width: 100%;
  margin: 0 0 1rem;
  border-collapse: collapse;
}

.update-sheet .update-body th,
.update-sheet .update-body td,
.note-editor .note-editable th,
.note-editor .note-editable td {
  border: 1px solid #d8dee6;
  padding: 0.45rem 0.6rem;
  vertical-align: top;
}

.update-sheet .update-body > :first-child,
.note-editor .note-editable > :first-child {
  margin-top: 0;
}

.update-sheet .update-body > :last-child,
.note-editor .note-editable > :last-child {
  margin-bottom: 0;
}

.note-editor .note-codable {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.875rem;
  line-height: 1.5;
}

.note-modal,
.note-popover {
  z-index: 2000;
}
