:root {
  --ink: #172033;
  --muted: #65728b;
  --line: #d8e3ef;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-solid: #ffffff;
  --mist: #eef8fb;
  --blue: #3f91cf;
  --teal: #29b5b3;
  --gold: #d99b35;
  --violet: #8b70d7;
  --shadow: 0 18px 50px rgba(55, 91, 130, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(93, 183, 219, 0.22), transparent 32rem),
    radial-gradient(circle at 86% 18%, rgba(139, 112, 215, 0.13), transparent 28rem),
    linear-gradient(180deg, #f8fdff 0%, #edf7fb 44%, #f7faf8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 52px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(216, 227, 239, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 43%, rgba(255, 255, 255, 0.2) 100%),
    #eef8fb;
  box-shadow: var(--shadow);
}

.home-clickable {
  cursor: pointer;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.78));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 50px 46px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 430px;
  margin-bottom: 18px;
  padding: 10px 0 14px;
  color: #1d4c73;
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 #ffffff,
    0 8px 30px rgba(63, 145, 207, 0.28);
}

h1::after {
  content: "";
  display: block;
  width: min(300px, 76%);
  height: 3px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--teal), transparent);
}

.hero-text {
  max-width: 430px;
  margin-bottom: 0;
  color: #43506a;
  font-size: 18px;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(760px, 64%);
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.1;
}

.news-feed {
  min-width: 0;
}

.search-panel {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.search-panel input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  font: inherit;
  background: rgba(255, 255, 255, 0.92);
}

.search-results {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.search-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(238, 248, 251, 0.9);
}

.duplicate-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(63, 145, 207, 0.18);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  background: rgba(238, 248, 251, 0.9);
  cursor: pointer;
}

.duplicate-result.is-selected {
  border-color: rgba(41, 181, 179, 0.72);
  background: rgba(232, 250, 249, 0.95);
}

.duplicate-result span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.search-result-row span,
.search-empty {
  color: var(--muted);
  font-size: 13px;
}

.search-empty {
  margin: 0;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(70, 105, 135, 0.1);
}

.news-card.featured {
  grid-template-columns: minmax(0, 1fr);
  padding: 22px;
}

.news-illustration {
  display: grid;
  min-height: 158px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 58px;
  background:
    radial-gradient(circle at 42% 35%, rgba(255, 255, 255, 0.68), transparent 24%),
    linear-gradient(145deg, #3f91cf, #29b5b3 54%, #8b70d7);
}

.news-illustration.small {
  min-height: 112px;
  font-size: 42px;
}

.news-photo {
  width: 100%;
  height: 100%;
  min-height: 158px;
  object-fit: cover;
}

.news-photo.small {
  min-height: 112px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-edit-link,
.admin-delete-link,
.panel-edit-link,
.small-admin-button,
.inline-admin-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 0;
  padding: 0 10px;
  border-radius: 999px;
  color: #605194;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  background: rgba(248, 246, 255, 0.9);
  cursor: pointer;
}

.inline-admin-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 0;
  padding: 0 10px;
  border-radius: 999px;
  color: #605194;
  font-size: 12px;
  font-weight: 800;
  background: rgba(248, 246, 255, 0.9);
}

.admin-delete-link,
.inline-admin-actions button:last-child {
  color: #8b3f3f;
  background: rgba(255, 241, 241, 0.92);
}

.panel-edit-link {
  justify-content: center;
  width: 100%;
  margin-top: 12px;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(139, 112, 215, 0.22);
  border-radius: 8px;
  background: rgba(248, 246, 255, 0.82);
}

.admin-page .admin-toolbar {
  margin: 18px 0 0;
}

.admin-toolbar a,
.admin-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  cursor: pointer;
}

.admin-toolbar button {
  color: #315a7e;
  border: 1px solid rgba(63, 145, 207, 0.18);
  background: rgba(238, 248, 251, 0.95);
}

.news-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.18;
}

.news-title-link:hover {
  color: #2f7db5;
}

.news-card p {
  margin-bottom: 14px;
  color: #4b5871;
  line-height: 1.62;
}

.rich-content {
  color: #4b5871;
  line-height: 1.62;
}

.rich-content p,
.rich-content div {
  margin: 0 0 12px;
}

.rich-content img,
.library-rich-content img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin: 12px 1em 12px 0;
  vertical-align: middle;
  border-radius: 8px;
}

.analysis-note {
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: rgba(232, 250, 249, 0.72);
}

.reward-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.reward-row span {
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(217, 155, 53, 0.34);
  border-radius: 999px;
  color: #7b551b;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 248, 226, 0.86);
}

.card-link {
  min-height: 36px;
  padding: 0 13px;
  color: #2f5c86;
  background: rgba(63, 145, 207, 0.1);
}

.load-more-news {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(63, 145, 207, 0.24);
  border-radius: 8px;
  color: #315a7e;
  font: inherit;
  font-weight: 800;
  background: rgba(238, 248, 251, 0.92);
  cursor: pointer;
}

.side-panel {
  display: grid;
  gap: 14px;
}

.panel-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 34px rgba(70, 105, 135, 0.08);
}

.panel-block h2 {
  margin-bottom: 14px;
  font-size: 19px;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title-row h2 {
  margin-bottom: 0;
}

.clear-chat {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(139, 112, 215, 0.2);
  border-radius: 999px;
  color: #605194;
  font-size: 12px;
  font-weight: 800;
  background: rgba(248, 246, 255, 0.9);
  cursor: pointer;
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 8px;
  height: 210px;
  margin-bottom: 10px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid rgba(216, 227, 239, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.chat-message {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(238, 248, 251, 0.92);
}

.chat-message strong {
  display: block;
  margin-bottom: 4px;
  color: #315a7e;
  font-size: 13px;
}

.chat-message p,
.chat-empty {
  margin: 0;
  color: #4b5871;
  font-size: 13px;
  line-height: 1.45;
}

.chat-message button {
  min-height: 26px;
  margin-top: 7px;
  padding: 0 9px;
  border: 1px solid rgba(139, 112, 215, 0.2);
  border-radius: 999px;
  color: #605194;
  font-size: 12px;
  font-weight: 800;
  background: rgba(248, 246, 255, 0.9);
  cursor: pointer;
}

.admin-chat-message {
  cursor: pointer;
}

.admin-chat-message button {
  display: none;
}

.admin-chat-message.is-selected button {
  display: inline-flex;
}

.chat-form {
  display: grid;
  gap: 8px;
}

.chat-form input,
.chat-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.82);
}

.chat-form textarea {
  resize: vertical;
  min-height: 76px;
}

.chat-form button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  cursor: pointer;
}

.deadline-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deadline-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(216, 227, 239, 0.75);
}

.deadline-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.deadline-list span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.deadline-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-deadline-list li {
  display: grid;
  gap: 8px;
}

.inline-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.deadline-link:hover strong {
  color: #2f7db5;
}

.empty-deadline {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quick-links a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(63, 145, 207, 0.18);
  border-radius: 8px;
  color: #315a7e;
  font-size: 13px;
  font-weight: 800;
  background: rgba(238, 248, 251, 0.9);
}

.note {
  border-color: rgba(41, 181, 179, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(232, 250, 249, 0.78));
}

.note p {
  margin-bottom: 0;
  color: #43506a;
  line-height: 1.58;
}

.library {
  border-color: rgba(139, 112, 215, 0.24);
}

.library-list {
  display: grid;
  gap: 8px;
}

.library-list a {
  display: block;
  padding: 13px 14px;
  border: 1px solid rgba(139, 112, 215, 0.18);
  border-radius: 8px;
  background: rgba(248, 246, 255, 0.78);
}

.library-admin-item {
  display: grid;
  gap: 8px;
}

.library-page-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 34px rgba(70, 105, 135, 0.1);
}

.library-page-card time {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.library-page-card h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 5vw, 48px);
}

.library-lead {
  color: #4b5871;
  font-size: 17px;
  line-height: 1.55;
}

.library-steps {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.library-steps section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(63, 145, 207, 0.14);
  border-radius: 8px;
  background: rgba(238, 248, 251, 0.78);
}

.library-steps span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.library-steps p {
  margin: 0;
  color: #4b5871;
  line-height: 1.55;
}

.library-list strong,
.library-list span {
  display: block;
}

.library-list strong {
  margin-bottom: 5px;
}

.library-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.archive-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.archive-head h1 {
  margin-bottom: 12px;
}

.archive-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 13px;
  border: 1px solid rgba(63, 145, 207, 0.2);
  border-radius: 999px;
  color: #315a7e;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.76);
}

.archive-layout {
  max-width: 920px;
}

.archive-month {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 34px rgba(70, 105, 135, 0.08);
}

.archive-month h2 {
  margin-bottom: 16px;
  text-transform: capitalize;
}

.archive-intro h2 {
  text-transform: none;
}

.archive-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.archive-items {
  display: grid;
  gap: 12px;
}

.archive-item {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(216, 227, 239, 0.82);
}

.archive-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.archive-item time {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.archive-item h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

.archive-item h3 a {
  color: var(--ink);
  text-decoration: none;
}

.archive-item h3 a:hover {
  color: var(--accent);
}

.archive-item p {
  margin-bottom: 0;
  color: #4b5871;
  line-height: 1.55;
}

.single-news-page {
  max-width: 900px;
}

.single-news {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.single-news-visual .news-illustration,
.single-news-visual .news-illustration.small,
.single-news-visual .news-photo {
  min-height: 220px;
}

.single-news-body time {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.single-news-body h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.admin-page .archive-head {
  margin-bottom: 18px;
}

.admin-login {
  max-width: 460px;
  margin-top: 24px;
}

.admin-dashboard {
  display: grid;
  gap: 18px;
}

.admin-dashboard-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-actions a,
.admin-actions button,
.admin-form button,
.mini-form button,
.editable-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  cursor: pointer;
}

.admin-actions button,
.editable-row button {
  color: #315a7e;
  border: 1px solid rgba(63, 145, 207, 0.18);
  background: rgba(238, 248, 251, 0.95);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

.editor-page .admin-editor {
  max-width: 760px;
}

.editor-page main {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.duplicate-panel button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.rewrite-panel textarea {
  min-height: 180px;
  resize: vertical;
}

.rewrite-panel button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.admin-lists {
  display: grid;
  gap: 14px;
}

.admin-form,
.mini-form {
  display: grid;
  gap: 10px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-form input,
.admin-form textarea,
.mini-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.88);
}

.rich-editor {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(238, 248, 251, 0.72);
}

.rich-toolbar button,
.image-insert,
.image-url-input {
  display: inline-grid;
  min-width: 34px;
  min-height: 32px;
  place-items: center;
  border: 1px solid rgba(63, 145, 207, 0.18);
  border-radius: 8px;
  color: #315a7e;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.image-url-input {
  width: min(220px, 100%);
  padding: 0 10px;
  cursor: text;
}

.image-insert {
  padding: 0 10px;
}

.image-insert input {
  display: none;
}

.rich-area {
  min-height: 280px;
  padding: 13px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.62;
  outline: none;
  overflow: hidden;
}

.news-rich-area {
  min-height: 16.2em;
}

.rich-area:empty::before {
  content: attr(data-placeholder);
  color: #8a96aa;
}

.rich-area img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin: 12px 1em 12px 0;
  vertical-align: middle;
  border-radius: 8px;
}

.rich-area img.is-selected {
  outline: 3px solid rgba(41, 181, 179, 0.7);
  outline-offset: 3px;
}

.admin-form textarea {
  resize: vertical;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-row input {
  width: auto;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-message {
  min-height: 20px;
  margin-bottom: 0;
  color: #9a3f2f;
  font-size: 13px;
}

.editable-list {
  display: grid;
  gap: 8px;
}

.editable-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(216, 227, 239, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.editable-row input,
.editable-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.88);
}

.editable-row textarea {
  margin-top: 7px;
  resize: vertical;
}

.row-actions {
  display: grid;
  gap: 7px;
}

.editable-row strong,
.editable-row span {
  display: block;
}

.editable-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero {
    align-items: start;
    grid-template-columns: 1fr;
    min-height: 620px;
  }

  .hero-copy {
    padding: 24px 26px;
  }

  .hero-art {
    inset: auto 0 0;
    width: 100%;
    height: 55%;
    object-position: center bottom;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-head,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .single-news {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .hero {
    min-height: 620px;
    margin-top: 16px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-text {
    font-size: 16px;
  }

  .news-card,
  .news-card.featured {
    grid-template-columns: 1fr;
  }

  .news-illustration,
  .news-illustration.small {
    min-height: 128px;
  }

  .quick-links {
    grid-template-columns: 1fr;
  }
}
