:root {
  --gsm-bg: #050507;
  --gsm-card: #121218;
  --gsm-text: #f4f5f9;
  --gsm-muted: #a8adbd;
  --gsm-accent: #ff5e14;
  --gsm-border: #252833;
}
body.gsm-blog {
  background: var(--gsm-bg);
  color: var(--gsm-text);
}
.gsm-blog a { color: inherit; }
.gsm-nav {
  border-bottom: 1px solid var(--gsm-border);
  padding: 14px 0;
}
.gsm-nav .brand img { max-height: 42px; }
.gsm-nav .links a {
  margin-left: 18px;
  color: var(--gsm-muted);
  font-weight: 600;
}
.gsm-nav .links a:hover,
.gsm-nav .links a.active { color: #fff; }
.gsm-page-title {
  padding: 48px 0 28px;
}
.gsm-breadcrumb {
  color: var(--gsm-muted);
  font-size: 14px;
  margin-bottom: 10px;
}
.gsm-post-card {
  background: var(--gsm-card);
  border: 1px solid var(--gsm-border);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}
.gsm-post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.gsm-post-card .inner { padding: 20px; }
.gsm-badges span {
  display: inline-block;
  background: rgba(255, 94, 20, 0.15);
  color: #ff9b6f;
  border: 1px solid rgba(255, 94, 20, 0.3);
  border-radius: 999px;
  padding: 6px 10px;
  margin-right: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}
.gsm-meta {
  font-size: 13px;
  color: var(--gsm-muted);
}
.gsm-read {
  color: var(--gsm-accent);
  font-weight: 700;
}
.gsm-detail-wrap { padding: 34px 0 70px; }
.gsm-featured {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 24px;
}
.gsm-article h1 { font-size: 36px; margin-bottom: 10px; }
.gsm-article h2 { font-size: 28px; margin: 24px 0 12px; }
.gsm-article p,
.gsm-article li { color: #d6d9e4; line-height: 1.8; }
.gsm-side-card {
  position: sticky;
  top: 20px;
  background: var(--gsm-card);
  border: 1px solid var(--gsm-border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
}
.gsm-side-card h3 { font-size: 18px; margin-bottom: 12px; }
.gsm-side-card ul { margin: 0; padding-left: 18px; }
.gsm-side-card ul li { margin-bottom: 6px; }
.gsm-author-bio {
  color: var(--gsm-muted);
  font-size: 14px;
}
.gsm-author-bio.collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.gsm-btn-link {
  border: 0;
  background: transparent;
  color: var(--gsm-accent);
  font-weight: 600;
  padding: 0;
}
.gsm-share a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gsm-border);
  margin-right: 8px;
}
.gsm-comments,
.gsm-contact-popup .card {
  background: var(--gsm-card);
  border: 1px solid var(--gsm-border);
  border-radius: 14px;
  padding: 18px;
}
.gsm-comments input,
.gsm-comments textarea,
.gsm-contact-popup input,
.gsm-contact-popup textarea {
  width: 100%;
  background: #0f1016;
  color: #fff;
  border: 1px solid var(--gsm-border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.gsm-primary {
  border: 0;
  background: var(--gsm-accent);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
}
.gsm-contact-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  padding: 20px;
}
.gsm-contact-popup.show { display: flex; }
.gsm-footer {
  margin-top: 60px;
  border-top: 1px solid var(--gsm-border);
  color: var(--gsm-muted);
  padding: 20px 0 30px;
}
@media (max-width: 991px) {
  .gsm-side-card { position: static; }
  .gsm-article h1 { font-size: 30px; }
}
