/* API Method Badges */
.method-badge {
  display: inline-block;
  padding: 0.15em 0.5em;
  border-radius: 4px;
  font-size: 0.75em;
  font-weight: 700;
  font-family: var(--md-code-font-family);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  vertical-align: middle;
  margin-right: 0.4em;
}

.method-get    { background-color: #61affe; }
.method-post   { background-color: #49cc90; }
.method-put    { background-color: #fca130; }
.method-patch  { background-color: #50e3c2; }
.method-delete { background-color: #f93e3e; }

/* Endpoint path styling */
.endpoint-path {
  font-family: var(--md-code-font-family);
  font-size: 0.9em;
  font-weight: 600;
  color: var(--md-code-fg-color);
}

/* API tables — tighter */
.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  padding: 0.5em 0.75em;
}

/* Tab content spacing */
.md-typeset .tabbed-content {
  padding-top: 0.5em;
}

/* Hero section on landing page */
.hero-section {
  text-align: center;
  padding: 2rem 0;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hero-section p {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature grid on landing */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-card {
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--md-default-fg-color--lightest);
  background: var(--md-default-bg-color);
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}
