:root {
  --help-header-bg: linear-gradient(to bottom right, #0F4C5C, #C84530);
  --help-header-color: #FFF7EF;
  --help-body-bg: #FFF7EF;
  --help-body-primary: #0F4C5C;
  --help-body-secondary: #7a726c;
  --help-footer-color: #7a726c;
  --help-card-bg: #ffffff;
  --help-card-border: #ece4d9;
  --help-card-radius: 0;
  --help-card-shadow: 0 8px 24px rgb(26 24 23 / 0.06);
  --help-primary: #0F4C5C;
  --help-primary-hover: #C84530;
  --help-max-width: 960px;
  --help-font: "Jost", system-ui, sans-serif;
}

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

body.help-desk {
  margin: 0;
  min-height: 100vh;
  font-family: var(--help-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--help-body-primary);
  background: var(--help-body-bg);
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.help-desk__header {
  color: var(--help-header-color);
}

.help-desk__header-bg {
  background: var(--help-header-bg);
  padding-bottom: 2.25rem;
  min-height: 245px;
}

.help-desk__header-inner {
  max-width: var(--help-max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
}

.help-desk__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.help-desk__logo img,
.help-desk__footer-logo img {
  display: block;
  height: 2rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.help-desk__topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.help-desk__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

@media (min-width: 768px) {
  .help-desk__menu-btn {
    display: none;
  }
}

.help-desk__lang {
  position: relative;
}

.help-desk__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.help-desk__lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.help-desk__flag {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.help-desk__flag--en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='b'%3E%3Cpath d='M30 15h30v15H30zM0 0h30v15H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23012169' d='M0 0v30h60V0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30m0-30L0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='4' d='M0 0l60 30m0-30L0 30' clip-path='url(%23b)'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/g%3E%3C/svg%3E");
}

.help-desk__flag--nl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Crect fill='%2321468B' width='9' height='6'/%3E%3Crect fill='%23FFF' y='2' width='9' height='2'/%3E%3Crect fill='%23AE1C28' y='4' width='9' height='2'/%3E%3C/svg%3E");
}

.help-desk__lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 10rem;
  padding: 0.25rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.12);
  z-index: 20;
}

.help-desk__lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  color: var(--help-body-primary);
  text-decoration: none;
  font-weight: 500;
}

.help-desk__lang-option:hover,
.help-desk__lang-option--active {
  background: #f2f2f2;
}

.help-desk__hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.help-desk__headline {
  margin: 0;
  max-width: 42rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

.help-desk__search-wrap {
  position: relative;
  width: 100%;
}

.help-desk__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.help-desk__search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--help-header-color);
  font: inherit;
  font-size: 1.125rem;
  outline: none;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.help-desk__search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.help-desk__search-input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.25);
}

.help-desk__main {
  position: relative;
  z-index: 1;
  margin-top: -1.5rem;
  padding: 0 1.25rem 3rem;
}

.help-desk__container {
  max-width: var(--help-max-width);
  margin: 0 auto;
}

.help-desk__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .help-desk__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 1.5rem;
  }
}

.help-desk__card {
  display: flex;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--help-card-border);
  border-radius: var(--help-card-radius);
  background: var(--help-card-bg);
  box-shadow: var(--help-card-shadow);
  transition: border-color 0.15s ease;
}

.help-desk__card:hover {
  border-color: rgba(51, 75, 250, 0.6);
}

.help-desk__card:hover .help-desk__card-title {
  color: var(--help-primary-hover);
}

.help-desk__card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  width: 100%;
}

.help-desk__card-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 2.25rem;
  height: 2.25rem;
}

.help-desk__card-icon .monogram {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.75rem;
}

.help-desk__card-desc {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: var(--help-body-secondary);
  line-height: 1.5;
}

.help-desk__card-icon img {
  width: 1.75rem;
  height: 1.75rem;
}

.help-desk__card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.help-desk__card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.help-desk__card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.help-desk__avatars {
  display: flex;
  flex-direction: row;
}

.help-desk__avatar {
  display: inline-flex;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 2px var(--help-body-bg);
}

.help-desk__avatar + .help-desk__avatar {
  margin-left: -0.375rem;
}

.help-desk__card-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1rem;
  color: var(--help-body-secondary);
  line-height: 1.2;
}

.help-desk__dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.help-desk__footer {
  margin-top: 6rem;
  padding: 3rem 1.25rem;
  background: var(--help-body-bg);
  text-align: center;
}

.help-desk__footer-inner {
  max-width: var(--help-max-width);
  margin: 0 auto;
}

.help-desk__footer-logo {
  display: inline-block;
}

.help-desk__footer-logo img {
  filter: contrast(0.8);
}

.help-desk__mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.help-desk__mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.help-desk__mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 20rem;
  height: fit-content;
  padding: 1rem;
  background: #fff;
  color: var(--help-body-primary);
}

.help-desk__mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.help-desk__mobile-menu-header button {
  display: flex;
  padding: 0.25rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.help-desk__mobile-lang {
  display: block;
  padding: 0.75rem 0;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.help-desk__mobile-lang--active {
  color: var(--help-primary-hover);
}
