@charset "UTF-8";
/***** Normalize.css *****/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/* ==========================================================================
   Crumb Help Centre Theme - Based on Gemini Mockup
   ========================================================================== */

/* CSS Variables */
:root {
  --brand-orange: #F95426;
  --brand-orange-light: #FEF2EE;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --bg-primary: #FDFDFD;
  --bg-card: #FFFFFF;
  --bg-gray: #F9FAFB;
  --border-light: #F3F4F6;
  --border-medium: #E5E7EB;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--brand-orange);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 0.5em;
}

h1 { font-size: 1.875rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1rem; }

/* Utility Classes */
.visibility-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo img {
  height: 28px;
  width: auto;
}

.logo span {
  display: none;
}

/* Header Navigation */
.nav-wrapper-desktop {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-nav {
  display: flex;
  align-items: center;
}

.user-nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.user-nav-list li a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.user-nav-list li a:hover {
  background: var(--bg-gray);
  color: var(--text-primary);
}

.user-nav-list .submit-a-request {
  background: var(--brand-orange);
  color: white !important;
}

.user-nav-list .submit-a-request:hover {
  background: #E04A1F;
}

/* Mobile Navigation */
.nav-wrapper-mobile {
  display: none;
}

.menu-button-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s;
}

.menu-button-mobile:hover {
  background: var(--border-light);
}

.menu-button-mobile .user-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
}

.icon-menu {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-secondary);
}

.menu-list-mobile {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 1rem;
  width: 16rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 0.75rem;
  display: none;
  z-index: 200;
}

.menu-list-mobile[aria-expanded="true"] {
  display: block;
}

.menu-list-mobile-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list-mobile-items .item {
  margin: 0;
}

.menu-list-mobile-items .item a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}

.menu-list-mobile-items .item a:hover {
  background: var(--bg-gray);
}

.mobile-menu-item {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-item svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.nav-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.5rem 0;
}

.user-avatar-item {
  padding: 0.5rem !important;
}

.my-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-profile-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
}

.menu-profile-name {
  flex: 1;
}

.menu-profile-name > div:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.my-profile-tooltip {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* User Dropdown */
.user-info {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}

.dropdown-toggle:hover {
  background: var(--bg-gray);
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  object-fit: cover;
}

.dropdown-chevron-icon {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--text-muted);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  min-width: 12rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 0.5rem;
  display: none;
  z-index: 50;
}

.dropdown.is-open .dropdown-menu,
.dropdown[aria-expanded="true"] .dropdown-menu {
  display: block;
}

.dropdown-menu a,
.dropdown-menu [role="menuitem"] {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.dropdown-menu a:hover,
.dropdown-menu [role="menuitem"]:hover {
  background: var(--bg-gray);
}

.dropdown-menu .separator {
  height: 1px;
  background: var(--border-light);
  margin: 0.5rem 0;
}

/* Skip Navigation */
.skip-navigation {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 1rem;
  background: var(--brand-orange);
  color: white;
  border-radius: var(--radius-sm);
  z-index: 9999;
}

.skip-navigation:focus {
  top: 1rem;
}

/* ==========================================================================
   Hero Section (Home Page)
   ========================================================================== */
.hero {
  background: var(--bg-card);
  padding: 3rem 1.5rem 2rem;
}

.hero-inner {
  max-width: 40rem;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.search-wrapper {
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* Position icon centered in input */
.search-wrapper .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  z-index: 10;
  pointer-events: none;
}

/* Ensure search form doesn't add extra height */
.search-wrapper form[role="search"] {
  display: block;
}

/* Search */
.search-full,
.search {
  position: relative;
  width: 100%;
}

.search-full input,
.search input,
.search-full [type="search"],
.search [type="search"] {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.search-full input:focus,
.search input:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.search-full input::placeholder,
.search input::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}

/* Hide Zendesk search clear button */
.clear-button,
.search-wrapper .clear-button,
.hero .clear-button,
form[role="search"] .clear-button {
  display: none !important;
}

/* Instant search dropdown styling */
.hero .search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */
.container {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Widen container on article pages when sidebar is visible */
.container:has(.article-container) {
  max-width: 72rem;
  padding: 0 2rem;
}

.container-category {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-divider {
  display: none;
}

/* Sub Navigation */
.sub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 20rem;
}

.search-container input {
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.search-container .search-icon {
  position: absolute;
  width: 1rem;
  height: 1rem;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--brand-orange);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li::after {
  content: '/';
  color: var(--border-medium);
}

.breadcrumbs li:last-child::after {
  display: none;
}

/* ==========================================================================
   Categories Grid (Home Page)
   ========================================================================== */
.knowledge-base {
  padding: 2rem 0;
}

.categories.blocks {
  margin-bottom: 2rem;
}

.blocks-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blocks-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.blocks-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blocks-item:active {
  transform: scale(0.98);
}

.blocks-item-link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  height: 100%;
}

/* Category Icons */
.blocks-item-link::before {
  content: '';
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background-color: var(--brand-primary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  flex-shrink: 0;
}

/* Getting Started - Rocket icon (Orange) */
.blocks-item:nth-child(1) .blocks-item-link::before {
  background-color: #F95426;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E");
}

/* Account & Login - User icon (Blue) */
.blocks-item:nth-child(2) .blocks-item-link::before {
  background-color: #2563EB;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

/* Billing & Subscriptions - Credit Card icon (Green) */
.blocks-item:nth-child(3) .blocks-item-link::before {
  background-color: #10B981;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cline x1='2' x2='22' y1='10' y2='10'/%3E%3C/svg%3E");
}

/* Pet Profile - Paw print icon (Purple) */
.blocks-item:nth-child(4) .blocks-item-link::before {
  background-color: #A855F7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='8.5' cy='5.5' rx='1.5' ry='2'/%3E%3Cellipse cx='15.5' cy='5.5' rx='1.5' ry='2'/%3E%3Cellipse cx='5' cy='10.5' rx='1.5' ry='2'/%3E%3Cellipse cx='19' cy='10.5' rx='1.5' ry='2'/%3E%3Cpath d='M12 22c-3 0-5-2.5-5-5 0-1.5.5-2.5 1.5-3.5 1-.9 2-1.5 3.5-1.5s2.5.6 3.5 1.5c1 1 1.5 2 1.5 3.5 0 2.5-2 5-5 5z'/%3E%3C/svg%3E");
}

/* Safety & Alerts - Shield icon (Red) */
.blocks-item:nth-child(5) .blocks-item-link::before {
  background-color: #DC2626;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E");
}

/* SnoutID & Crumb Vet - Fingerprint/scan icon (Gray) */
.blocks-item:nth-child(6) .blocks-item-link::before {
  background-color: #4B5563;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12C2 6.5 6.5 2 12 2a10 10 0 0 1 8 4'/%3E%3Cpath d='M5 19.5C5.5 18 6 15 6 12c0-3.5 2.5-6 6-6 1.5 0 3 .5 4 1.5'/%3E%3Cpath d='M10 12c0 4-1 8-3 10'/%3E%3Cpath d='M14 12c0 2-.5 4-1.5 6'/%3E%3Cpath d='M18 12c0 1-.5 3-1 4'/%3E%3Cpath d='M22 12c0 5.5-4.5 10-10 10'/%3E%3C/svg%3E");
}

/* Only show the first 6 categories on the homepage */
.blocks-item:nth-child(n+7) {
  display: none;
}

.blocks-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.blocks-item-description {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Promoted Articles (Home Page)
   ========================================================================== */
.articles {
  padding: 1rem 0 0.5rem;
}

.articles h2 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.promoted-articles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.promoted-articles-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.promoted-articles-item:hover {
  background: var(--bg-gray);
}

.promoted-articles-item:active {
  transform: scale(0.98);
}

.promoted-articles-item a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.promoted-articles-item .icon-lock {
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* Accordion (Promoted Articles) */
.accordion-item {
  overflow: hidden;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  text-align: left;
}

.accordion-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.accordion-chevron {
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item[aria-expanded="true"] .accordion-body {
  max-height: 2000px;
}

.accordion-content {
  padding: 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.accordion-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1rem 0;
}

.accordion-content iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  border: none;
  margin: 1rem 0;
}

.accordion-loading {
  padding: 1rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.accordion-read-more {
  display: block;
  padding: 0.75rem 1.25rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-orange);
}

.accordion-read-more:hover {
  text-decoration: underline;
}

/* Remove default link styling on accordion items */
.promoted-articles-item.accordion-item a.accordion-toggle-link {
  padding: 0;
}

/* ==========================================================================
   Category & Section Pages
   ========================================================================== */
.category-container,
.section-container {
  padding: 1rem 0 2rem;
}

.category-content {
  flex: 1;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.page-header-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Section Tree */
.section-tree {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section-tree .section {
  padding: 0;
}

.section-tree-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-tree-title a {
  color: var(--text-primary);
}

.section-tree-title a:hover {
  color: var(--brand-orange);
}

/* Article List */
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  transition: all 0.2s;
}

.article-list-item:hover {
  background: var(--bg-gray);
  border-color: var(--border-medium);
}

.article-list-link {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.article-list-link:hover {
  color: var(--brand-orange);
}

.icon-star {
  color: var(--brand-orange);
  flex-shrink: 0;
}

.icon-lock {
  color: var(--text-muted);
  flex-shrink: 0;
}

.see-all-articles {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-orange);
}

.see-all-articles:hover {
  text-decoration: underline;
}

/* Section List */
.section-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-list-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s;
}

.section-list-item a:hover {
  background: var(--bg-gray);
  border-color: var(--border-medium);
}

.section-list-item svg {
  color: var(--text-muted);
}

/* Sidebar */
.sidebar {
  display: none;
}

/* ==========================================================================
   Article Page
   ========================================================================== */
.article-container {
  display: flex;
  gap: 2rem;
  padding: 1rem 0 2rem;
}

.article-sidebar {
  width: 16rem;
  flex-shrink: 0;
  display: none;
}

@media (min-width: 64rem) {
  .article-sidebar {
    display: block;
  }
}

#main-content.article {
  flex: 1;
  min-width: 0;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
}

.article-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.article-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.article-author {
  display: none;
}

.article-avatar {
  position: relative;
}

.article-avatar .user-avatar {
  width: 2.5rem;
  height: 2.5rem;
}

.article-avatar .icon-agent {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--bg-card);
  border-radius: 9999px;
  padding: 2px;
}

.article-meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.article-meta a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.meta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-data {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-subscribe {
  margin-top: 1rem;
}

.article-subscribe button,
.article-subscribe a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--bg-gray);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.article-subscribe button:hover,
.article-subscribe a:hover {
  background: var(--border-light);
  color: var(--text-primary);
}

/* Article Body */
.article-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Reduce top gap when video/iframe is the first element in article body */
.article-body > iframe:first-child,
.article-body > div:first-child:has(> iframe),
.article-body > p:first-child:has(> iframe),
.article-body > video:first-child {
  margin-top: 0.5rem;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 2rem auto;
  display: block;
}

.article-body a {
  color: var(--brand-orange);
  font-weight: 600;
  text-decoration: underline;
}

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body .callout,
.article-body .callout--warning,
.article-body .callout--info {
  background: var(--bg-gray);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin: 2rem 0;
}

.article-body .callout h2,
.article-body .callout__title {
  margin-top: 0;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.article-body .callout--warning {
  background: #FFFBEB;
  border-color: #FDE68A;
}

/* Video embeds - Loom, Wistia, YouTube, etc */
.article-body iframe,
.article-body video,
.article-body .video-container,
.article-body [data-video],
.article-body .wistia_embed,
.article-body .video-wrapper,
.article-body .loom-embed,
.article-body [class*="loom"],
.article-body [src*="loom.com"] {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  margin: 2rem 0 2.5rem 0;
  border: none;
  position: relative;
  clear: both;
  float: none;
  overflow: visible;
}

/* Wrapper divs around video embeds */
.article-body div:has(> iframe),
.article-body div:has(> video),
.article-body p:has(> iframe) {
  display: block;
  overflow: visible;
  margin-bottom: 2rem;
}

/* Ensure text after video has proper spacing */
.article-body iframe + p,
.article-body video + p,
.article-body div:has(> iframe) + p,
.article-body .video-container + p,
.article-body [data-video] + p {
  margin-top: 1.5rem !important;
  padding-top: 0.5rem;
  clear: both;
}

/* All paragraphs should have proper spacing */
.article-body p {
  margin-bottom: 1.5rem;
  margin-top: 0;
  overflow: visible;
}

/* Article Footer */
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-light);
  margin-top: 2rem;
}

.article-share {
  display: flex;
  gap: 0.5rem;
}

.article-comment-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Article Votes */
.article-votes {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-light);
}

.article-votes-question {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.article-votes-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.article-vote {
  flex: 1;
  max-width: 8rem;
  padding: 1rem 1.5rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  background: transparent;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.article-vote:hover {
  background: var(--bg-gray);
}

.article-vote:active {
  transform: scale(0.95);
}

.article-vote.button-primary,
.article-vote-up.button-primary,
.article-vote-down.button-primary {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
}

.article-votes-count,
.article-vote-label {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Article More Questions */
.article-more-questions {
  padding: 1.5rem 0;
  text-align: center;
}

.article-more-questions a {
  color: var(--brand-orange);
  font-weight: 600;
}

/* Article Return to Top */
.article-return-to-top {
  text-align: center;
  padding: 1rem 0;
}

.article-return-to-top a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.article-return-to-top a:hover {
  color: var(--brand-orange);
}

.article-return-to-top-icon {
  transform: rotate(180deg);
}

/* Article Relatives */
.article-relatives {
  margin-top: 2rem;
}

.recent-articles,
.related-articles {
  margin-bottom: 2rem;
}

.recent-articles h3,
.related-articles h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.recent-articles ul,
.related-articles ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-articles li,
.related-articles li {
  margin-bottom: 0.5rem;
}

.recent-articles a,
.related-articles a {
  display: block;
  padding: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
}

.recent-articles a:hover,
.related-articles a:hover {
  background: var(--border-light);
}

/* Collapsible Sidebar */
.collapsible-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1rem;
  position: sticky;
  top: 5rem;
}

.collapsible-sidebar-toggle {
  display: none;
}

.sidenav-title h2 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0;
}

.collapsible-sidebar-body ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.sidenav-item {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  margin-bottom: 0.25rem;
}

.sidenav-item:hover {
  background: var(--bg-gray);
  color: var(--text-primary);
}

.sidenav-item.current-article {
  background: var(--brand-orange-light);
  color: var(--brand-orange);
  font-weight: 600;
}

.article-sidebar-item {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-orange);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-favicon {
  height: 24px;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-favicon:hover {
  opacity: 0.8;
}

.footer-inner {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.footer-language-selector {
  font-size: 0.875rem;
}

.language-selector .dropdown-toggle {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
  list-style: none;
  margin: 0;
}

.pagination a,
.pagination span,
.pagination li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.pagination a:hover {
  background: var(--bg-gray);
  color: var(--text-primary);
}

.pagination .pagination-current,
.pagination .current {
  background: var(--brand-orange);
  color: white;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.button:hover {
  background: var(--bg-gray);
}

.button-primary {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: white;
}

.button-primary:hover {
  background: #E04A1F;
}

.button-large {
  padding: 1rem 2rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* WYSIWYG Editor */
.wysiwyg-editor {
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.wysiwyg-editor-toolbar {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border-light);
  padding: 0.5rem;
}

.wysiwyg-editor-content {
  min-height: 8rem;
  padding: 1rem;
}

/* ==========================================================================
   Comments
   ========================================================================== */
.article-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.comment-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.comment-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.comment-callout {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.comment-sorter .dropdown-toggle {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.comment-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-author {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.comment-avatar {
  position: relative;
  flex-shrink: 0;
}

.comment-avatar .user-avatar {
  width: 2.5rem;
  height: 2.5rem;
}

.comment-avatar .icon-agent {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--bg-card);
  border-radius: 9999px;
  padding: 2px;
}

.comment-meta {
  flex: 1;
  min-width: 0;
}

.comment-meta > span {
  display: block;
  font-weight: 600;
}

.comment-meta > span a {
  color: var(--text-primary);
}

.comment-labels {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.comment-body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.comment-actions-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.comment-vote {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.vote-up,
.vote-down {
  padding: 0.375rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}

.vote-up:hover,
.vote-down:hover {
  background: var(--bg-gray);
  color: var(--text-primary);
}

.vote-down {
  transform: rotate(180deg);
}

.vote-voted {
  color: var(--brand-orange);
}

.vote-sum {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 2rem;
  text-align: center;
}

.comment-form {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.comment-form .comment-avatar {
  flex-shrink: 0;
}

.comment-container {
  flex: 1;
}

.comment-form-controls {
  margin-top: 1rem;
  text-align: right;
}

/* ==========================================================================
   Search Results
   ========================================================================== */
.search-results {
  padding: 2rem 0;
}

/* Hide search sidebar filters (Type, Source, etc.) */
.search-results-sidebar {
  display: none;
}

.search-results-column {
  width: 100%;
}

.search-results-header {
  margin-bottom: 2rem;
}

.search-results-header h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.search-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-result {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.search-result:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.search-result-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.search-result-title a {
  color: var(--text-primary);
}

.search-result-title a:hover {
  color: var(--brand-orange);
}

.search-result-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.search-result-meta {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Activity Section
   ========================================================================== */
.activity {
  padding: 0;
}

.home-section {
  padding: 0;
}

/* ==========================================================================
   Empty States
   ========================================================================== */
.section-empty,
.category-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ==========================================================================
   Attachments
   ========================================================================== */
.article-attachments {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.attachments {
  list-style: none;
  margin: 0;
  padding: 0;
}

.attachment-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.attachment-icon {
  color: var(--text-muted);
  flex-shrink: 0;
}

.attachment-item > a {
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.attachment-meta {
  margin-left: auto;
  display: flex;
  gap: 0.75rem;
}

.attachment-meta-item {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Content Tags
   ========================================================================== */
.content-tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.content-tags > p {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.content-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-tag-item a {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--bg-gray);
  border-radius: 9999px;
  color: var(--text-secondary);
}

.content-tag-item a:hover {
  background: var(--border-light);
  color: var(--text-primary);
}

/* ==========================================================================
   Request/Ticket Pages
   ========================================================================== */
.request-container,
.request-form {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.request-form .form-field {
  margin-bottom: 1.5rem;
}

.request-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.request-form .nesty-input {
  width: 100%;
}

/* ==========================================================================
   Community Badges
   ========================================================================== */
.community-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--bg-gray);
  border-radius: 9999px;
  color: var(--text-muted);
}

.community-badge-titles {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.community-badge-achievements {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.community-badge-achievement img {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
}

.community-badge-achievements-rest {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Status Labels */
.status-label {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
  background: var(--bg-gray);
  color: var(--text-muted);
}

.status-label-pending-moderation {
  background: #FEF3C7;
  color: #D97706;
}

.escalation-badge {
  background: var(--brand-orange-light);
  color: var(--brand-orange);
}

/* ==========================================================================
   Avatar
   ========================================================================== */
.avatar {
  position: relative;
  display: inline-flex;
}

.avatar .icon-agent {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--bg-card);
  border-radius: 9999px;
  padding: 2px;
  width: 1rem;
  height: 1rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 48rem) {
  .nav-wrapper-desktop {
    display: none;
  }

  .nav-wrapper-mobile {
    display: block;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
  }

  .blocks-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .blocks-item-link {
    padding: 1rem;
  }

  #main-content.article {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 0 -0.5rem;
    border-left: none;
    border-right: none;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .article-container {
    padding: 0.5rem 0 2rem;
  }

  .sub-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container {
    max-width: none;
  }
}

@media (min-width: 48rem) and (max-width: 64rem) {
  .blocks-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 64rem) {
  .blocks-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .container-category {
    display: block;
  }

  .category-container {
    display: flex;
    gap: 2rem;
  }

  .sidebar {
    display: block;
    width: 16rem;
    flex-shrink: 0;
  }

  .categories-nav {
    position: sticky;
    top: 5rem;
  }

  .categories-nav h2 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
  }

  .categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .categories-list li {
    margin-bottom: 0.25rem;
  }

  .categories-list a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-radius: var(--radius-xs);
  }

  .categories-list a:hover {
    background: var(--bg-gray);
    color: var(--brand-orange);
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
  .header,
  .footer,
  .sub-nav,
  .article-sidebar,
  .article-votes,
  .article-more-questions,
  .article-return-to-top,
  .article-comments {
    display: none !important;
  }

  body {
    background: white;
  }

  #main-content.article {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}
