@charset "UTF-8";

/* ============================================================
   Codility Help Center — 2026 brand theme
   Design system: Website Revamp 2026 (ultramarine + JetBrains
   Mono / Inter + coolgrey + banding element).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700;800&display=swap');

:root {
  /* ultramarine — primary */
  --c-ultramarine-500: #4A64E9;
  --c-ultramarine-600: #3C53C2;
  --c-ultramarine-800: #30418C;
  --c-ultramarine-900: #393C4B;
  --c-ultramarine-100: #E8ECFF;
  --c-ultramarine-50:  #F5F7FF;

  /* coolgrey — neutrals */
  --c-white:        #FFFFFF;
  --c-coolgrey-50:  #F8F9FA;
  --c-coolgrey-100: #F5F7F9;
  --c-coolgrey-150: #EDEFF1;
  --c-coolgrey-200: #E9EDF1;
  --c-coolgrey-300: #D8DFE4;
  --c-coolgrey-400: #B6BFC9;
  --c-coolgrey-500: #7E8891;
  --c-coolgrey-600: #5D666F;
  --c-coolgrey-800: #3B4148;
  --c-coolgrey-900: #252B30;

  /* accents */
  --c-raspberry-900: #C82372;
  --c-raspberry-950: #B30C5C;
  --c-raspberry-100: #FEEAF3;
  --c-sky:          #80D5FF;
  --c-sunset-800:   #FFDD00;
  --c-ink:          #253641;

  --c-strawberry-100: #FFE6E6;
  --c-strawberry-900: #C32F2F;
  --c-mint-100: #E6FBF3;
  --c-mint-900: #008253;
  --c-mango-100: #FFF1D6;
  --c-mango-900: #A06000;

  /* roles */
  --fg-1: var(--c-ultramarine-900);
  --fg-2: var(--c-coolgrey-600);
  --fg-3: var(--c-coolgrey-500);
  --bg-1: var(--c-white);
  --bg-2: var(--c-coolgrey-100);
  --bg-page: var(--c-coolgrey-50);
  --border-1: var(--c-coolgrey-300);
  --border-2: var(--c-coolgrey-200);
  --accent: var(--c-ultramarine-500);
  --accent-hover: var(--c-ultramarine-600);
  --accent-active: var(--c-ultramarine-800);

  --shadow-sm: 0 1px 2px rgba(182,191,201,.2);
  --shadow-md: 0 4px 16px rgba(182,191,201,.2);
  --shadow-lg: 0 12px 40px rgba(182,191,201,.35);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --font-display: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1160px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg-1);
  background: var(--bg-page);
  background-image: none;
}
main { display: block; }
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }

a { color: var(--accent); text-decoration: none; transition: color .2s cubic-bezier(.4,0,.2,1); }
a:hover { color: var(--accent-hover); text-decoration: underline; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--fg-1); margin: 0 0 16px; letter-spacing: -.01em; }
h1 { font-size: 32px; font-weight: 800; line-height: 1.15; }
h2 { font-size: 28px; font-weight: 800; line-height: 1.2; }
h3 { font-size: 22px; font-weight: 700; line-height: 1.25; }
h4 { font-size: 18px; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 16px; }
hr { border: 0; border-top: 1px solid var(--border-1); margin: 32px 0; }

.visibility-hidden, .element-invisible {
  border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px;
}

.container, .container-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}
.min-height { min-height: 60vh; }

/* Bootstrap container width tuning to match brand column */
@media (min-width: 992px) {
  .container.home-categories,
  .container.content-bg,
  .container.contact-section { max-width: 1000px; }
}

/* ============================================================
   Skip link
   ============================================================ */
.skip-navigation {
  position: absolute; left: -9999px; z-index: 999;
  background: var(--c-ultramarine-900); color: #fff;
  padding: 10px 18px; border-radius: 0 0 var(--radius-md) 0;
  font-weight: 600;
}
.skip-navigation:focus { left: 0; top: 0; color: #fff; }

/* ============================================================
   Header / nav
   ============================================================ */
.header-wrape {
  background: rgba(248,249,250,.8);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border-bottom: 1px solid var(--border-1);
  position: sticky; top: 0; z-index: 100;
}
.header {
  max-width: 1280px; margin: 0 auto;
  min-height: 72px;
  padding: 12px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo a { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 30px; width: auto; max-height: 30px; display: block; }
.logo .logo-rest { display: none; }
.logo span {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--fg-2); padding-left: 12px; border-left: 1px solid var(--border-1);
  letter-spacing: .01em; white-space: nowrap;
}

.nav-wrapper { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.nav-wrapper .menu-button {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--fg-1); padding: 8px; border-radius: var(--radius-md);
}
.nav-wrapper .menu-button:hover { background: var(--c-coolgrey-200); }

.user-nav { display: flex; align-items: center; gap: 4px; }
.user-nav a {
  color: var(--fg-1); font-weight: 500; padding: 8px 14px;
  border-radius: var(--radius-md); white-space: nowrap;
}
.user-nav a:hover { background: var(--c-coolgrey-200); color: var(--fg-1); text-decoration: none; }
.user-nav .search { display: none; }

.nav-wrapper a.sign-in {
  color: #fff; background: var(--accent);
  font-weight: 700; letter-spacing: .28px;
  padding: 9px 22px; border-radius: var(--radius-lg);
  border: 1px solid var(--accent); white-space: nowrap;
}
.nav-wrapper a.sign-in:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; text-decoration: none; }

/* user dropdown */
.user-info { position: relative; }
.user-info > button, .dropdown-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; cursor: pointer; color: var(--fg-1);
  font-family: var(--font-body); font-size: 15px; padding: 6px 10px;
  border-radius: var(--radius-md);
}
.user-info > button:hover { background: var(--c-coolgrey-200); color: var(--fg-1); }
.dropdown-chevron-icon { color: var(--fg-3); }

.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute; top: calc(100% + 6px); right: 0; left: auto;
  min-width: 200px; background: #fff; border: 1px solid var(--border-1);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 6px; z-index: 200; display: none;
  flex-direction: column;
}
.dropdown-menu[aria-hidden="false"], .dropdown.open .dropdown-menu { display: flex; }
.dropdown-menu a, .dropdown-menu [role="menuitem"] {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--fg-1); font-size: 14px; text-decoration: none;
}
.dropdown-menu a:hover, .dropdown-menu [role="menuitem"]:hover { background: var(--c-coolgrey-200); color: var(--fg-1); text-decoration: none; }
.dropdown-menu [role="menuitem"][aria-selected="true"] { font-weight: 600; }

/* ============================================================
   Buttons
   ============================================================ */
.button, .button-large, input[type="submit"],
.section-subscribe button, .article-subscribe button, .community-follow button,
.subscriptions-subscribe button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 16px; font-weight: 700;
  letter-spacing: .28px; line-height: 1.2;
  padding: 11px 24px; min-height: 44px;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); border-radius: var(--radius-lg);
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background .2s cubic-bezier(.4,0,.2,1), border-color .2s;
}
.button:hover, .button-large:hover, input[type="submit"]:hover {
  background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; text-decoration: none;
}
.button:active, .button-large:active, input[type="submit"]:active { background: var(--accent-active); border-color: var(--accent-active); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

.button-secondary, .button.secondary {
  background: #fff; color: var(--fg-1); border: 1px solid var(--border-1);
}
.button-secondary:hover { background: #fff; border-color: var(--c-ultramarine-900); color: var(--fg-1); }

.button-large { font-size: 18px; padding: 12px 28px; }

/* ============================================================
   Forms
   ============================================================ */
.form { max-width: 100%; }
.form-field ~ .form-field { margin-top: 24px; }
.form-field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; color: var(--fg-1); }
.form-field .optional { color: var(--fg-3); margin-left: 6px; font-weight: 400; }
.form-field p { color: var(--fg-2); font-size: 13px; margin: 8px 0 0; }

input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="search"], input[type="url"], input[type="tel"], input[type="date"],
select, textarea, .form-field input, .nesty-input {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--fg-1);
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-md);
  padding: 10px 14px; min-height: 44px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus, .form-field input:focus, .nesty-input:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--c-ultramarine-100); outline: none;
}
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; accent-color: var(--accent); }
.form-field input[type="checkbox"] + label { display: inline; margin: 0 0 0 8px; font-weight: 400; }
.form footer { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-2); }
.form footer a { color: var(--fg-2); cursor: pointer; }

/* ============================================================
   Tables
   ============================================================ */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--border-2); text-align: left; }
.table th { font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--fg-2); }
.table tbody tr:hover, .table tr:hover { background: var(--c-coolgrey-100); }

/* ============================================================
   Search field
   ============================================================ */
.search { position: relative; width: 100%; }
.search input[type="search"], .search input {
  width: 100%; height: 56px; padding: 0 20px 0 52px;
  border-radius: var(--radius-lg); border: 1px solid var(--border-1);
  background: #fff; font-size: 16px; box-shadow: var(--shadow-md);
}
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--c-ultramarine-100), var(--shadow-md); }
.search .search-icon, .search-container .search-icon, .hero-inner .search-icon { display: none; }
.search::before {
  content: ""; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; pointer-events: none;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237E8891' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
}
.search button[type="submit"] { display: none; }

/* compact search in sub-nav / header */
.search-container { position: relative; }
.search-container .search input { height: 44px; font-size: 14px; box-shadow: none; }
.search-full { max-width: 640px; margin: 0 auto; }

/* instant search results dropdown */
.search .instant-search-results, .instant-search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); overflow: hidden; text-align: left;
}
.instant-search-results a, .instant-search-results .instant-results-list-item {
  display: block; padding: 12px 16px; color: var(--fg-1); border-bottom: 1px solid var(--border-2);
}
.instant-search-results a:hover { background: var(--c-coolgrey-100); text-decoration: none; }

/* ============================================================
   Hero (home + community)
   ============================================================ */
.section { margin-bottom: 48px; }
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-1);
  padding: 88px 24px 96px;
  margin-bottom: 0;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; top: -120px; right: -160px;
  width: 720px; height: 560px; opacity: .9; pointer-events: none;
  background: no-repeat top right / contain;
  background-image: url("/hc/theming_assets/01KWHP1BH05CWHET0WP6E5F00C");
}
.hero::after {
  content: ""; position: absolute; bottom: -220px; left: -180px;
  width: 560px; height: 440px; opacity: .7; pointer-events: none;
  background: no-repeat bottom left / contain;
  background-image: url("/hc/theming_assets/01KWHP1BH05CWHET0WP6E5F00C");
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.hero-inner h1 {
  font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 28px;
  letter-spacing: -.02em;
}
.common-faqs {
  margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 8px 10px; font-size: 14px; color: var(--fg-2);
}
.common-faqs .col-lg-5, .common-faqs .col-lg-7 { padding: 0; width: auto; flex: 0 0 auto; max-width: none; }
.common-faqs .links { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.common-faqs .links a {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--border-1); color: var(--fg-1);
  font-weight: 500; font-size: 13px;
}
.common-faqs .links a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ============================================================
   Homepage — contact + categories
   ============================================================ */
.contact-section { margin: 56px auto 8px; }
.contact-section .row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.contact-section .col-lg-6 { flex: 0 0 auto; width: auto; max-width: none; padding: 0; }
.btn.send-email, .btn.send-ticket {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 11px 28px; border-radius: var(--radius-lg);
  font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: .28px;
}
.btn.send-email { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn.send-email:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; text-decoration: none; }
.btn.send-ticket { background: #fff; color: var(--fg-1); border: 1px solid var(--border-1); }
.btn.send-ticket:hover { border-color: var(--c-ultramarine-900); color: var(--fg-1); text-decoration: none; }

.home-categories { margin: 56px auto; }
.home-categories .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; }
.home-categories .col { padding: 0; width: auto; max-width: none; flex: initial; }
.home-categories .card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  height: 100%; background: #fff; border: 1px solid var(--border-1);
  border-radius: var(--radius-lg); padding: 36px 28px 32px;
  color: var(--fg-1); transition: box-shadow .2s cubic-bezier(.4,0,.2,1), border-color .2s, transform .2s;
}
.home-categories .card:hover { box-shadow: var(--shadow-md); border-color: var(--c-coolgrey-400); text-decoration: none; transform: translateY(-2px); }
.home-categories .img-wrap { height: 84px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.home-categories .card-img-top { width: 72px; height: 72px; max-height: 72px; }
.home-categories .card-body { display: flex; flex-direction: column; }
.home-categories .card-title {
  font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2;
  min-height: auto; margin: 0 0 10px; color: var(--fg-1);
}
.home-categories .card-text {
  font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: var(--fg-2); margin: 0;
}

.content-bg { margin: 24px auto 64px; }
.blank-content { min-height: 0; }

/* ============================================================
   Page header / sub-nav / breadcrumbs
   ============================================================ */
.page-header { margin: 8px 0 28px; }
.page-header h1 { margin-bottom: 8px; }
.page-header-description { font-size: 17px; color: var(--fg-2); font-style: normal; font-weight: 400; margin: 0; }

.sub-nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin: 24px 0 32px;
}
.sub-nav .search-container { min-width: 260px; flex: 0 1 320px; }

.breadcrumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; font-size: 14px; color: var(--fg-2); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li a { color: var(--fg-2); }
.breadcrumbs li a:hover { color: var(--accent); }
.breadcrumbs li + li::before { content: "›"; margin: 0 8px; color: var(--c-coolgrey-400); }
.breadcrumbs li:last-child a { color: var(--fg-1); font-weight: 500; }

/* ============================================================
   Category / section pages
   ============================================================ */
.category-container, .section-container { display: flex; justify-content: center; }
.category-content, .section-content { flex: 1; max-width: var(--wrap); }

.section-tree { display: flex; flex-direction: column; gap: 0; }
.section-tree .section {
  margin-bottom: 0; padding: 28px 0; border-bottom: 1px solid var(--border-2);
}
.section-tree .section:last-child { border-bottom: 0; }
.section-tree-title { margin-bottom: 12px; font-size: 20px; }
.section-tree-title a { color: var(--fg-1); }
.section-tree-title a:hover { color: var(--accent); }

.article-list { list-style: none; margin: 0; padding: 0; }
.article-list-item {
  font-size: 16px; padding: 12px 0; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border-2);
}
.article-list-item:last-child { border-bottom: 0; }
.article-list-link { color: var(--fg-1); }
.article-list-link:hover { color: var(--accent); }
.icon-star { color: var(--c-sunset-800); }
.icon-lock { color: var(--fg-3); }
.see-all-articles { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--accent); }
.category-empty, .section-empty { color: var(--fg-2); }

/* section sub-section list */
.section-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.section-list-item a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 16px 18px; background: #fff; border: 1px solid var(--border-1);
  border-radius: var(--radius-md); color: var(--fg-1); font-weight: 500;
}
.section-list-item a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.see-all-sections-trigger { display: inline-block; margin-top: 6px; color: var(--accent); cursor: pointer; font-weight: 600; }

/* ============================================================
   Article page
   ============================================================ */
.article-container { display: flex; justify-content: center; }
.article {
  flex: 1; max-width: 820px; background: #fff; border: 1px solid var(--border-1);
  border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-sm);
}
.article-header { margin-bottom: 28px; }
.article-title { font-size: 32px; line-height: 1.2; margin-bottom: 20px; }
.article-author { display: flex; align-items: center; gap: 12px; color: var(--fg-2); font-size: 14px; }
.article-avatar, .comment-avatar { position: relative; }
.avatar { display: inline-block; position: relative; }
.user-avatar { height: 40px; width: 40px; border-radius: 50%; object-fit: cover; }
.article-meta { display: flex; flex-direction: column; gap: 2px; }
.article-meta a { color: var(--fg-1); font-weight: 600; }
.article-meta .meta-group { margin: 0; }
.meta-group { list-style: none; margin: 0; padding: 0; display: inline-flex; flex-wrap: wrap; gap: 0; font-size: 13px; color: var(--fg-3); }
.meta-data { display: inline-flex; align-items: center; }
.meta-data:not(:last-child)::after { content: "\00B7"; margin: 0 8px; color: var(--c-coolgrey-400); }

.article-body { font-size: 17px; line-height: 1.7; color: var(--fg-1); }
.article-body h2 { font-size: 24px; margin: 36px 0 12px; }
.article-body h3 { font-size: 20px; margin: 28px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body img { border-radius: var(--radius-md); }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 18px; }
.article-body li { margin: 6px 0; }
.article-body blockquote {
  margin: 24px 0; padding: 16px 22px; border-left: 3px solid var(--accent);
  background: var(--c-coolgrey-100); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--fg-2);
}
.article-body code { font-family: var(--font-display); font-size: .9em; background: var(--c-coolgrey-100); padding: 2px 6px; border-radius: var(--radius-sm); }
.article-body pre { font-family: var(--font-display); background: var(--c-ink); color: #E9EDF1; padding: 20px; border-radius: var(--radius-md); overflow: auto; font-size: 14px; }
.article-body pre code { background: none; padding: 0; color: inherit; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--border-1); padding: 10px 14px; text-align: left; }
.article-body th { background: var(--c-coolgrey-100); }

.article-subscribe, .section-subscribe { margin-top: 12px; }

/* attachments */
.attachments { list-style: none; margin: 24px 0 0; padding: 0; }
.attachment-item { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--border-2); font-size: 14px; }
.attachment-icon { color: var(--fg-3); flex: 0 0 auto; }
.attachment-meta { margin-left: auto; }

/* article footer widgets (votes / related / comments) */
.article-votes, .article-more-questions, .article-footer, .article-relatives { margin-top: 32px; }
.article-votes { text-align: center; padding: 28px; background: var(--c-coolgrey-100); border-radius: var(--radius-lg); }
.article-votes-question { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.article-votes-controls { display: inline-flex; gap: 10px; }
.vote { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border: 1px solid var(--border-1); background: #fff; border-radius: var(--radius-pill); cursor: pointer; color: var(--fg-1); }
.vote:hover { border-color: var(--accent); color: var(--accent); }
.vote.vote-up.selected, .vote.vote-down.selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.article-relatives ul { list-style: none; padding: 0; margin: 0; }
.article-relatives li { padding: 8px 0; border-bottom: 1px solid var(--border-2); }

/* ============================================================
   Recent activity
   ============================================================ */
.recent-activity { margin: 24px 0; }
.recent-activity-header, .recent-activity-title { text-align: center; font-family: var(--font-display); font-weight: 800; }
.recent-activity-list { padding: 0; list-style: none; margin: 24px auto; max-width: 760px; }
.recent-activity-item { border-bottom: 1px solid var(--border-2); padding: 18px 0; overflow: auto; }
.recent-activity-item-parent { font-size: 15px; color: var(--fg-1); font-weight: 600; margin: 0 0 4px; }
.recent-activity-item-link { font-size: 15px; color: var(--accent); }
.recent-activity-item-meta, .recent-activity-item-time, .recent-activity-item-comment { color: var(--fg-3); font-size: 13px; }
.recent-activity-controls { padding-top: 18px; text-align: center; }

/* ============================================================
   Community
   ============================================================ */
.community-hero { padding: 72px 24px 80px; }
.community-hero .hero-inner .search-icon { display: none; }
.community-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.community-header .title { font-size: 24px; margin: 0; }
.community-header .dropdown-toggle { font-family: var(--font-display); }
.post-to-community { margin-left: auto; }

.topic-header { margin-bottom: 16px; }
.topic-filters { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.topic-filters .dropdown-toggle { border: 1px solid var(--border-1); background: #fff; padding: 8px 14px; border-radius: var(--radius-md); font-size: 14px; }

.striped-list, .posts-list { list-style: none; margin: 0 0 24px; padding: 0; border: 1px solid var(--border-1); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.striped-list-item {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px;
  border-bottom: 1px solid var(--border-2);
}
.posts-list section:last-child .striped-list-item { border-bottom: 0; }
.striped-list-item:hover { background: var(--c-coolgrey-100); }
.striped-list-info { flex: 1; min-width: 0; }
.striped-list-title { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--fg-1); margin-bottom: 6px; }
.striped-list-title:hover { color: var(--accent); }
.striped-list-count, .post-overview-count { display: flex; gap: 24px; text-align: center; color: var(--fg-2); font-size: 13px; flex: 0 0 auto; }
.striped-list-count-item { display: flex; flex-direction: column; }
.striped-list-count-item::after { content: none; }
.striped-list-number { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--fg-1); }
.post-featured, .striped-list-item.post-featured { background: var(--c-ultramarine-50); }

.promoted-articles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.promoted-articles-item a { display: block; padding: 16px 18px; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-md); color: var(--fg-1); font-weight: 500; }
.promoted-articles-item a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.community-featured-posts .title, .community-footer-title { font-family: var(--font-display); font-weight: 800; }
.community-footer { text-align: center; padding: 48px 24px; background: var(--c-coolgrey-100); border-radius: var(--radius-lg); margin: 32px auto; }
.community-footer-title { margin-bottom: 20px; }
.no-posts-with-filter, .no-posts { padding: 40px 24px; text-align: center; color: var(--fg-2); }

/* ============================================================
   Status labels
   ============================================================ */
.status-label {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.5;
  background: var(--c-coolgrey-200); color: var(--fg-2);
}
.status-label-pinned { background: var(--c-ultramarine-100); color: var(--c-ultramarine-800); }
.status-label-featured { background: var(--c-mango-100); color: var(--c-mango-900); }
.status-label-answered, .status-label-completed, .status-label-solved { background: var(--c-mint-100); color: var(--c-mint-900); }
.status-label-not_planned, .status-label-closed { background: var(--c-coolgrey-200); color: var(--fg-2); }
.status-label-open, .status-label-new { background: var(--c-strawberry-100); color: var(--c-strawberry-900); }

/* ============================================================
   Requests / activities / collapsible nav + sidebar
   ============================================================ */
.my-activities-nav { border-bottom: 1px solid var(--border-1); margin-bottom: 28px; }
.collapsible-nav-list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.collapsible-nav-list li { padding: 0; }
.collapsible-nav-list li, .collapsible-nav-list li a {
  display: inline-block; padding: 12px 16px; color: var(--fg-2); font-weight: 500;
  border-bottom: 2px solid transparent;
}
.collapsible-nav-list li a { padding: 0; }
.collapsible-nav-list li[aria-selected="true"] { color: var(--fg-1); font-weight: 700; border-bottom-color: var(--accent); }
.collapsible-nav-toggle { display: none; }

.request-title { margin: 8px 0 24px; }
.request-container { display: flex; gap: 32px; align-items: flex-start; }
.request-main { flex: 1; min-width: 0; }
.request-sidebar {
  flex: 0 0 300px; background: #fff; border: 1px solid var(--border-1);
  border-radius: var(--radius-lg); padding: 24px;
}
.collapsible-sidebar-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.request-details { margin: 0 0 20px; }
.request-details dt { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--fg-3); font-family: var(--font-display); font-weight: 700; margin-bottom: 2px; }
.request-details dd { margin: 0 0 12px; color: var(--fg-1); font-size: 14px; }
.request-details dd::after { content: ""; }
.collapsible-sidebar-toggle { display: none; }

/* comments */
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment { padding: 24px 0; border-bottom: 1px solid var(--border-2); }
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comment-meta span { font-weight: 600; color: var(--fg-1); }
.comment-body { font-size: 16px; line-height: 1.6; color: var(--fg-1); }
.comment-form { display: flex; gap: 16px; margin-top: 24px; }
.comment-container { flex: 1; }
.comment-show-container { width: 100%; text-align: left; padding: 14px 18px; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-md); color: var(--fg-2); cursor: pointer; }
.comment-fields { display: none; }
.comment-fields.shown { display: block; }
.comment-show-container.hidden { display: none; }
.comment-form-controls { display: flex; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.request-submit-comment { margin-left: auto; }
.hidden { display: none; }

/* satisfaction */
.satisfaction { margin-bottom: 24px; padding: 20px 24px; background: var(--c-coolgrey-100); border-radius: var(--radius-lg); }

/* ============================================================
   Search results page
   ============================================================ */
.search-page { max-width: 720px; margin: 0 auto 32px; }
.search-results { display: flex; gap: 32px; align-items: flex-start; }
.search-results-sidebar { flex: 0 0 240px; }
.search-results-column { flex: 1; min-width: 0; }
.search-results-subheading { font-size: 22px; margin-bottom: 20px; }
.filters-in-section { margin-bottom: 24px; }
.collapsible-sidebar-title.sidenav-title { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: var(--fg-2); margin-bottom: 12px; }
.multibrand-filter-list { list-style: none; margin: 0; padding: 0; }
.sidenav-item { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: var(--radius-sm); color: var(--fg-1); font-size: 14px; }
.sidenav-item:hover { background: var(--c-coolgrey-100); text-decoration: none; }
.sidenav-item.current { background: var(--c-ultramarine-50); color: var(--accent); font-weight: 600; }
.doc-count { color: var(--fg-3); }
.see-all-filters { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 8px 12px; font-size: 14px; }

.search-results-list { list-style: none; margin: 0; padding: 0; }
.search-result-list-item { padding: 24px 0; border-bottom: 1px solid var(--border-2); }
.search-result-title { font-size: 19px; margin-bottom: 8px; }
.search-result-title a { color: var(--fg-1); }
.search-result-title a:hover { color: var(--accent); }
.search-result-icons { display: inline-flex; gap: 16px; color: var(--fg-3); font-size: 13px; margin-bottom: 6px; }
.search-results-description { color: var(--fg-2); font-size: 15px; margin-top: 6px; line-height: 1.6; }
.search-result-breadcrumbs { font-size: 13px; }
.generative-answers, .generative_answers { margin-bottom: 24px; }

/* ============================================================
   Pagination
   ============================================================ */
/* Zendesk renders several pagination shapes: a nav.pagination with a
   .pagination-list + prev/next links, and simpler prev/next pagers on
   requests/subscriptions. Force every variant into one horizontal row. */
.pagination, .pager, nav.pagination {
  display: flex; flex-flow: row wrap; justify-content: center; align-items: center;
  gap: 8px; list-style: none; padding: 0; margin: 32px 0;
}
.pagination-list, .pagination-page-links {
  display: flex; flex-flow: row wrap; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.pagination-list li, .pagination-page-links li { margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span, .pager a, .pager span,
.pagination-page, .pagination-page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-md);
  color: var(--fg-1); font-weight: 500; font-size: 14px; border: 1px solid transparent; background: none;
}
.pagination a:hover, .pager a:hover,
.pagination-page:hover, .pagination-page-link:hover { background: var(--c-coolgrey-200); text-decoration: none; }
.pagination .current, .pagination [aria-current="page"],
.pagination-page.current, .pagination-page-link.current { background: var(--accent); color: #fff; border-color: var(--accent); }
/* prev / next / first / last controls — compact bordered chips, never big buttons */
.pagination-prev-link, .pagination-next-link, .pagination-first-link, .pagination-last-link,
.pagination-prev, .pagination-next, .pagination-first, .pagination-last {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 16px; border-radius: var(--radius-md);
  background: #fff; color: var(--fg-1); border: 1px solid var(--border-1);
  font-weight: 500; font-size: 14px; white-space: nowrap; letter-spacing: normal; min-height: 0;
}
.pagination-prev-link:hover, .pagination-next-link:hover, .pagination-first-link:hover, .pagination-last-link:hover,
.pagination-prev:hover, .pagination-next:hover, .pagination-first:hover, .pagination-last:hover {
  border-color: var(--c-ultramarine-900); color: var(--fg-1); background: #fff; text-decoration: none;
}

/* ============================================================
   Notifications / alerts
   ============================================================ */
.notification, .notification-inline, .alert {
  padding: 14px 18px; border-radius: var(--radius-md); margin-bottom: 20px;
  font-size: 14px; border: 1px solid var(--border-1); background: #fff;
}
.notification-error, .notification-inline.notification-error, .alert-error { background: var(--c-strawberry-100); border-color: #FFC8C8; color: var(--c-strawberry-900); }
.notification-success, .alert-success { background: var(--c-mint-100); border-color: #C9F2E3; color: var(--c-mint-900); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--c-ultramarine-900); color: #fff; margin-top: 80px;
}
.footer .wrap { max-width: 1280px; margin: 0 auto; padding: 56px 40px 36px; }
.footer__top {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__top-col { display: flex; flex-direction: column; gap: 18px; }
.footer__logo { display: block; max-width: 140px; }
.footer__logo-img { width: 100%; }
.footer__socials { display: flex; gap: 8px; }
.footer__socials-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.08); color: #fff;
}
.footer__socials-link:hover { background: var(--c-sky); color: var(--c-ultramarine-900); text-decoration: none; }
.footer__socials-link svg { width: 18px; height: 18px; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__tel-link { color: rgba(255,255,255,.85); font-size: 15px; }
.footer__tel-link:hover { color: #fff; text-decoration: none; }
.footer__copyright { padding-top: 24px; }
.copyright__rights { color: rgba(255,255,255,.55); font-size: 13px; }

/* Zendesk-inserted footer bits (language selector etc.) */
.footer-language-selector select { max-width: 220px; }

/* ============================================================
   User profile / generic content cards
   ============================================================ */
.user-profile, .activities-page { }
.card, .content-card {
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 24px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .home-categories .row { grid-template-columns: repeat(2, 1fr); }
  .request-container, .search-results { flex-direction: column; }
  .request-sidebar, .search-results-sidebar { flex: 1 1 auto; width: 100%; }
}
@media (max-width: 767px) {
  .header { padding: 12px 20px; }
  .logo span { display: none; }
  .nav-wrapper { gap: 4px; }
  .user-nav a { padding: 8px 10px; }
  .hero { padding: 56px 20px 64px; }
  .hero-inner h1 { font-size: 34px; }
  h1 { font-size: 26px; }
  h2 { font-size: 23px; }
  .home-categories .row { grid-template-columns: 1fr; }
  .article { padding: 28px 20px; }
  .footer .wrap { padding: 40px 20px 28px; }
  .footer__top { flex-direction: column; }
  .sub-nav { flex-direction: column; align-items: stretch; }
  .sub-nav .search-container { flex: 1 1 auto; }
  .striped-list-item { flex-direction: column; align-items: flex-start; gap: 12px; }
}
