.gh-content {
  max-width: 1200px;
  width: calc(100% - 40px);
  margin: 30px auto 50px;
  color: var(--text-primary, #e9eef5);
  font:
    14px/1.6 system-ui,
    sans-serif;
}
.gh-content h1 {
  font-size: 28px;
  margin: 0 0 10px;
}
.gh-content h2 {
  font-size: 20px;
}
.gh-content a {
  color: #eeb16e;
}
.gh-content .gh-content-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.gh-content input,
.gh-content select,
.gh-content textarea {
  font: inherit;
  background: #202833;
  color: #fff;
  border: 1px solid #465366;
  border-radius: 5px;
  padding: 10px;
  max-width: 100%;
  width: 100%;
}
.gh-content label {
  display: block;
  margin: 16px 0;
}
.gh-content label span {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}
.gh-content textarea {
  min-height: 120px;
}
.gh-content .gh-content-toolbar input,
.gh-content .gh-content-toolbar select {
  width: auto;
}
.gh-content button,
.gh-content .gh-button {
  font: inherit;
  cursor: pointer;
  display: inline-block;
  padding: 8px 14px;
  background: #a66028;
  border: 1px solid #bd773e;
  border-radius: 5px;
  color: white;
  text-decoration: none;
}
.gh-content button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.gh-content-card {
  padding: 24px;
  background: #1c222b;
  border: 1px solid #354050;
  border-radius: 7px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.gh-content-card h2 {
  margin: 0 0 10px;
}
.gh-content-card small {
  color: #a4b2c4;
}
.gh-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.gh-content-grid .gh-content-card {
  margin: 0;
}
.gh-content-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}
.gh-content .gh-error {
  padding: 16px;
  background: #4b2c30;
  border: 1px solid #9e555c;
  border-radius: 6px;
  margin: 15px 0;
}
.gh-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid #354050;
  border-top: 1px solid #354050;
}
.gh-calendar > div {
  border-right: 1px solid #354050;
  border-bottom: 1px solid #354050;
  padding: 10px;
  background: #1c222b;
  min-height: 100px;
}
.gh-calendar .gh-day-label {
  min-height: auto;
  font-size: 12px;
  color: #a4b2c4;
}
.gh-calendar small {
  display: block;
  color: #a4b2c4;
}
.gh-calendar a {
  display: block;
  background: #a6602833;
  padding: 5px;
  margin-top: 6px;
  font-size: 12px;
  text-decoration: none;
}
.gh-topic-meta {
  font-size: 12px;
  color: #a4b2c4;
}
.gh-content .gh-rich-content {
  background: #151c25;
  color: #e9eef5;
}
.gh-content .gh-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px;
  background: #263243;
  border: 1px solid #465366;
}
.gh-content .gh-rich-toolbar button {
  background: #354155;
  border-color: #465366;
  padding: 5px 9px;
}
.gh-content .gh-rich-content {
  min-height: 170px;
  padding: 16px;
  border: 1px solid #465366;
}
.gh-gallery-overlay {
  position: fixed;
  inset: 0;
  background: #000d;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 30px;
  overflow: auto;
}
.gh-gallery-overlay img {
  max-width: 90vw;
  max-height: 80vh;
}
.gh-gallery-overlay button {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 10px 15px;
}
html[data-theme="light"] .gh-content-card,
html[data-theme="light"] .gh-calendar > div {
  background: white;
  color: #263344;
  border-color: #d1d8e0;
}
@media (max-width: 700px) {
  .gh-calendar {
    display: block;
  }
  .gh-calendar .gh-day-label,
  .gh-calendar .gh-blank {
    display: none;
  }
  .gh-calendar > div {
    min-height: auto;
  }
  .gh-content {
    width: calc(100% - 25px);
  }
}
