.gb-single-wrap {
  background: #f3f4f6;
  padding: 26px 0 56px;
}

.gb-single-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  color: #111827;
}

.gb-single-board-title {
  margin: 0 0 14px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
}

.gb-single-hero {
  border-radius: 8px;
  overflow: hidden;
  background: #0d1c37;
  border: 1px solid #d8dde5;
}

.gb-single-hero img,
.gb-single-hero-fallback {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.gb-single-hero-fallback {
  background: linear-gradient(145deg, #091529, #10294c);
}

.gb-single-head {
  margin-top: 16px;
  border-top: 2px solid #2a3342;
  border-bottom: 1px solid #d9dde4;
  padding: 14px 0 0;
}

.gb-single-head h2 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 800;
}

.gb-single-meta {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
  color: #6b7280;
  font-size: 14px;
}

.gb-single-files {
  background: #f5f7fa;
  border-top: 1px solid #e5e7eb;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: start;
}

.gb-single-files strong {
  color: #0f2e6a;
  font-size: 14px;
}

.gb-single-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.gb-single-file-list a,
.gb-single-file-list span {
  color: #6b7280;
  font-size: 13px;
  text-decoration: none;
}

.gb-single-file-list a:hover {
  color: #0f2e6a;
}

.gb-single-content {
  margin-top: 26px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 34px 28px;
  line-height: 1.8;
  font-size: 17px;
}

.gb-single-content p:first-child {
  margin-top: 0;
}

.gb-single-content p:last-child {
  margin-bottom: 0;
}

.gb-single-content img {
  max-width: 100%;
  height: auto;
}

.gb-single-nav {
  margin-top: 28px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.gb-single-nav-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  border-bottom: 1px solid #eef1f5;
  padding: 12px 16px;
  font-size: 14px;
}

.gb-single-nav-row:last-child {
  border-bottom: 0;
}

.gb-single-nav-row > span:first-child {
  color: #6b7280;
}

.gb-single-nav-row a {
  color: #111827;
  text-decoration: none;
}

.gb-single-nav-row a:hover {
  color: #0f2e6a;
}

.gb-single-nav-row em {
  color: #9ca3af;
  font-style: normal;
}

.gb-single-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.gb-single-actions-left {
  display: flex;
  gap: 8px;
}

.gb-btn-edit,
.gb-btn-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 38px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.gb-btn-edit {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.gb-btn-delete {
  border: 1px solid #fecaca;
  background: #fff;
  color: #dc2626;
}

.gb-btn-edit:hover,
.gb-btn-delete:hover {
  opacity: 0.92;
}

.gb-btn-list {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-content: center;
  min-width: 92px;
  height: 38px;
  border-radius: 6px;
  background: #121f39;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.gb-btn-list:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .gb-single-wrap {
    padding: 16px 0 36px;
  }

  .gb-single-container {
    width: calc(100% - 20px);
  }

  .gb-single-board-title {
    font-size: 30px;
  }

  .gb-single-hero img,
  .gb-single-hero-fallback {
    height: 220px;
  }

  .gb-single-content {
    padding: 22px 16px;
    font-size: 15px;
  }

  .gb-single-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gb-single-actions-left {
    width: 100%;
  }

  .gb-btn-edit,
  .gb-btn-delete,
  .gb-btn-list {
    width: 100%;
  }

  .gb-single-files {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
