:root {
  color-scheme: light;
  --brand: #078daf;
  --brand-dark: #047d9c;
  --text: #2e3033;
  --muted: #4f5356;
  --border: #e5e5e5;
  --link: #0b93c3;
  --red: #df3339;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: "Poppins", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--brand-dark);
  text-decoration: underline;
}

.site-footer,
body > header {
  background: var(--brand);
}

body > header {
  box-shadow: 0 2px 9px rgb(0 0 0 / 14%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  min-height: 62px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.site-title:hover,
.site-title:focus {
  color: #ffffff;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  color: rgb(255 255 255 / 62%);
  text-decoration: none;
}

.site-nav a:first-child,
.site-nav a:hover,
.site-nav a:focus {
  color: #ffffff;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 730px) 350px;
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 62px 15px 50px;
}

.content {
  min-width: 0;
}

.page-content > h1,
.content > h1 {
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: #2d2f31;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.imported-content {
  margin-top: 0;
}

.imported-content p {
  margin: 0 0 21px;
}

.imported-content ul,
.imported-content ol {
  margin: 0 0 21px 32px;
  padding: 0;
}

.imported-content li {
  margin: 0 0 4px;
}

.imported-content h2 {
  margin: 45px 0 28px;
  color: #2d2f31;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
}

.imported-content h3 {
  margin: 24px 0 20px;
  color: var(--red);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.22;
}

.imported-content .has-vivid-red-color {
  color: var(--red);
}

.imported-content .has-text-align-center {
  text-align: center;
}

.imported-content .has-small-font-size {
  font-size: 11px;
  font-weight: 700;
}

.imported-content figure {
  margin: 0 0 24px;
}

.imported-content figure.alignright,
.imported-content .alignright {
  float: right;
  max-width: 41%;
  margin: 8px 0 30px 48px;
}

.imported-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.imported-content pre {
  overflow-x: auto;
  padding: 16px;
  background: #242628;
  color: #f7f7f7;
  font-size: 15px;
}

.post-detail {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.post-detail > h1 {
  margin: 0 0 12px;
  color: #2d2f31;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
}

.meta {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.post-summary {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--border);
}

.post-summary h2 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.18;
}

.post-summary h2 a {
  color: inherit;
}

.read-more {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}

.post-tags a {
  padding: 2px 7px;
  border: 1px solid #d9d9d9;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.post-navigation {
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.nav-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.nav-previous {
  text-align: left;
}

.nav-next {
  text-align: right;
}

.sidebar-section {
  margin-bottom: 34px;
}

.sidebar-section h2 {
  margin: 0 0 22px;
  color: #343638;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

.search-form {
  display: block;
  margin: 0;
}

.search-form input {
  width: 185px;
  max-width: 100%;
  height: 35px;
  padding: 7px 13px;
  border: 1px solid #d5d5d5;
  border-radius: 0;
  background: #ffffff;
  color: #55595c;
  font: inherit;
  font-size: 13px;
}

.search-form input::placeholder {
  color: #8f9396;
  opacity: 1;
}

.search-form button {
  display: none;
}

.link-list,
.sidebar-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list li {
  margin: 0 0 16px;
}

.link-list a {
  font-size: 13px;
  font-weight: 400;
}

.archive-select {
  width: 136px;
  max-width: 100%;
  height: 24px;
  border: 1px solid #9fa1a3;
  border-radius: 3px;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-size: 12px;
}

.site-footer {
  margin-top: 0;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.site-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 15px;
}

.site-footer a {
  color: #ffffff;
}

.sidebar-taxonomy {
  display: none;
}

.tag-cloud {
  display: none;
}

.archive-year {
  margin-bottom: 34px;
}

.archive-year h2 {
  margin: 28px 0 12px;
  color: #2d2f31;
  font-size: 30px;
  font-weight: 400;
}

.archive-year ol {
  padding-left: 0;
  list-style: none;
}

.archive-year li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 5px 0;
}

.archive-year time {
  color: var(--muted);
  font-size: 15px;
}

.search-page-form {
  max-width: 560px;
  margin-bottom: 30px;
}

.empty-state {
  padding: 18px 0;
  color: var(--muted);
}

.admin-layout {
  max-width: 1140px;
  margin: 0 auto;
  padding: 42px 15px 56px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.admin-tabs a {
  padding: 10px 14px;
  color: #33373a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.admin-tabs a[aria-current="page"],
.admin-tabs a:hover,
.admin-tabs a:focus {
  background: var(--brand);
  color: #ffffff;
}

.admin-panel {
  min-width: 0;
}

.admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-heading h1 {
  margin: 0;
  color: #2d2f31;
  font-size: 22px;
  font-weight: 800;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus,
button.button:hover,
button.button:focus {
  background: var(--brand-dark);
  color: #ffffff;
  text-decoration: none;
}

.button.secondary {
  border-color: #c9cdd1;
  background: #ffffff;
  color: #303438;
}

.button.secondary:hover,
.button.secondary:focus {
  background: #f5f7f8;
  color: #303438;
}

.notice {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-left: 4px solid var(--brand);
  background: #eef8fb;
  color: #263238;
  font-weight: 600;
}

.notice.error {
  border-left-color: var(--red);
  background: #fff0f1;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.admin-metric {
  display: block;
  padding: 20px;
  border: 1px solid var(--border);
  color: #303438;
  text-decoration: none;
}

.admin-metric:hover,
.admin-metric:focus {
  border-color: var(--brand);
  text-decoration: none;
}

.admin-metric span {
  display: block;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.admin-metric strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  text-transform: uppercase;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #303438;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-table .actions {
  width: 190px;
  text-align: right;
}

.admin-table td.actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.admin-table form {
  display: inline;
}

.row-note {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  font: inherit;
  cursor: pointer;
}

.link-button:hover,
.link-button:focus {
  color: var(--brand-dark);
  text-decoration: underline;
}

.link-button.danger {
  color: var(--red);
}

.admin-form {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.admin-form.post-editor {
  max-width: 920px;
}

.admin-form label,
.admin-form fieldset {
  display: grid;
  gap: 7px;
}

.admin-form label span,
.admin-form legend {
  color: #303438;
  font-size: 13px;
  font-weight: 800;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="datetime-local"],
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #cfd4d8;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.admin-form textarea {
  min-height: 120px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.admin-form fieldset {
  padding: 14px;
  border: 1px solid var(--border);
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
}

.check-row input {
  flex: 0 0 auto;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.imported-content::after,
.page-content::after {
  display: table;
  clear: both;
  content: "";
}

@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sidebar-section {
    max-width: 520px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 14px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 24px;
  }

  .site-nav {
    gap: 20px;
  }

  .layout {
    padding: 44px 24px;
  }

  .imported-content figure.alignright,
  .imported-content .alignright {
    float: none;
    max-width: 100%;
    margin: 0 0 24px;
  }

  .imported-content h2 {
    font-size: 24px;
  }

  .imported-content h3 {
    font-size: 21px;
  }

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

  .nav-next {
    text-align: left;
  }

  .admin-heading,
  .admin-table td.actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-table .actions {
    width: auto;
    text-align: left;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}
