/* ==========================================================================
   AiMuzica · Ghiduri
   Layout de documentație (sidebar, conținut, cuprins), în culorile AiMuzica.
   Fișier independent: paginile /ghid nu încarcă styles.css.
   ========================================================================== */

:root {
  --gd-primary: #0f9a45;
  --gd-primary-strong: #087a37;
  --gd-primary-ink: #065f2c;
  --gd-primary-soft: #eaf8ef;
  --gd-primary-softer: #f4fbf6;
  --gd-ring: rgba(15, 154, 69, 0.28);

  --gd-bg: #ffffff;
  --gd-surface: #f8faf9;
  --gd-surface-2: #f2f6f3;
  --gd-ink: #0d1c14;
  --gd-text: #26352d;
  --gd-muted: #5d6d64;
  --gd-subtle: #84928a;
  --gd-line: #e5ebe7;
  --gd-line-strong: #d5dfd8;

  --gd-note: #0369a1;
  --gd-note-bg: #f0f8fe;
  --gd-note-line: #cfe8f8;
  --gd-warn: #a15c07;
  --gd-warn-bg: #fffaeb;
  --gd-warn-line: #fbe3b0;
  --gd-info: #475569;
  --gd-info-bg: #f8fafc;
  --gd-info-line: #e2e8f0;

  --gd-code-bg: #0e1712;
  --gd-code-ink: #e3efe7;

  --gd-radius: 14px;
  --gd-radius-sm: 10px;
  --gd-radius-lg: 20px;
  --gd-shadow: 0 1px 2px rgba(13, 28, 20, 0.04), 0 8px 24px rgba(13, 28, 20, 0.05);
  --gd-shadow-lg: 0 24px 60px rgba(13, 28, 20, 0.18);

  --gd-header-h: 64px;
  --gd-tabs-h: 46px;
  --gd-top: calc(var(--gd-header-h) + var(--gd-tabs-h));
  --gd-sidebar-w: 284px;
  --gd-toc-w: 232px;
  --gd-content-w: 760px;

  --gd-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --gd-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--gd-top) + 20px);
}

body.gd {
  margin: 0;
  background: var(--gd-bg);
  color: var(--gd-text);
  font-family: var(--gd-font);
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.gd.gd-lock {
  overflow: hidden;
}

.gd img {
  max-width: 100%;
  height: auto;
}

.gd a {
  color: inherit;
}

:where(.gd) button {
  font: inherit;
  color: inherit;
}

.gd :focus-visible {
  outline: 3px solid var(--gd-ring);
  outline-offset: 2px;
  border-radius: 6px;
}

.gd-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--gd-ink);
  color: #fff !important;
  text-decoration: none;
}

.gd-skip:focus {
  top: 12px;
}

.gd-icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */

.gd-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gd-line);
}

.gd-header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--gd-header-h);
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 24px;
}

.gd-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.gd-brand img {
  display: block;
  width: auto;
  height: 48px;
  margin: 0 -10px 0 -14px;
}

.gd-brand-tag {
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--gd-line-strong);
  border-radius: 999px;
  color: var(--gd-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
  white-space: nowrap;
}

.gd-search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(420px, 36vw);
  height: 40px;
  margin: 0 auto;
  padding: 0 8px 0 14px;
  border: 1px solid var(--gd-line-strong);
  border-radius: 999px;
  background: var(--gd-surface);
  color: var(--gd-subtle);
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.gd-search-trigger:hover {
  border-color: #b9c9be;
  background: #fff;
  box-shadow: var(--gd-shadow);
}

.gd-search-trigger .gd-icon {
  font-size: 1.05rem;
}

.gd-search-trigger span {
  flex: 1;
  text-align: left;
}

.gd kbd {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 7px;
  border: 1px solid var(--gd-line-strong);
  border-bottom-width: 2px;
  border-radius: 7px;
  background: #fff;
  color: var(--gd-muted);
  font: 600 0.72rem/1.4 var(--gd-font);
}

.gd-header-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gd-header-links a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--gd-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.gd-header-links a:hover {
  background: var(--gd-surface-2);
  color: var(--gd-ink);
}

.gd-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gd-primary);
  color: #fff !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 18px rgba(15, 154, 69, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}

.gd-cta:hover {
  background: var(--gd-primary-strong);
}

.gd-cta:active {
  transform: translateY(1px);
}

.gd-prose .gd-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 1.4em 0;
}

.gd-prose .gd-cta-row .gd-cta-ghost {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--gd-line);
  border-radius: 999px;
  background: var(--gd-surface);
  color: var(--gd-ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease;
}

.gd-prose .gd-cta-row .gd-cta-ghost:hover {
  border-color: var(--gd-primary);
}

.gd-icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gd-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.gd-tabs {
  display: flex;
  gap: 6px;
  max-width: 1480px;
  height: var(--gd-tabs-h);
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gd-tabs::-webkit-scrollbar {
  display: none;
}

.gd-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--gd-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.gd-tabs a .gd-icon {
  font-size: 1rem;
  opacity: 0.8;
}

.gd-tabs a:hover {
  color: var(--gd-ink);
}

.gd-tabs a.is-active {
  color: var(--gd-primary-strong);
  font-weight: 600;
}

.gd-tabs a.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--gd-primary);
}

/* ---------- Shell ---------- */

.gd-shell {
  display: grid;
  grid-template-columns: var(--gd-sidebar-w) minmax(0, 1fr);
  max-width: 1480px;
  margin: 0 auto;
}

.gd-sidebar {
  position: sticky;
  top: var(--gd-top);
  align-self: start;
  height: calc(100vh - var(--gd-top));
  height: calc(100dvh - var(--gd-top));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 16px 40px 24px;
  border-right: 1px solid var(--gd-line);
  scrollbar-width: thin;
  scrollbar-color: #d6e0d9 transparent;
}

.gd-sidebar-head {
  display: none;
}

.gd-nav-group + .gd-nav-group {
  margin-top: 26px;
}

.gd-nav-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 0 10px;
  color: var(--gd-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.gd-nav-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--gd-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.gd-nav-list a .gd-icon {
  font-size: 0.98rem;
  opacity: 0.75;
}

.gd-nav-list a:hover {
  background: var(--gd-surface-2);
  color: var(--gd-ink);
}

.gd-nav-list a[aria-current="page"] {
  background: var(--gd-primary-soft);
  color: var(--gd-primary-ink);
  font-weight: 600;
}

.gd-nav-list a[aria-current="page"] .gd-icon {
  opacity: 1;
}

.gd-nav-thumb {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 6px;
  object-fit: cover;
}

.gd-sidebar-cta {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding: 16px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: linear-gradient(160deg, var(--gd-primary-softer), #fff 70%);
}

.gd-sidebar-cta strong {
  color: var(--gd-ink);
  font-size: 0.9rem;
}

.gd-sidebar-cta p {
  margin: 0;
  color: var(--gd-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.gd-sidebar-cta .gd-cta {
  justify-content: center;
  height: 36px;
  font-size: 0.85rem;
}

.gd-backdrop {
  display: none;
}

/* ---------- Main ---------- */

.gd-main {
  display: grid;
  grid-template-columns: minmax(0, var(--gd-content-w)) var(--gd-toc-w);
  justify-content: center;
  gap: 56px;
  min-width: 0;
  padding: 40px 40px 72px;
}

.gd-main.is-wide {
  grid-template-columns: minmax(0, 1040px);
}

.gd-article {
  min-width: 0;
}

.gd-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  color: var(--gd-subtle);
  font-size: 0.84rem;
}

.gd-breadcrumb a {
  color: var(--gd-muted);
  text-decoration: none;
}

.gd-breadcrumb a:hover {
  color: var(--gd-primary-strong);
}

.gd-breadcrumb .gd-icon {
  font-size: 0.8rem;
  opacity: 0.6;
}

.gd-eyebrow {
  margin: 0 0 8px;
  color: var(--gd-primary-strong);
  font-size: 0.86rem;
  font-weight: 600;
}

.gd-article h1 {
  margin: 0;
  color: var(--gd-ink);
  font-size: clamp(1.9rem, 3.2vw, 2.45rem);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.gd-lead {
  margin: 14px 0 0;
  color: var(--gd-muted);
  font-size: 1.14rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.gd-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--gd-line);
  color: var(--gd-subtle);
  font-size: 0.84rem;
}

.gd-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Prose ---------- */

.gd-prose {
  padding-top: 8px;
}

.gd-prose > * + * {
  margin-top: 1.1em;
}

.gd-prose h2,
.gd-prose h3 {
  position: relative;
  color: var(--gd-ink);
}

.gd-prose h2 {
  margin-top: 2.4em;
  margin-bottom: 0;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.gd-prose h3 {
  margin-top: 1.9em;
  margin-bottom: 0;
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.gd-prose h2 + *,
.gd-prose h3 + * {
  margin-top: 0.6em;
}

.gd-anchor {
  position: absolute;
  left: -1.4em;
  top: 0;
  padding-right: 0.4em;
  color: var(--gd-subtle) !important;
  font-weight: 400;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.gd-prose h2:hover .gd-anchor,
.gd-prose h3:hover .gd-anchor,
.gd-anchor:focus-visible {
  opacity: 1;
}

.gd-prose p,
.gd-prose li {
  color: var(--gd-text);
}

.gd-prose p {
  margin-bottom: 0;
}

.gd-prose a:not([class]) {
  color: var(--gd-primary-strong);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(15, 154, 69, 0.35);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.gd-prose a:not([class]):hover {
  text-decoration-color: currentColor;
}

.gd-prose strong {
  color: var(--gd-ink);
  font-weight: 650;
}

.gd-prose ul,
.gd-prose ol {
  margin-bottom: 0;
  padding-left: 1.4em;
}

.gd-prose li + li {
  margin-top: 0.45em;
}

.gd-prose li::marker {
  color: var(--gd-subtle);
}

.gd-prose ol > li::marker {
  color: var(--gd-primary-strong);
  font-weight: 600;
}

.gd-prose hr {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--gd-line);
}

.gd-prose code {
  padding: 0.12em 0.4em;
  border: 1px solid var(--gd-line);
  border-radius: 6px;
  background: var(--gd-surface);
  color: var(--gd-ink);
  font-family: var(--gd-mono);
  font-size: 0.86em;
}

.gd-prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--gd-line-strong);
  color: var(--gd-muted);
}

/* ---------- Glossary ---------- */

.gd-glossary {
  display: grid;
  margin: 1em 0 0;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  overflow: hidden;
}

.gd-glossary > div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 18px;
}

.gd-glossary > div + div {
  border-top: 1px solid var(--gd-line);
}

.gd-glossary > div:target {
  background: var(--gd-primary-softer);
}

.gd-glossary dt {
  color: var(--gd-ink);
  font-weight: 650;
}

.gd-glossary dd {
  margin: 0;
  color: var(--gd-text);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .gd-glossary > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- Tables ---------- */

.gd-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
}

.gd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.55;
}

.gd-table th,
.gd-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--gd-line);
  text-align: left;
  vertical-align: top;
}

.gd-table th {
  background: var(--gd-surface);
  color: var(--gd-ink);
  font-size: 0.82rem;
  font-weight: 650;
  white-space: nowrap;
}

.gd-table tr:last-child td {
  border-bottom: 0;
}

.gd-table td:first-child {
  color: var(--gd-ink);
  font-weight: 550;
}

/* ---------- Callouts ---------- */

.gd-callout {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--gd-info-line);
  border-radius: var(--gd-radius);
  background: var(--gd-info-bg);
  font-size: 0.95rem;
  line-height: 1.65;
}

.gd-callout > .gd-icon {
  margin-top: 0.22em;
  font-size: 1.1rem;
  color: var(--gd-info);
}

.gd-callout-body {
  min-width: 0;
}

.gd-callout-body > * {
  margin: 0;
}

.gd-callout-body > * + * {
  margin-top: 0.5em;
}

.gd-callout-title {
  display: block;
  color: var(--gd-ink);
  font-weight: 650;
}

.gd-callout.is-tip {
  border-color: #cdebd8;
  background: var(--gd-primary-softer);
}

.gd-callout.is-tip > .gd-icon {
  color: var(--gd-primary);
}

.gd-callout.is-note {
  border-color: var(--gd-note-line);
  background: var(--gd-note-bg);
}

.gd-callout.is-note > .gd-icon {
  color: var(--gd-note);
}

.gd-callout.is-warn {
  border-color: var(--gd-warn-line);
  background: var(--gd-warn-bg);
}

.gd-callout.is-warn > .gd-icon {
  color: var(--gd-warn);
}

/* ---------- Steps ---------- */

.gd-steps {
  margin: 1.6em 0 0;
  padding: 0;
  list-style: none;
  counter-reset: gd-step;
}

.gd-step {
  position: relative;
  padding: 0 0 26px 50px;
  counter-increment: gd-step;
}

.gd-step::before {
  content: counter(gd-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--gd-line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--gd-ink);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px #fff;
}

.gd-step::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 38px;
  bottom: 4px;
  width: 1px;
  background: var(--gd-line-strong);
}

.gd-step:last-child {
  padding-bottom: 4px;
}

.gd-step:last-child::after {
  display: none;
}

.gd-step-title {
  display: block;
  margin: 3px 0 6px;
  color: var(--gd-ink);
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.45;
}

.gd-step-body > * {
  margin: 0;
}

.gd-step-body > * + * {
  margin-top: 0.7em;
}

.gd-prose .gd-step-body li + li {
  margin-top: 0.3em;
}

/* ---------- Cards ---------- */

.gd-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gd-cards.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gd-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 18px 18px 16px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.gd-card:hover {
  border-color: rgba(15, 154, 69, 0.45);
  box-shadow: var(--gd-shadow);
}

.gd-card-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: var(--gd-primary-soft);
  color: var(--gd-primary-strong);
  font-size: 1.1rem;
}

.gd-card-title {
  color: var(--gd-ink);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.4;
}

.gd-card-text {
  margin: 0;
  color: var(--gd-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.gd-card-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--gd-primary-strong);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ---------- Accordion / FAQ ---------- */

.gd-accordion {
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  overflow: hidden;
}

.gd-accordion details + details {
  border-top: 1px solid var(--gd-line);
}

.gd-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  color: var(--gd-ink);
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.gd-accordion summary::-webkit-details-marker {
  display: none;
}

.gd-accordion summary .gd-icon {
  font-size: 1rem;
  color: var(--gd-subtle);
  transition: transform 0.18s ease;
}

.gd-accordion details[open] summary .gd-icon {
  transform: rotate(90deg);
}

.gd-accordion summary:hover {
  background: var(--gd-surface);
}

.gd-accordion-body {
  padding: 0 18px 16px;
  color: var(--gd-text);
}

.gd-accordion-body > * {
  margin: 0;
}

.gd-accordion-body > * + * {
  margin-top: 0.6em;
}

/* ---------- Tabs ---------- */

.gd-tabset {
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  overflow: hidden;
}

.gd-tablist {
  display: flex;
  gap: 2px;
  padding: 0 8px;
  border-bottom: 1px solid var(--gd-line);
  background: var(--gd-surface);
  overflow-x: auto;
  scrollbar-width: none;
}

.gd-tablist button {
  position: relative;
  padding: 11px 12px;
  border: 0;
  background: none;
  color: var(--gd-muted);
  font-size: 0.88rem;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
}

.gd-tablist button[aria-selected="true"] {
  color: var(--gd-primary-strong);
}

.gd-tablist button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  background: var(--gd-primary);
}

.gd-tabpanel {
  padding: 16px 18px;
}

.gd-tabpanel[hidden] {
  display: none;
}

.gd-tabpanel > * {
  margin: 0;
}

.gd-tabpanel > * + * {
  margin-top: 0.8em;
}

/* ---------- Prompt / code blocks ---------- */

.gd-prompt {
  border: 1px solid #1f2d25;
  border-radius: var(--gd-radius);
  background: var(--gd-code-bg);
  overflow: hidden;
}

.gd-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-bottom: 1px solid #1f2d25;
  color: #9fb3a7;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gd-prompt-head > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gd-prompt-actions {
  display: flex;
  gap: 6px;
}

.gd-prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #2a3b31;
  border-radius: 8px;
  background: #15211a;
  color: #d5e4da !important;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.gd-prompt-btn:hover {
  border-color: #3d5446;
  background: #1b2b22;
}

.gd-prompt-btn.is-primary {
  border-color: transparent;
  background: var(--gd-primary);
  color: #fff !important;
}

.gd-prompt-btn.is-primary:hover {
  background: var(--gd-primary-strong);
}

.gd-prompt pre {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--gd-code-ink);
  font-family: var(--gd-font);
  font-size: 0.93rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.gd-prompt pre .gd-tag {
  color: #6ee7a0;
  font-weight: 600;
}

.gd-prompt.is-light {
  border-color: var(--gd-line);
  background: var(--gd-surface);
}

.gd-prompt.is-light .gd-prompt-head {
  border-color: var(--gd-line);
  color: var(--gd-muted);
}

.gd-prompt.is-light pre {
  color: var(--gd-ink);
  font-family: var(--gd-font);
  font-size: 0.95rem;
}

.gd-prompt.is-light pre .gd-tag {
  color: var(--gd-primary-strong);
}

.gd-prompt.is-light .gd-prompt-btn {
  border-color: var(--gd-line-strong);
  background: #fff;
  color: var(--gd-ink) !important;
}

.gd-prompt.is-light .gd-prompt-btn.is-primary {
  border-color: transparent;
  background: var(--gd-primary);
  color: #fff !important;
}

/* ---------- Compare (good / bad) ---------- */

.gd-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gd-compare > div {
  padding: 14px 16px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  font-size: 0.93rem;
  line-height: 1.6;
}

.gd-compare > div > * {
  margin: 0;
}

.gd-compare > div > * + * {
  margin-top: 0.5em;
}

.gd-compare .is-bad {
  border-color: #f6d3d0;
  background: #fff8f7;
}

.gd-compare .is-good {
  border-color: #cdebd8;
  background: var(--gd-primary-softer);
}

.gd-compare-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gd-compare .is-bad .gd-compare-label {
  color: #b42318;
}

.gd-compare .is-good .gd-compare-label {
  color: var(--gd-primary-strong);
}

/* ---------- Chips / badges ---------- */

.gd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--gd-line);
  border-radius: 999px;
  background: var(--gd-surface);
  color: var(--gd-muted);
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.6;
  text-decoration: none;
  white-space: nowrap;
}

a.gd-chip:hover {
  border-color: rgba(15, 154, 69, 0.45);
  color: var(--gd-primary-strong);
}

.gd-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--gd-primary-soft);
  color: var(--gd-primary-ink);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.6;
  vertical-align: 0.1em;
}

/* ---------- Key facts ---------- */

.gd-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: var(--gd-line);
  overflow: hidden;
}

.gd-fact {
  padding: 14px 16px;
  background: #fff;
}

.gd-fact-label {
  display: block;
  color: var(--gd-subtle);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gd-fact-value {
  display: block;
  margin-top: 2px;
  color: var(--gd-ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

/* ---------- Audio: style + substyle cards ---------- */

.gd-play {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--gd-ink);
  box-shadow: 0 4px 14px rgba(13, 28, 20, 0.22);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.gd-play:hover {
  transform: scale(1.06);
}

.gd-play .gd-icon {
  font-size: 1.05rem;
  stroke: none;
}

.gd-play .gd-icon-play {
  margin-left: 2px;
}

.gd-play .gd-icon-pause,
.gd-play.is-playing .gd-icon-play,
.gd-play .gd-spinner {
  display: none;
}

.gd-play.is-playing .gd-icon-pause {
  display: block;
}

.gd-play.is-playing {
  background: var(--gd-primary);
  color: #fff;
}

.gd-play.is-loading .gd-icon-play,
.gd-play.is-loading .gd-icon-pause {
  display: none;
}

.gd-play.is-loading .gd-spinner {
  display: block;
}

/* Vinilul mini (vezi /vinyl-loader.css). */
.gd-spinner {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: var(--am-vinyl-mini-bg, #0a6142);
  box-shadow: var(--am-vinyl-mini-shadow, none);
  animation: gd-spin 1.2s linear infinite;
}

@keyframes gd-spin {
  to {
    transform: rotate(360deg);
  }
}

.gd-sound-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gd-sound-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gd-sound {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius-lg);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gd-sound:hover,
.gd-sound.is-active {
  border-color: rgba(15, 154, 69, 0.4);
  box-shadow: var(--gd-shadow);
}

.gd-sound-media {
  position: relative;
  aspect-ratio: 2 / 1;
  background: var(--gd-surface-2);
  overflow: hidden;
}

.gd-sound-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gd-sound:hover .gd-sound-media img {
  transform: scale(1.03);
}

.gd-sound-media::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 14, 9, 0.55));
  pointer-events: none;
}

.gd-sound-media .gd-play {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
}

.gd-sound-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
}

.gd-sound-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: #4ade80;
}

.gd-sound-time {
  position: absolute;
  right: 12px;
  bottom: 14px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(5, 14, 9, 0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.gd-sound.is-active .gd-sound-time {
  opacity: 1;
}

.gd-sound-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
}

.gd-sound-title {
  margin: 0;
  color: var(--gd-ink);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.gd-prose .gd-sound-title {
  margin: 0;
}

.gd-sound-text {
  margin: 0;
  color: var(--gd-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.gd-sound-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.gd-sound-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gd-primary-strong) !important;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none !important;
}

.gd-sound-link:hover {
  text-decoration: underline !important;
}

.gd-prose .gd-sound-grid,
.gd-prose .gd-cards {
  margin-top: 1.2em;
}

/* Compact list row (catalog) */

.gd-style-list {
  display: grid;
  gap: 12px;
}

.gd-style-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius-lg);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gd-style-row:hover,
.gd-style-row.is-active {
  border-color: rgba(15, 154, 69, 0.4);
  box-shadow: var(--gd-shadow);
}

.gd-style-row .gd-sound-media {
  aspect-ratio: auto;
  min-height: 100%;
}

.gd-style-row .gd-sound-media .gd-play {
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
}

.gd-style-row .gd-sound-media .gd-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.gd-style-row .gd-sound-media::after {
  inset: 0;
  background: rgba(5, 14, 9, 0.18);
}

.gd-style-row-body {
  display: grid;
  gap: 6px;
  padding: 14px 18px 16px;
  min-width: 0;
}

.gd-style-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}

.gd-style-row-head h3,
.gd-style-row-title {
  margin: 0 !important;
  color: var(--gd-ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.gd-row-link {
  color: var(--gd-ink);
  text-decoration: none;
}

.gd-row-link:hover {
  color: var(--gd-primary-strong);
}

.gd-style-row p {
  margin: 0;
  color: var(--gd-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Examples (modul Exemple) ---------- */

.gd-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gd-prose .gd-example-grid {
  margin-top: 1.1em;
}

.gd-example {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gd-example:hover,
.gd-example.is-active {
  border-color: rgba(15, 154, 69, 0.4);
  box-shadow: var(--gd-shadow);
}

.gd-example-media {
  position: relative;
  min-height: 100%;
  background: var(--gd-surface-2);
  overflow: hidden;
}

.gd-example-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gd-example-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 9, 0.12);
  pointer-events: none;
}

.gd-example-media .gd-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
}

.gd-example-media .gd-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.gd-example-body {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 12px 14px 13px;
  min-width: 0;
}

.gd-prose .gd-example-title {
  margin: 0;
  color: var(--gd-ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.gd-prose .gd-example-sound,
.gd-prose .gd-example-for {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
}

.gd-prose .gd-example-sound {
  color: var(--gd-text);
}

.gd-prose .gd-example-for {
  color: var(--gd-muted);
}

.gd-prose .gd-example-for strong {
  color: var(--gd-muted);
  font-weight: 600;
}

.gd-example .gd-sound-link {
  margin-top: 4px;
  font-size: 0.82rem;
}

.gd-category-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gd-category-head img {
  width: 92px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
}

/* ---------- Imagini și etichete de secțiune ---------- */

.gd-prose .gd-kicker {
  margin: 36px 0 -18px;
  color: var(--gd-primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gd-figure {
  margin: 22px 0 26px;
}

.gd-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius-lg);
  background: var(--gd-surface);
}

.gd-figure figcaption {
  margin-top: 8px;
  color: var(--gd-muted);
  font-size: 0.84rem;
  text-align: center;
}

.gd-figure-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 460px;
  margin: 0 auto;
  align-items: center;
}

.gd-prose .gd-kicker + h2,
.gd-prose .gd-kicker + .gd-anchor-alias + h2 {
  margin-top: 26px;
}

.gd-prose .gd-cta-box .gd-kicker {
  margin: 0 0 6px;
}

.gd-anchor-alias {
  display: block;
  height: 0;
}

/* ---------- Mini player ---------- */

.gd-player {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(560px, calc(100vw - 24px));
  padding: 8px 10px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(10, 20, 14, 0.94);
  color: #fff;
  box-shadow: var(--gd-shadow-lg);
  transform: translate(-50%, 0);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.gd.gd-player-open {
  padding-bottom: var(--gd-player-space, 0px);
}

.gd-player[hidden] {
  display: flex;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 140%);
}

.gd-player img {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  background: #1d2a22;
}

.gd-player-info {
  display: grid;
  flex: 1;
  gap: 5px;
  min-width: 0;
}

.gd-player-title {
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gd-player-sub {
  color: #9fb3a7;
  font-size: 0.74rem;
  font-weight: 500;
}

.gd-player-bar {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.gd-player-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: #4ade80;
}

.gd-player .gd-play {
  width: 40px;
  height: 40px;
  box-shadow: none;
}

.gd-player-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9fb3a7;
  cursor: pointer;
  font-size: 1.05rem;
}

.gd-player-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.gd-toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 70;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--gd-ink);
  color: #fff;
  font-size: 0.88rem;
  box-shadow: var(--gd-shadow-lg);
  transform: translate(-50%, 0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gd-toast[hidden] {
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
}

/* ---------- Banner cookie-uri ----------
   Pozitionarea de baza vine din styles.css, pe care paginile de ghid nu il
   incarca. Aspectul vine din legal-consent.css, adaugat de legal-consent.js. */

.legal-consent-banner {
  --legal-banner-x: -50%;
  position: fixed;
  z-index: 190;
  right: auto;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  width: min(720px, calc(100vw - 28px));
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--legal-banner-x), 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.legal-consent-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(var(--legal-banner-x), 0);
}

@media (max-width: 700px) {
  .legal-consent-banner {
    --legal-banner-x: 0;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
  }
}

/* ---------- Hub ---------- */

.gd-hero {
  position: relative;
  padding: 26px 0 8px;
}

.gd-hero h1 {
  max-width: 820px;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  letter-spacing: -0.035em;
}

.gd-hero h1 em {
  color: var(--gd-primary);
  font-style: normal;
}

.gd-hero .gd-lead {
  max-width: 720px;
  font-size: 1.18rem;
}

.gd-hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(640px, 100%);
  height: 54px;
  margin-top: 26px;
  padding: 0 10px 0 18px;
  border: 1px solid var(--gd-line-strong);
  border-radius: 16px;
  background: #fff;
  color: var(--gd-subtle);
  font-size: 1rem;
  text-align: left;
  box-shadow: var(--gd-shadow);
  cursor: pointer;
}

.gd-hero-search:hover {
  border-color: rgba(15, 154, 69, 0.45);
}

.gd-hero-search span {
  flex: 1;
}

.gd-hero-search .gd-icon {
  font-size: 1.2rem;
}

.gd-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  color: var(--gd-subtle);
  font-size: 0.85rem;
}

.gd-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 20px;
}

.gd-section-head p {
  margin: 4px 0 0;
  color: var(--gd-muted);
}

.gd-section-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gd-primary-strong);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- CTA box ---------- */

.gd-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 24px;
  margin-top: 44px !important;
  padding: 22px 24px;
  border: 1px solid #cdebd8;
  border-radius: var(--gd-radius-lg);
  background: radial-gradient(120% 140% at 100% 0%, #dff5e7 0%, var(--gd-primary-softer) 45%, #fff 100%);
}

.gd-cta-box strong {
  color: var(--gd-ink);
  font-size: 1.12rem;
  font-weight: 700;
}

.gd-cta-box p {
  grid-column: 1;
  margin: 0;
  color: var(--gd-muted);
  font-size: 0.95rem;
}

.gd-cta-box .gd-cta {
  grid-column: 2;
  grid-row: 1 / span 2;
}

@media (max-width: 720px) {
  .gd-cta-box {
    grid-template-columns: 1fr;
  }

  .gd-cta-box .gd-cta {
    grid-column: 1;
    grid-row: auto;
    justify-content: center;
    margin-top: 10px;
  }
}

/* ---------- Feedback + pager ---------- */

.gd-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding: 16px 18px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  color: var(--gd-muted);
  font-size: 0.92rem;
}

.gd-feedback-actions {
  display: flex;
  gap: 8px;
}

.gd-feedback button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--gd-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--gd-ink);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.gd-feedback button:hover {
  border-color: rgba(15, 154, 69, 0.45);
  color: var(--gd-primary-strong);
}

.gd-feedback.is-done .gd-feedback-actions {
  display: none;
}

.gd-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.gd-pager a {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.gd-pager a:hover {
  border-color: rgba(15, 154, 69, 0.45);
}

.gd-pager small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gd-subtle);
  font-size: 0.78rem;
}

.gd-pager strong {
  color: var(--gd-ink);
  font-size: 0.95rem;
  font-weight: 650;
}

.gd-pager .is-next {
  grid-column: 2;
  text-align: right;
}

.gd-pager .is-next small {
  justify-content: flex-end;
}

/* ---------- TOC ---------- */

.gd-toc {
  position: sticky;
  top: calc(var(--gd-top) + 28px);
  align-self: start;
  max-height: calc(100vh - var(--gd-top) - 56px);
  overflow-y: auto;
  padding-bottom: 20px;
  font-size: 0.85rem;
  scrollbar-width: thin;
}

.gd-toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--gd-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.gd-toc ul {
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--gd-line);
  list-style: none;
}

.gd-toc li a {
  display: block;
  margin-left: -1px;
  padding: 4px 0 4px 14px;
  border-left: 2px solid transparent;
  color: var(--gd-muted);
  line-height: 1.45;
  text-decoration: none;
}

.gd-toc li.is-sub a {
  padding-left: 26px;
  font-size: 0.82rem;
}

.gd-toc li a:hover {
  color: var(--gd-ink);
}

.gd-toc li a.is-active {
  border-left-color: var(--gd-primary);
  color: var(--gd-primary-strong);
  font-weight: 600;
}

.gd-toc-cta {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 14px;
  border-radius: var(--gd-radius);
  background: var(--gd-surface);
}

.gd-toc-cta p {
  margin: 0;
  color: var(--gd-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.gd-toc-cta a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gd-primary-strong);
  font-weight: 650;
  text-decoration: none;
}

/* ---------- Search modal ---------- */

.gd-search {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10vh 16px 16px;
  background: rgba(8, 18, 12, 0.42);
  backdrop-filter: blur(3px);
}

.gd-search[hidden] {
  display: none;
}

.gd-search-panel {
  display: flex;
  flex-direction: column;
  width: min(640px, 100%);
  max-height: 72vh;
  border: 1px solid var(--gd-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--gd-shadow-lg);
  overflow: hidden;
}

.gd-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px 0 18px;
  border-bottom: 1px solid var(--gd-line);
  color: var(--gd-subtle);
}

.gd-search-field .gd-icon {
  font-size: 1.2rem;
}

.gd-search-field input {
  flex: 1;
  min-width: 0;
  height: 58px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--gd-ink);
  font: 500 1.02rem var(--gd-font);
}

.gd-search-results {
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  list-style: none;
}

.gd-search-results a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
}

.gd-search-results a[aria-selected="true"],
.gd-search-results a:hover {
  background: var(--gd-primary-softer);
}

.gd-search-results small {
  color: var(--gd-subtle);
  font-size: 0.75rem;
  font-weight: 600;
}

.gd-search-results strong {
  color: var(--gd-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.gd-search-results span {
  overflow: hidden;
  color: var(--gd-muted);
  font-size: 0.84rem;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gd-search-results mark {
  background: #d6f5e0;
  color: inherit;
  border-radius: 3px;
}

.gd-search-empty {
  padding: 26px 18px;
  color: var(--gd-muted);
  font-size: 0.92rem;
  text-align: center;
}

.gd-search-foot {
  display: flex;
  gap: 14px;
  padding: 10px 16px;
  border-top: 1px solid var(--gd-line);
  background: var(--gd-surface);
  color: var(--gd-subtle);
  font-size: 0.76rem;
}

/* ---------- Footer ---------- */

.gd-footer {
  border-top: 1px solid var(--gd-line);
  background: var(--gd-surface);
}

.gd-footer-inner {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 44px 24px 28px;
}

.gd-footer-brand img {
  display: block;
  width: auto;
  height: 46px;
  margin-left: -10px;
}

.gd-footer-brand p {
  max-width: 320px;
  margin: 8px 0 0;
  color: var(--gd-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.gd-footer h2 {
  margin: 4px 0 12px;
  color: var(--gd-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.gd-footer ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-footer li a {
  color: var(--gd-muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.gd-footer li a:hover {
  color: var(--gd-primary-strong);
}

.gd-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 24px 28px;
  border-top: 1px solid var(--gd-line);
  color: var(--gd-subtle);
  font-size: 0.8rem;
}

.gd-footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.gd-footer-badges a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 4px 10px;
  border: 1px solid var(--gd-line);
  border-radius: 10px;
  background: #fff;
}

.gd-footer-badges img {
  display: block;
  width: auto;
  max-height: 28px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .gd-main {
    grid-template-columns: minmax(0, var(--gd-content-w));
  }

  .gd-toc {
    display: none;
  }
}

@media (max-width: 1080px) {
  .gd-header-links {
    display: none;
  }
}

@media (max-width: 980px) {
  :root {
    --gd-header-h: 58px;
    --gd-tabs-h: 44px;
  }

  .gd-header-inner {
    gap: 8px;
    padding: 0 12px 0 16px;
  }

  .gd-brand img {
    height: 42px;
  }

  .gd-hero-search kbd {
    display: none;
  }

  .gd-hero-search {
    height: 50px;
    font-size: 0.95rem;
  }

  .gd-hero-search span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .gd-search-trigger,
  .gd-header .gd-cta {
    display: none;
  }

  .gd-icon-btn {
    display: inline-flex;
  }

  .gd-mobile-search {
    margin-left: auto;
  }

  .gd-tabs {
    padding: 0 10px;
  }

  .gd-shell {
    display: block;
  }

  .gd-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 90;
    width: min(340px, 88vw);
    height: auto;
    /* Chrome aplică align-self și elementelor fixe: fără stretch, panoul ar lua
       înălțimea conținutului și partea de jos a meniului n-ar mai putea fi derulată. */
    align-self: stretch;
    padding: 0 14px 32px;
    border-right: 1px solid var(--gd-line);
    background: #fff;
    box-shadow: var(--gd-shadow-lg);
    transform: translateX(-104%);
    transition: transform 0.25s ease;
    visibility: hidden;
  }

  .gd-menu-open .gd-sidebar {
    transform: none;
    visibility: visible;
  }

  .gd-sidebar-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 -14px 18px;
    padding: 10px 12px 10px 14px;
    border-bottom: 1px solid var(--gd-line);
    background: #fff;
  }

  .gd-sidebar-head img {
    height: 34px;
    width: auto;
    margin-left: -8px;
  }

  .gd-sidebar-head .gd-icon-btn {
    display: inline-flex;
  }

  .gd-sidebar-links {
    display: grid;
    gap: 2px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gd-line);
  }

  .gd-sidebar-links a {
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--gd-ink);
    font-size: 0.95rem;
    font-weight: 550;
    text-decoration: none;
  }

  .gd-backdrop {
    position: fixed;
    inset: 0;
    z-index: 85;
    display: block;
    background: rgba(8, 18, 12, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .gd-menu-open .gd-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .gd-main,
  .gd-main.is-wide {
    display: block;
    padding: 24px 16px 56px;
  }

  .gd-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
    padding: 34px 16px 22px;
  }

  .gd-footer-brand {
    grid-column: 1 / -1;
  }

  .gd-footer-bottom {
    padding: 16px 16px 96px;
  }
}

@media (min-width: 981px) {
  .gd-sidebar-links {
    display: none;
  }
}

@media (max-width: 720px) {
  body.gd {
    font-size: 15.5px;
  }

  .gd-cards,
  .gd-cards.cols-3,
  .gd-example-grid,
  .gd-sound-grid,
  .gd-sound-grid.cols-3,
  .gd-compare {
    grid-template-columns: 1fr;
  }

  .gd-style-row {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .gd-style-row-body {
    padding: 12px 14px 14px;
  }

  .gd-style-row p {
    font-size: 0.86rem;
  }

  .gd-prose h2 {
    font-size: 1.36rem;
  }

  .gd-anchor {
    display: none;
  }

  .gd-lead {
    font-size: 1.05rem;
  }

  .gd-hero h1 {
    font-size: 2.05rem;
  }

  .gd-hero .gd-lead {
    font-size: 1.05rem;
  }

  .gd-pager {
    grid-template-columns: 1fr;
  }

  .gd-pager .is-next {
    grid-column: auto;
  }

  .gd-prompt-head {
    flex-wrap: wrap;
  }

  .gd-table {
    font-size: 0.86rem;
  }

  .gd-table th,
  .gd-table td {
    padding: 9px 11px;
  }

  .gd-search {
    padding-top: 12px;
  }

  .gd-search-panel {
    max-height: 86vh;
  }

  .gd-search-foot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gd *,
  .gd *::before,
  .gd *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .gd-header,
  .gd-sidebar,
  .gd-toc,
  .gd-feedback,
  .gd-pager,
  .gd-player,
  .gd-footer {
    display: none !important;
  }

  .gd-main {
    display: block;
    padding: 0;
  }
}

/* ============================================================
   Pagini separate (ghiduri/standalone/): același design ca ghidul,
   dar fără meniul ghidurilor, fără file și fără căutare.
   Clasa gd-solo stă pe <html>, ca să schimbe și înălțimea barei de sus.
   ============================================================ */

html.gd-solo {
  --gd-tabs-h: 0px;
}

.gd-header-spacer {
  flex: 1 1 auto;
}

@media (min-width: 981px) {
  .gd-solo .gd-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .gd-solo .gd-sidebar,
  .gd-solo .gd-backdrop {
    display: none;
  }
}

@media (max-width: 980px) {
  .gd-solo .gd-sidebar-links {
    border-bottom: 0;
  }

  .gd-solo .gd-header .gd-cta {
    display: inline-flex;
    height: 36px;
    padding: 0 14px;
    font-size: 0.86rem;
    box-shadow: none;
  }
}

@media (max-width: 360px) {
  .gd-solo .gd-header .gd-cta {
    padding: 0 11px;
    font-size: 0.8rem;
  }
}

/* ---------- Pagini separate: carduri de idei, etichete, imagine de deschidere ---------- */

.gd-prose .gd-figure-hero img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gd-prose .gd-related-label {
  margin: 1.6em 0 0.6em;
  color: var(--gd-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.gd-prose .gd-related-label + .gd-chips .gd-chip {
  padding: 5px 12px;
  font-size: 0.84rem;
  text-decoration: none;
}

.gd-prose .gd-related-label + .gd-chips a.gd-chip:hover {
  border-color: rgba(15, 154, 69, 0.45);
  color: var(--gd-primary-strong);
}

.gd-ideas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 1.4em 0;
}

.gd-idea {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--gd-line);
  border-radius: var(--gd-radius-lg);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gd-idea:hover {
  border-color: rgba(15, 154, 69, 0.45);
  box-shadow: var(--gd-shadow);
}

.gd-idea-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--gd-surface);
}

.gd-prose .gd-idea-media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.gd-idea-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gd-ink);
  font-size: 0.76rem;
  font-weight: 650;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gd-idea-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
}

.gd-prose .gd-idea-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.gd-prose .gd-idea-body p {
  margin: 0;
  color: var(--gd-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.gd-idea-actions {
  margin-top: auto;
  padding-top: 6px;
}

.gd-prose .gd-idea-use {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gd-primary-strong);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.gd-prose .gd-idea-use:hover {
  text-decoration: underline;
}

.gd-cta-box .gd-cta-row {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

@media (max-width: 720px) {
  .gd-ideas {
    grid-template-columns: 1fr;
  }

  .gd-cta-box .gd-cta-row {
    grid-column: 1;
    grid-row: auto;
    margin-top: 10px;
  }
}

/* ---------- Telefon (mockup) cu video sau imagine ---------- */

.gd-phone {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
}

.gd-phone-frame {
  position: relative;
  width: clamp(220px, 66vw, 272px);
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(150deg, #3a3f45 0%, #15181b 38%, #0b0d0f 62%, #2c3136 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.04),
    0 34px 60px -26px rgba(9, 32, 20, 0.55),
    0 14px 28px -18px rgba(9, 32, 20, 0.45);
}

/* Butoanele laterale ale telefonului. */
.gd-phone-frame::before,
.gd-phone-frame::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: #23272b;
}

.gd-phone-frame::before {
  top: 112px;
  left: -2px;
  height: 46px;
  box-shadow: 0 60px 0 #23272b;
}

.gd-phone-frame::after {
  top: 150px;
  right: -2px;
  height: 64px;
}

.gd-phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 37px;
  background: #000;
  isolation: isolate;
}

.gd-phone-status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  height: 30px;
  padding: 0 20px 0 24px;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.gd-phone-island {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 34%;
  height: 18px;
  border-radius: 12px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: translateX(-50%);
}

.gd-phone-icons {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 9px;
}

.gd-phone-icons i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: #fff;
}

.gd-phone-icons i:nth-child(1) { height: 4px; }
.gd-phone-icons i:nth-child(2) { height: 6px; }

.gd-phone-icons i:nth-child(3) {
  width: 17px;
  height: 8px;
  margin-left: 4px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  background: linear-gradient(90deg, #fff 70%, transparent 70%);
  background-clip: content-box;
  padding: 1px;
}

.gd-prose .gd-phone-media,
.gd-phone-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1130;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  background: #062a1d;
}

video.gd-phone-media {
  cursor: pointer;
}

/* Iconița de play apare doar când video-ul e oprit de utilizator. */
.gd-phone.is-paused .gd-phone-screen::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.5-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5Z' fill='%23fff'/%3E%3C/svg%3E") center / 26px no-repeat,
    rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gd-phone figcaption {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--gd-muted);
  font-size: 0.85rem;
  text-align: center;
}

.gd-phone-label {
  color: var(--gd-ink);
  font-weight: 650;
}

.gd-phone-sound {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--gd-line);
  border-radius: 999px;
  background: #fff;
  color: var(--gd-ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.gd-phone-sound:hover {
  border-color: var(--gd-primary);
}

.gd-phone.is-sound .gd-phone-sound {
  border-color: var(--gd-primary);
  background: var(--gd-primary-softer, #effaf3);
  color: var(--gd-primary-strong);
}

.gd-phone-sound .gd-icon {
  width: 16px;
  height: 16px;
}

/* ---------- Secțiunea unui model: telefon + text ---------- */

.gd-model {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  margin: 1.2em 0 0.4em;
}

.gd-model-body > :first-child {
  margin-top: 0;
}

.gd-model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 1em 0 0;
}

.gd-prose .gd-model-tags .gd-chip {
  padding: 4px 11px;
  font-size: 0.8rem;
}

.gd-model-body .gd-callout {
  margin-top: 1.1em;
}

/* ---------- Rând de miniaturi (telefoane mici) ---------- */

.gd-phone-strip {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  margin: 1.4em 0;
}

.gd-prose .gd-phone-strip a {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  color: var(--gd-ink);
  text-align: center;
  text-decoration: none;
}

.gd-phone-mini {
  display: block;
  width: 100%;
  max-width: 128px;
  margin-bottom: 6px;
  padding: 4px;
  border-radius: 20px;
  background: linear-gradient(150deg, #3a3f45, #0b0d0f 55%, #2c3136);
  box-shadow: 0 14px 26px -16px rgba(9, 32, 20, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gd-prose .gd-phone-mini img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 1130;
  margin: 0;
  border: 0;
  border-radius: 16px;
  object-fit: cover;
}

.gd-prose .gd-phone-strip a:hover .gd-phone-mini {
  box-shadow: 0 20px 34px -18px rgba(9, 32, 20, 0.6);
  transform: translateY(-3px);
}

.gd-phone-strip strong {
  font-size: 0.9rem;
}

.gd-phone-strip small {
  color: var(--gd-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .gd-model {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gd-model-media {
    justify-self: center;
  }

  .gd-phone-strip {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    padding: 4px 16px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gd-phone-strip::-webkit-scrollbar {
    display: none;
  }

  .gd-prose .gd-phone-strip a {
    flex: 0 0 112px;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gd-phone-mini {
    transition: none;
  }
}

/* Două telefoane alăturate (de ex. fereastra Cu poze și Doar text). */
.gd-phone-pair {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  align-items: start;
  gap: 32px;
  margin: 1.4em 0;
}

@media (max-width: 720px) {
  .gd-phone-pair {
    gap: 12px;
  }

  .gd-phone-pair .gd-phone-frame {
    width: clamp(140px, 42vw, 220px);
    padding: 6px;
    border-radius: 30px;
  }

  .gd-phone-pair .gd-phone-screen {
    border-radius: 24px;
  }

  .gd-phone-pair .gd-phone-status {
    height: 22px;
    padding: 0 14px 0 16px;
    font-size: 9px;
  }

  .gd-phone-pair .gd-phone-island {
    top: 5px;
    height: 13px;
  }

  .gd-phone-pair .gd-phone-frame::before,
  .gd-phone-pair .gd-phone-frame::after {
    display: none;
  }
}

/* ---------- Comutator de limbă RO / EN (21 oct 2026) ----------
   Apare doar pe paginile care au o variantă în cealaltă limbă (hreflang). */

.gd-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--gd-line-strong);
  border-radius: 999px;
  color: var(--gd-muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.gd-lang:hover,
.gd-lang:focus-visible {
  border-color: var(--gd-primary);
  background: var(--gd-primary-softer);
  color: var(--gd-primary-ink);
}

.gd-lang .gd-icon {
  font-size: 1rem;
}

.gd-sidebar-links .gd-sidebar-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--gd-muted);
}

@media (max-width: 980px) {
  .gd-lang {
    height: 34px;
    padding: 0 10px;
  }
}

@media (max-width: 420px) {
  .gd-lang {
    padding: 0 9px;
  }

  .gd-lang .gd-icon {
    display: none;
  }
}

@media (max-width: 340px) {
  .gd-header .gd-lang {
    display: none;
  }
}
