@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/***** Rayyan Font Override *****/
/* Force Plus Jakarta Sans regardless of the manifest font setting */
body,
input, textarea, select, button {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/***** 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; }
h1 { font-size: 2em; margin: 0.67em 0; }
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; }

/***** Rayyan Design Tokens *****/
:root {
  --rayyan-purple:       #5B3FE8;
  --rayyan-purple-dark:  #4530C0;
  --rayyan-purple-light: #EEE9FD;
  --rayyan-purple-mid:   #C4B5FA;
  --rayyan-navy:         #1A1B2E;
  --rayyan-navy-mid:     #3B3D5C;
  --rayyan-gray-700:     #4A4B5E;
  --rayyan-gray-400:     #9394A5;
  --rayyan-gray-200:     #E8E9F0;
  --rayyan-gray-100:     #F4F4F8;
  --rayyan-gray-50:      #FAFAFA;
  --rayyan-white:        #FFFFFF;
  --rayyan-border:       #E2E3EC;
  --rayyan-radius:       8px;
  --rayyan-radius-sm:    5px;
  --rayyan-shadow-sm:    0 1px 3px rgba(26, 27, 46, 0.08);
  --rayyan-shadow-md:    0 4px 16px rgba(26, 27, 46, 0.10);
  /* Brand accent */
  --ryn-teal:            #11e5b3;
  --ryn-teal-soft:       #e2fdf7;
  --ryn-teal-border:     #7df2d8;
  --ryn-teal-dark:       #0bbf96;
  --ryn-primary:         #32327f;
}

/***** Base *****/
* { box-sizing: border-box; }

body {
  background-color: #FFFFFF;
  color: rgba(0, 0, 0, 1);
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1024px) {
  body > main { min-height: 65vh; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  margin-top: 0;
  color: var(--rayyan-navy);
  line-height: 1.3;
}

h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 20px; font-weight: 600; }
h3 { font-size: 17px; font-weight: 600; }
h4 { font-size: 15px; font-weight: 600; }

a {
  color: var(--ryn-teal);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover, a:active, a:focus {
  color: var(--ryn-primary);
  text-decoration: underline;
}

a:visited {
  color: #32327f;
}

input, textarea {
  color: var(--rayyan-navy);
  font-size: 14px;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

input {
  max-width: 100%;
  box-sizing: border-box;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}

input:not([type="checkbox"]) { outline: none; }

input:not([type="checkbox"]):focus {
  border: 1px solid rgba(50, 50, 127, 1);
  box-shadow: 0 0 0 3px var(--rayyan-purple-light);
}

input[disabled] { background-color: var(--rayyan-gray-100); }

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%239394A5' d='M0 0h10L5 6 0 0z'/%3E%3C/svg%3E") no-repeat #fff;
  background-position: right 12px center;
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius-sm);
  padding: 9px 32px 9px 12px;
  outline: none;
  color: var(--rayyan-navy);
  width: 100%;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

select:focus {
  border: 1px solid rgba(50, 50, 127, 1);
  box-shadow: 0 0 0 3px var(--rayyan-purple-light);
}

select::-ms-expand { display: none; }

textarea {
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius-sm);
  resize: vertical;
  width: 100%;
  outline: none;
  padding: 10px 12px;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

textarea:focus {
  border: 1px solid rgba(50, 50, 127, 1);
  box-shadow: 0 0 0 3px var(--rayyan-purple-light);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

@media (min-width: 1160px) {
  .container { padding: 0; width: 90%; }
}

.container-divider {
  border-top: 1px solid var(--rayyan-border);
  margin-bottom: 20px;
}

ul { list-style: none; margin: 0; padding: 0; }

.error-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

@media (min-width: 1160px) {
  .error-page { padding: 0; width: 90%; }
}

.visibility-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/***** Buttons *****/
.button,
.split-button button,
.section-subscribe button,
.article-subscribe button,
.community-follow button,
.requests-table-toolbar .organization-subscribe button,
.subscriptions-subscribe button,
.pagination-next-link,
.pagination-prev-link,
.pagination-first-link,
.pagination-last-link {
  background-color: transparent;
  border: 1px solid rgba(50, 50, 127, 1);
  border-radius: var(--rayyan-radius-sm);
  color: rgba(50, 50, 127, 1);
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  line-height: 2.2;
  margin: 0;
  padding: 0 18px;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  user-select: none;
  white-space: nowrap;
  width: 100%;
  -webkit-touch-callout: none;
}

@media (min-width: 768px) {
  .button,
  .split-button button,
  .section-subscribe button,
  .article-subscribe button,
  .community-follow button,
  .requests-table-toolbar .organization-subscribe button,
  .subscriptions-subscribe button,
  .pagination-next-link,
  .pagination-prev-link,
  .pagination-first-link,
  .pagination-last-link {
    width: auto;
  }
}

.button:hover,
.button:active,
.button:focus,
.split-button button:hover,
.section-subscribe button:hover,
.article-subscribe button:hover,
.community-follow button:hover,
.requests-table-toolbar .organization-subscribe button:hover,
.subscriptions-subscribe button:hover,
.pagination-next-link:hover,
.pagination-prev-link:hover,
.pagination-first-link:hover,
.pagination-last-link:hover,
.button.button-primary,
.section-subscribe button[data-selected="true"],
.article-subscribe button[data-selected="true"],
.community-follow button[data-selected="true"],
.requests-table-toolbar .organization-subscribe button[data-selected="true"],
.subscriptions-subscribe button[data-selected="true"] {
  background-color: rgba(50, 50, 127, 1);
  color: rgba(17, 229, 179, 1);
  text-decoration: none;
}

.button.button-primary:hover,
.button.button-primary:focus,
.button.button-primary:active {
  background-color: var(--rayyan-purple-dark);
  border-color: var(--rayyan-purple-dark);
}

.button[data-disabled],
.split-button button[data-disabled],
.section-subscribe button[data-disabled],
.article-subscribe button[data-disabled],
.community-follow button[data-disabled],
.requests-table-toolbar .organization-subscribe button[data-disabled],
.subscriptions-subscribe button[data-disabled],
.pagination-next-link[data-disabled],
.pagination-prev-link[data-disabled],
.pagination-first-link[data-disabled],
.pagination-last-link[data-disabled] {
  cursor: default;
  opacity: 0.5;
}

.button-large,
input[type="submit"] {
  cursor: pointer;
  background-color: rgba(50, 50, 127, 1);
  border: 0;
  border-radius: var(--rayyan-radius-sm);
  color: rgba(17, 229, 179, 1);
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.72;
  min-width: 160px;
  padding: 0 1.8em;
  width: 100%;
  transition: background-color 0.15s ease;
}

@media (min-width: 768px) {
  .button-large, input[type="submit"] { width: auto; }
}

.button-large:hover,
.button-large:active,
.button-large:focus,
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus {
  background-color: var(--rayyan-purple-dark);
}

.button-large[disabled],
input[type="submit"][disabled] {
  background-color: var(--rayyan-gray-200);
  color: var(--rayyan-gray-400);
  cursor: not-allowed;
}

.button-secondary {
  color: var(--rayyan-gray-700);
  border: 1px solid var(--rayyan-border);
  background-color: transparent;
}

.button-secondary:hover,
.button-secondary:focus,
.button-secondary:active {
  color: var(--rayyan-navy);
  border: 1px solid var(--rayyan-gray-400);
  background-color: var(--rayyan-gray-100);
}

/***** Split button *****/
.split-button { display: flex; }

.split-button button {
  background-color: rgba(50, 50, 127, 1);
  border: 0;
  color: rgba(17, 229, 179, 1);
  height: 32px;
  line-height: 16px;
  outline-color: rgba(50, 50, 127, 1);
}

[dir="rtl"] .split-button button:not(:only-child):first-child {
  border-left: 1px solid rgba(255,255,255,0.3);
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}

[dir="ltr"] .split-button button:not(:only-child):first-child {
  border-right: 1px solid rgba(255,255,255,0.3);
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}

.split-button button:not(:only-child):last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  padding: 0;
}

[dir="rtl"] .split-button button:not(:only-child):last-child {
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}

[dir="ltr"] .split-button button:not(:only-child):last-child {
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}

/***** Tables *****/
.table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

@media (min-width: 768px) {
  .table { table-layout: auto; }
}

.table th,
.table th a {
  color: var(--rayyan-gray-400);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
}

[dir="rtl"] .table th,
[dir="rtl"] .table th a { text-align: right; }

.table tr {
  border-bottom: 1px solid var(--rayyan-border);
  display: block;
  padding: 20px 0;
}

@media (min-width: 768px) {
  .table tr { display: table-row; }
}

.table td { display: block; }

@media (min-width: 768px) {
  .table td { display: table-cell; }
}

@media (min-width: 1024px) {
  .table td, .table th { padding: 18px 24px; }
}

@media (min-width: 768px) {
  .table td, .table th { padding: 12px 16px; height: 56px; }
}

/***** Forms *****/
.form { max-width: 640px; }

.form-field ~ .form-field { margin-top: 22px; }

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--rayyan-navy-mid);
  margin-bottom: 6px;
}

.form-field input {
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius-sm);
  padding: 10px 12px;
  width: 100%;
}

.form-field input:focus {
  border: 1px solid rgba(50, 50, 127, 1);
  box-shadow: 0 0 0 3px var(--rayyan-purple-light);
}

.form-field input[type="text"] {
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius-sm);
}

.form-field input[type="text"]:focus {
  border: 1px solid rgba(50, 50, 127, 1);
}

.form-field input[type="checkbox"] { width: auto; }

.form-field .nesty-input {
  border-radius: var(--rayyan-radius-sm);
  height: 40px;
  line-height: 40px;
  outline: none;
  vertical-align: middle;
}

.form-field .nesty-input:focus {
  border: 1px solid rgba(50, 50, 127, 1);
  box-shadow: 0 0 0 3px var(--rayyan-purple-light);
  text-decoration: none;
}

.form-field .hc-multiselect-toggle:focus {
  outline: none;
  border: 1px solid rgba(50, 50, 127, 1);
  text-decoration: none;
}

.form-field textarea { vertical-align: middle; }

.form-field input[type="checkbox"] + label {
  margin: 0 0 0 8px;
  font-weight: 400;
}

.form-field .optional {
  color: var(--rayyan-gray-400);
  margin-left: 4px;
  font-size: 12px;
}

.form-field p {
  color: var(--rayyan-gray-400);
  font-size: 12px;
  margin: 4px 0;
}

.form footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rayyan-border);
}

.form footer a {
  color: var(--rayyan-gray-400);
  cursor: pointer;
  margin-right: 14px;
  font-size: 13px;
}

.form .suggestion-list {
  font-size: 13px;
  margin-top: 28px;
}

.form .suggestion-list label {
  border-bottom: 1px solid var(--rayyan-border);
  display: block;
  padding-bottom: 6px;
  font-weight: 500;
  color: var(--rayyan-navy-mid);
}

.form .suggestion-list li { padding: 10px 0; }

.form .suggestion-list li a:visited { color: var(--ryn-primary); }

/***** Header *****/
.header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  align-items: center;
  display: flex;
  height: 68px;
  justify-content: space-between;
}

@media (min-width: 1160px) {
  .header { padding: 0; width: 90%; }
}

/* Header wrapper — white bar */
body > .header-wrapper,
header.header {
  background-color: var(--rayyan-white);
}

/* Top border accent */
body::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #32327f 0%, #4a4ab5 100%);
}

/* Outer header container */
.header-outer {
  background: var(--rayyan-white);
  border-bottom: 1px solid var(--rayyan-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  max-height: 32px;
  vertical-align: middle;
}

/* Fallback text logo */
.logo-text-rayyan {
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #32327f;
  letter-spacing: -0.5px;
}

.logo-separator {
  font-size: 13px;
  font-weight: 400;
  color: var(--rayyan-gray-400);
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid var(--rayyan-border);
  vertical-align: middle;
}

.logo a {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.logo a:hover,
.logo a:focus,
.logo a:active { text-decoration: none; }

.user-nav {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .user-nav { position: relative; }
}

.user-nav[aria-expanded="true"] {
  background-color: var(--rayyan-white);
  box-shadow: var(--rayyan-shadow-md);
  border: 1px solid var(--rayyan-border);
  right: 0;
  left: 0;
  top: 68px;
  z-index: 1;
}

.user-nav[aria-expanded="true"] > a {
  display: block;
  margin: 16px 20px;
}

.nav-wrapper a {
  border: 0;
  color: var(--rayyan-gray-700);
  display: none;
  font-size: 13px;
  font-weight: 500;
  padding: 0 16px 0 0;
  width: auto;
}

@media (min-width: 768px) {
  .nav-wrapper a { display: inline-block; }
}

[dir="rtl"] .nav-wrapper a { padding: 0 0 0 16px; }

.nav-wrapper a:hover,
.nav-wrapper a:focus,
.nav-wrapper a:active {
  background-color: transparent;
  color: #32327f;
  text-decoration: none;
}

.nav-wrapper a.sign-in {
  display: inline-flex;
  align-items: center;
  background-color: #32327f;
  color: white;
  padding: 7px 16px;
  border-radius: var(--rayyan-radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.nav-wrapper a.sign-in:hover {
  background-color: var(--rayyan-purple-dark);
  color: white;
  text-decoration: none;
}

/* Submit a request link */
.nav-wrapper a.submit-a-request {
  display: none;
}

@media (min-width: 768px) {
  .nav-wrapper a.submit-a-request {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--rayyan-border);
    border-radius: var(--rayyan-radius-sm);
    padding: 6px 14px;
    color: var(--rayyan-gray-700);
    font-size: 13px;
    font-weight: 500;
    transition: border-color 0.15s, background-color 0.15s;
  }
  .nav-wrapper a.submit-a-request:hover {
    border-color: #32327f;
    color: #32327f;
    text-decoration: none;
  }
}

@media (max-width: 768px) {
  .nav-wrapper .hide-on-mobile {
    border: 0; clip: rect(0 0 0 0); -webkit-clip-path: inset(50%); clip-path: inset(50%);
    height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
    width: 1px; white-space: nowrap;
  }
}

.nav-wrapper .menu-button {
  background: none;
  border: 0;
  color: var(--rayyan-navy);
  display: inline-block;
  margin-right: 10px;
  padding: 0;
  width: auto;
}

@media (min-width: 768px) {
  .nav-wrapper .menu-button { display: none; }
}

.nav-wrapper .menu-button .icon-menu {
  vertical-align: middle;
  width: 18px;
  height: 18px;
}

[dir="rtl"] .nav-wrapper .menu-button { margin-left: 10px; margin-right: 0; }

.nav-wrapper .menu-button:hover,
.nav-wrapper .menu-button:focus,
.nav-wrapper .menu-button:active {
  background-color: transparent;
  color: #32327f;
}

.skip-navigation {
  align-items: center;
  background-color: var(--rayyan-navy);
  color: white;
  display: flex;
  font-size: 14px;
  justify-content: center;
  left: -999px;
  margin: 20px;
  padding: 14px 20px;
  overflow: hidden;
  position: absolute;
  top: auto;
  z-index: -999;
  border-radius: var(--rayyan-radius-sm);
}

[dir="rtl"] .skip-navigation { left: initial; right: -999px; }

.skip-navigation:focus,
.skip-navigation:active {
  left: auto;
  overflow: auto;
  text-align: center;
  text-decoration: none;
  top: auto;
  z-index: 999;
}

[dir="rtl"] .skip-navigation:focus,
[dir="rtl"] .skip-navigation:active { left: initial; right: auto; }

/***** User info in header *****/
.user-info { display: inline-block; }

.user-info .dropdown-toggle::after { display: none; }

@media (min-width: 768px) {
  .user-info .dropdown-toggle::after { display: inline-block; }
}

.user-info > button {
  border: 0;
  color: var(--rayyan-gray-700);
  min-width: 0;
  padding: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-info > button:hover,
.user-info > button:focus {
  color: #32327f;
  background-color: transparent;
}

#user #user-name {
  display: none;
  font-size: 13px;
  font-weight: 500;
}

@media (min-width: 768px) {
  #user #user-name { display: inline-block; }
}

#user #user-name:hover { text-decoration: underline; }

/***** User avatar *****/
.user-avatar {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  border: 2px solid var(--rayyan-purple-light);
}

.avatar {
  display: inline-block;
  position: relative;
}

.avatar img { height: 40px; width: 40px; border-radius: 50%; }

.avatar .icon-agent {
  color: rgba(50, 50, 127, 1);
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: -4px;
  background-color: var(--rayyan-white);
  font-size: 17px;
  height: 17px;
  line-height: 17px;
  position: absolute;
  right: -2px;
  text-align: center;
  width: 17px;
}

/***** Footer *****/
.footer {
  border-top: 1px solid var(--rayyan-border);
  margin-top: 60px;
  padding: 28px 0;
  background-color: var(--rayyan-gray-50);
}

.footer a {
  color: var(--rayyan-gray-400);
  font-size: 13px;
}

.footer a:hover {
  color: #32327f;
  text-decoration: none;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 1160px) {
  .footer-inner { padding: 0; width: 90%; }
}

.footer-language-selector button {
  color: var(--rayyan-gray-400);
  display: inline-block;
  font-size: 13px;
}

/***** Breadcrumbs *****/
.breadcrumbs {
  margin: 0 0 20px 0;
  padding: 0;
}

@media (min-width: 768px) {
  .breadcrumbs { margin: 0 0 4px 0; }
}

.breadcrumbs li {
  color: var(--rayyan-gray-400);
  display: inline;
  font-size: 13px;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs li + li::before {
  content: "/";
  margin: 0 6px;
  color: var(--rayyan-gray-200);
}

.breadcrumbs li a { color: var(--rayyan-gray-400); }

.breadcrumbs li a:hover { color: #32327f; }

.breadcrumbs li a:visited { color: var(--rayyan-gray-400); }

/***** Search field *****/
.search { position: relative; }

.search input[type="search"] {
  border: 1px solid var(--rayyan-border);
  border-radius: 24px;
  box-sizing: border-box;
  color: var(--rayyan-navy);
  height: 42px;
  padding-left: 42px;
  padding-right: 20px;
  -webkit-appearance: none;
  width: 100%;
  font-size: 14px;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}

[dir="rtl"] .search input[type="search"] {
  padding-right: 42px;
  padding-left: 20px;
}

.search input[type="search"]:focus {
  border: 1px solid rgba(50, 50, 127, 1);
  box-shadow: 0 0 0 3px var(--rayyan-purple-light);
  color: var(--rayyan-navy);
  outline: none;
}

.search-full input[type="search"],
.search-full input[type="text"],
.search-full input {
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.18);
  color: white !important;
  height: 52px;
  border-radius: 28px;
  font-size: 15px;
  padding-left: 50px;
  padding-right: 44px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
  transition: border 0.2s, background 0.2s, box-shadow 0.2s;
  caret-color: white;
  -webkit-text-fill-color: white !important;
}
.search-full input:-webkit-autofill,
.search-full input:-webkit-autofill:focus {
  -webkit-text-fill-color: white !important;
  box-shadow: 0 0 0 1000px rgba(50,50,127,0.8) inset !important;
}

.search-full input[type="search"]::placeholder { color: rgba(255,255,255,0.6); }

.search-full input[type="search"]:focus {
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.25);
  outline: none;
}

/* Clear (×) button inside search */
.search-full input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  height: 16px;
  width: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  opacity: 0.8;
}

.search-full input[type="search"]::-webkit-search-cancel-button:hover {
  opacity: 1;
}

/* Firefox clear button */
.search-full .clear-button,
.search-full [class*="clear"],
.search-full button[type="reset"] {
  color: white !important;
  opacity: 0.8;
}

.search-full .clear-button:hover,
.search-full [class*="clear"]:hover {
  opacity: 1;
  color: white !important;
}

.search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: var(--rayyan-gray-400);
  pointer-events: none;
}

.search-full .search-icon { color: rgba(255,255,255,0.7); left: 18px; }

[dir="rtl"] .search-icon { right: 16px; left: auto; }

.search-container { position: relative; }

/* Zendesk's clear search button (SVG icon) */
.search-full .search-clear-button,
.search-full button.clear,
.search-full [data-garden-id="forms.faux_input"] button,
.search-full .search button {
  color: white !important;
  opacity: 0.75;
  transition: opacity 0.15s;
}

.search-full .search-clear-button:hover,
.search-full button.clear:hover {
  opacity: 1;
  color: white !important;
  background: transparent !important;
}

.search-full .search-clear-button svg,
.search-full button.clear svg,
.search-full .search button svg {
  stroke: white !important;
  fill: white !important;
  color: white !important;
}

.community-hero .search-container .search-icon,
.community-hero .search .search-icon {
  display: none;
}

/* Hide stray search icon on community hero but keep our .search-wrapper icon */
.community-hero > .search-icon {
  display: none !important;
}
/* Zendesk's autocomplete/instant search dropdown */
.search-results-dropdown,
[data-garden-id="dropdowns.menu"],
.instant-search-result,
.search-result-link {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif !important;
}

/* The dropdown container */
.search .search-results,
.search-full .search-results {
  background: var(--rayyan-white);
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius);
  box-shadow: 0 8px 32px rgba(26,27,46,0.14);
  margin-top: 6px;
  overflow: hidden;
  padding: 0;
}

/* "Featured articles" h2 header inside dropdown */
.search .search-results h2,
.search-full .search-results h2,
.search .search-results-label,
.instant-search-type-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #6b6b85 !important;
  padding: 14px 18px 10px !important;
  margin: 0 !important;
  display: block;
  border-bottom: 1px solid var(--rayyan-border);
  text-align: left !important;
  background: #fafafd;
}

/* Result list */
.search .search-results ul,
.search-full .search-results ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual result items */
.search .search-results li,
.search-full .search-results li,
.search .instant-search-result,
.search .search-result {
  border-bottom: 1px solid var(--rayyan-border) !important;
  padding: 0 !important;
  margin: 0 !important;
  background: white;
  transition: background 0.12s;
}

.search .search-results li:last-child,
.search-full .search-results li:last-child {
  border-bottom: none !important;
}

.search .search-results li:hover,
.search-full .search-results li:hover {
  background: #e2fdf7 !important;
}

/* Result link wrapper */
.search .search-results li a,
.search-full .search-results li a,
.search .instant-search-result a,
.search .search-result a {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 10px 16px !important;
  text-decoration: none !important;
  color: #32327f !important;
}

/* Icon dot before each result */
.search .search-results li a::before,
.search-full .search-results li a::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background-color: #e2fdf7;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='12' height='13' rx='2' stroke='%2332327f' stroke-width='1.3'/%3E%3Cpath d='M4 5h6M4 7.5h4' stroke='%2332327f' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

/* Result title */
.search .search-results li a [class*="title"],
.search .search-results li a strong,
.search-result-title {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--rayyan-navy) !important;
  line-height: 1.4;
  display: block;
}

.search .search-results li:hover a [class*="title"],
.search .search-results li:hover a strong {
  color: #32327f !important;
}

/* Breadcrumb path */
.search .search-results li a [class*="breadcrumb"],
.search .search-results li a [class*="path"],
.search .search-results li a p,
.search-result-breadcrumb {
  font-size: 11px !important;
  color: var(--rayyan-gray-400) !important;
  margin: 2px 0 0 0 !important;
  display: block;
  line-height: 1.3;
}

/***** Hero component *****/
.hero {
  background: #32327f;
  background-image: linear-gradient(to right, transparent 65%, #32327f 100%), url(/hc/theming_assets/01KQYVX4K2SB1XE84WS60BJZTS);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 260px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 0;
  width: 100%;
}

.hero-eyebrow {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.hero-title {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title { font-size: 38px; }
}

.search-wrapper {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

/* Section heading style */
.section-heading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rayyan-gray-400);
  margin: 40px 0 20px;
}

.page-header {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10px 0;
}

@media (min-width: 768px) {
  .page-header {
    align-items: baseline;
    flex-direction: row;
    margin: 0;
  }
}

.page-header .section-subscribe {
  flex-shrink: 0;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .page-header .section-subscribe { margin-bottom: 0; }
}

.page-header h1 {
  flex-grow: 1;
  margin-bottom: 10px;
}

.page-header-description {
  color: var(--rayyan-gray-700);
  margin: 0 0 30px 0;
  word-break: break-word;
  font-size: 15px;
}

@media (min-width: 1024px) {
  .page-header-description { flex-basis: 100%; }
}

.page-header .icon-lock {
  height: 20px;
  width: 20px;
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.sub-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 28px;
  min-height: 48px;
  padding-bottom: 14px;
}

@media (min-width: 768px) {
  .sub-nav {
    align-items: baseline;
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .sub-nav input[type="search"] { min-width: 280px; }
}

/***** Blocks (category/section cards) *****/
.blocks-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  gap: 12px;
}

@media (min-width: 768px) {
  .blocks-list { margin: 0; }
}

.blocks-item {
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius);
  box-sizing: border-box;
  color: var(--rayyan-navy);
  display: flex;
  flex: 1 0 280px;
  max-width: 100%;
  background: var(--rayyan-white);
  box-shadow: var(--rayyan-shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

@media (min-width: 768px) {
  .blocks-item { flex: 1 0 260px; }
}

.blocks-item:hover,
.blocks-item:focus,
.blocks-item:active {
  border-color: #32327f;
  box-shadow: var(--rayyan-shadow-md);
  transform: translateY(-1px);
  background-color: var(--rayyan-white);
}

.blocks-item:hover *,
.blocks-item:focus *,
.blocks-item:active * {
  text-decoration: none;
}

.blocks-item-internal {
  background-color: transparent;
  border: 1px solid var(--rayyan-border);
}

.blocks-item-internal .icon-lock {
  height: 14px;
  width: 14px;
  bottom: 3px;
  position: relative;
}

.blocks-item-link {
  color: var(--rayyan-navy);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
  border-radius: inherit;
  gap: 4px;
}

.blocks-item-link:hover,
.blocks-item-link:active { text-decoration: none; }

.blocks-item-link:focus {
  outline: 0;
  box-shadow: 0 0 0 3px var(--rayyan-purple-light);
  text-decoration: none;
}

/* Remove the floating pseudo-element */
.blocks-item-link::before { display: none; }

.blocks-item-title {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--rayyan-navy);
  line-height: 1.3;
  padding-left: 10px;
  border-left: 3px solid #32327f;
}

.blocks-item:hover .blocks-item-title {
  border-left-color: #32327f;
}

/* Color-coded accent bars — cycling per card */
.blocks-list .blocks-item:nth-child(1) .blocks-item-title { border-left-color: #32327f; }
.blocks-list .blocks-item:nth-child(2) .blocks-item-title { border-left-color: #2E7CF6; }
.blocks-list .blocks-item:nth-child(3) .blocks-item-title { border-left-color: #0EA89B; }
.blocks-list .blocks-item:nth-child(4) .blocks-item-title { border-left-color: #1A7F5A; }
.blocks-list .blocks-item:nth-child(5) .blocks-item-title { border-left-color: #E8861A; }
.blocks-list .blocks-item:nth-child(6) .blocks-item-title { border-left-color: #C94B2D; }
.blocks-list .blocks-item:nth-child(7) .blocks-item-title { border-left-color: #B83CBD; }
.blocks-list .blocks-item:nth-child(8) .blocks-item-title { border-left-color: #2E7CF6; }
.blocks-list .blocks-item:nth-child(9) .blocks-item-title { border-left-color: #0EA89B; }
.blocks-list .blocks-item:nth-child(10) .blocks-item-title { border-left-color: #32327f; }
.blocks-list .blocks-item:nth-child(11) .blocks-item-title { border-left-color: #1A7F5A; }
.blocks-list .blocks-item:nth-child(12) .blocks-item-title { border-left-color: #E8861A; }

.blocks-item-description {
  margin: 0;
  font-size: 12px;
  color: var(--rayyan-gray-400);
  line-height: 1.45;
}

.blocks-item-description:empty { display: none; }

/***** Homepage *****/
.section { margin-bottom: 40px; }

@media (min-width: 768px) {
  .section { margin-bottom: 56px; }
}

.home-section h2 {
  margin-bottom: 10px;
  text-align: center;
}

/***** Promoted articles *****/
.promoted-articles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promoted-articles-item {
  flex: none;
  width: 100%;
  padding-right: 0;
}

.promoted-articles-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--rayyan-white);
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius);
  padding: 11px 16px;
  color: var(--rayyan-navy);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  transition: all 0.15s;
  text-decoration: none;
}

.promoted-articles-item a:hover {
  border-color: #32327f;
  box-shadow: var(--rayyan-shadow-md);
  color: #32327f;
  text-decoration: none;
  transform: translateY(-1px);
}

.promoted-articles-item a::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--rayyan-purple-light);
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='2' width='12' height='14' rx='2' stroke='%235B3FE8' stroke-width='1.5'/%3E%3Cpath d='M5 6h6M5 9h4' stroke='%235B3FE8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.promoted-articles-item .icon-lock { vertical-align: baseline; }

/* Promoted articles wrapper */
.articles {
  margin-top: 8px;
}

.articles h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rayyan-gray-400);
  margin-bottom: 12px;
  border-top: none;
  padding-top: 0;
}

/***** Community section *****/
.community {
  text-align: left;
  background: linear-gradient(to right, #252560 0%, #32327f 35%, #4040a8 65%, #5a5ac8 100%);
  border-radius: var(--rayyan-radius);
  padding: 36px 48px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  border-top: none;
}

.community h2,
.community .community-title {
  color: #FFFFFF !important;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.25;
  text-align: left;
}

.community-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55) !important;
  margin-bottom: 6px;
  text-align: left;
}

.community-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.75) !important;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 0;
  text-align: left;
}

.community-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.community-link,
.community-link,
a.community-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: #32327f !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--rayyan-radius-sm);
  text-decoration: none !important;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

.community-link:hover,
a.community-link:hover {
  background: #e2fdf7;
  color: #32327f !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-decoration: none !important;
}

.community-image { display: none; }

.community,
.activity {
  border-top: none;
  padding: 28px 0;
}

.community { padding: 0; margin-bottom: 0; }

/***** Recent activity *****/
.recent-activity-header {
  margin-bottom: 14px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recent-activity-header h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rayyan-gray-400);
  border-top: none;
  padding-top: 0;
  margin: 0;
}

.recent-activity-list {
  padding: 0;
  background: var(--rayyan-white);
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius);
  overflow: hidden;
}

.recent-activity-item {
  border-bottom: 1px solid var(--rayyan-border);
  overflow: hidden;
  padding: 8px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  transition: background 0.12s;
}

.recent-activity-item:last-child { border-bottom: none; }

.recent-activity-item:hover { background: var(--rayyan-gray-50); }

.recent-activity-item-parent {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rayyan-gray-400);
  margin-bottom: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  grid-column: 1;
  grid-row: 1;
  line-height: 1.2;
}

.recent-activity-item-parent a {
  color: var(--rayyan-gray-400);
  text-decoration: none;
}

.recent-activity-item-content {
  flex: 1;
  min-width: 0;
}

.recent-activity-item-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--rayyan-navy);
  transition: color 0.12s;
  display: block;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  grid-column: 1;
  grid-row: 2;
}

.recent-activity-item-link:hover { color: #32327f; text-decoration: none; }

.recent-activity-item-meta {
  grid-column: 2;
  grid-row: 1 / 3;
  float: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: end;
}

.recent-activity-item-time,
.recent-activity-item-comment {
  color: var(--rayyan-gray-400);
  display: inline-block;
  font-size: 11px;
  white-space: nowrap;
}

.recent-activity-item-comment { padding-left: 4px; }
[dir="rtl"] .recent-activity-item-comment { padding: 0 4px 0 0; }
.recent-activity-item-comment::before { display: inline-block; }

.recent-activity-controls { padding-top: 12px; }

.recent-activity-accessibility-label {
  border: 0; clip: rect(0 0 0 0); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
  width: 1px; white-space: nowrap;
}

.recent-activity-comment-icon svg {
  vertical-align: middle;
  color: rgba(50, 50, 127, 1);
  width: 15px;
  height: 15px;
}

.recent-activity-comment-icon:after {
  content: attr(data-comment-count);
  margin-left: 3px;
}

[dir="rtl"] .recent-activity-comment-icon:after { margin-left: 0; margin-right: 3px; }

/***** Category pages *****/
.category-container {
  display: flex;
  justify-content: flex-end;
}

.category-content {
  flex: 1;
}

@media (min-width: 1024px) {
  .category-content { flex: 0 0 80%; }
}

.section-tree {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .section-tree { flex-direction: row; }
}

.section-tree .section { flex: initial; }

@media (min-width: 768px) {
  .section-tree .section { flex: 0 0 45%; }
}

.section-tree-title {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 600;
}

.section-tree-title a { color: var(--rayyan-navy); }
.section-tree-title a:hover { color: #32327f; }

.section-tree .see-all-articles {
  display: block;
  padding: 12px 0;
  font-size: 13px;
}

.article-list-item {
  font-size: 15px;
  padding: 12px 0;
}

.article-list-item a {
  color: var(--rayyan-navy);
  transition: color 0.15s;
}

.article-list-item a:hover { color: #32327f; text-decoration: none; }

.icon-star {
  color: rgba(50, 50, 127, 1);
  font-size: 16px;
}

/***** Section pages *****/
.section-container {
  display: flex;
  justify-content: flex-end;
}

.section-content {
  flex: 1;
}

@media (min-width: 1024px) {
  .section-content { flex: 0 0 80%; }
}

.section-list { margin: 36px 0; }

.section-list-item {
  border-bottom: 1px solid var(--rayyan-border);
  font-size: 15px;
  padding: 14px 0;
}

.section-list-item:first-child { border-top: 1px solid var(--rayyan-border); }

.section-list-item a {
  align-items: center;
  color: var(--rayyan-navy);
  display: flex;
  justify-content: space-between;
  transition: color 0.15s;
}

.section-list-item a:hover { color: #32327f; text-decoration: none; }

.see-all-sections-trigger {
  cursor: pointer;
  display: block;
  padding: 14px;
  text-align: center;
  font-size: 13px;
  color: #32327f;
}

.see-all-sections-trigger[aria-hidden="true"] { display: none; }

/***** Article *****/
.article {
  flex: 1 0 auto;
}

@media (min-width: 1024px) {
  .article {
    flex: 1 0 66%;
    max-width: 66%;
    min-width: 0;
    padding: 0 16px;
  }
}

/* Article already has padding: 0 16px — no extra padding needed on children */
.article-header,
.article-footer,
.article-relatives,
.article-votes,
.article-more-questions {
  padding-left: 16px;
  padding-right: 16px;
}

.article-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .article-container { flex-direction: row; }
}

.article-header {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 36px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .article-header { flex-direction: row; margin-top: 0; }
}

.article-avatar { margin-right: 10px; }
.article-author { margin-bottom: 10px; }

@media (min-width: 768px) {
  .article-title { flex-basis: 100%; }
}

.article-title .icon-lock {
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.article [role="button"] {
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .article [role="button"] { width: auto; }
}

.article-info { max-width: 100%; }
.article-meta { display: inline-block; vertical-align: middle; }

.article-body img { height: auto; max-width: 100%; border-radius: var(--rayyan-radius-sm); }

.article-body ul,
.article-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 18px 0 18px 16px;
}

[dir="rtl"] .article-body ul,
[dir="rtl"] .article-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 16px;
}

.article-body ul > ul,
.article-body ol > ol,
.article-body ol > ul,
.article-body ul > ol,
.article-body li > ul,
.article-body li > ol { margin: 0; }

.article-body ul { list-style-type: disc; }

.article-body a:visited { color: #32327f; }

.article-body code {
  background: var(--rayyan-gray-100);
  border: 1px solid var(--rayyan-border);
  border-radius: 4px;
  padding: 1px 6px;
  margin: 0 2px;
  font-size: 13px;
  color: var(--rayyan-purple-dark);
}

.article-body pre {
  background: var(--rayyan-gray-100);
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius-sm);
  padding: 14px 18px;
  overflow: auto;
  white-space: pre;
  font-size: 13px;
}

.article-body blockquote {
  border-left: 3px solid var(--rayyan-purple-mid);
  color: var(--rayyan-gray-700);
  font-style: italic;
  padding: 0 18px;
  margin-left: 0;
}

.article-body > p:last-child { margin-bottom: 0; }

.article-content {
  line-height: 1.7;
  margin: 36px 0;
  word-wrap: break-word;
  font-size: 15px;
  color: var(--rayyan-navy);
}

.article-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
}

.article-comment-count {
  color: var(--rayyan-gray-400);
  font-size: 13px;
}

.article-comment-count:hover { text-decoration: none; }

.article-comment-count-icon {
  vertical-align: middle;
  color: rgba(50, 50, 127, 1);
  width: 16px;
  height: 16px;
}

.article-sidebar {
  border-bottom: 1px solid var(--rayyan-border);
  border-top: 1px solid var(--rayyan-border);
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}

@media (min-width: 1024px) {
  .article-sidebar {
    border: 0;
    flex: 0 0 14%;
    height: auto;
  }
}

.article-relatives {
  border-top: 1px solid var(--rayyan-border);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  gap: 32px;
}

@media (min-width: 768px) {
  .article-relatives { flex-direction: row; gap: 40px; }
}

.article-relatives > * {
  flex: 1 0 50%;
  min-width: 0;
  overflow-wrap: break-word;
  margin-right: 0;
}

.article-relatives > *:last-child { padding: 0; }

@media (min-width: 768px) {
  .article-relatives > * { padding-right: 20px; }
}

.article-votes {
  border-top: 1px solid var(--rayyan-border);
  padding: 28px 0;
  text-align: center;
}

.article-vote {
  margin: 8px 5px;
  min-width: 80px;
  width: auto;
}

.article-more-questions {
  margin: 10px 0 18px;
  text-align: center;
  font-size: 13px;
  color: var(--rayyan-gray-400);
}

.article-return-to-top {
  border-top: 1px solid var(--rayyan-border);
}

@media (min-width: 1024px) {
  .article-return-to-top { display: none; }
}

.article-return-to-top a {
  color: var(--rayyan-gray-700);
  display: block;
  padding: 18px 0;
  font-size: 13px;
}

.article-return-to-top a:hover { text-decoration: none; color: #32327f; }

.article-return-to-top-icon { transform: rotate(0.5turn); }

.sidenav-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rayyan-gray-400);
  position: relative;
  padding-bottom: 8px;
}

.sidenav-item {
  border-radius: var(--rayyan-radius-sm);
  color: var(--rayyan-gray-700);
  display: block;
  margin-bottom: 2px;
  padding: 8px 10px;
  font-size: 13px;
  transition: background-color 0.12s, color 0.12s;
}

.sidenav-item.current-article,
.sidenav-item:hover {
  background-color: rgba(50, 50, 127, 0.08);
  color: #32327f;
  text-decoration: none;
}

.sidenav-item.current-article {
  font-weight: 600;
}

.recent-articles-title,
.related-articles-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rayyan-gray-400);
  margin-bottom: 10px;
  margin-top: 0;
  font-size: 11px;
}

.recent-articles li,
.related-articles li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--rayyan-border);
}

.recent-articles li:first-child,
.related-articles li:first-child {
  border-top: 1px solid var(--rayyan-border);
}

.recent-articles li a,
.related-articles li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--rayyan-navy);
  text-decoration: none;
  transition: color 0.12s;
  line-height: 1.4;
}

.recent-articles li a::before,
.related-articles li a::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rayyan-purple-mid);
  transition: background 0.12s;
}

.recent-articles li a:hover,
.related-articles li a:hover {
  color: #32327f;
  text-decoration: none;
}

.recent-articles li a:hover::before,
.related-articles li a:hover::before {
  background: #32327f;
}

/***** Attachments *****/
.attachments .attachment-item {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.attachments .attachment-item:last-child { margin-bottom: 0; }

.attachments .attachment-item .attachment-icon {
  color: var(--rayyan-gray-400);
  left: 0;
  position: absolute;
  top: 4px;
}

[dir="rtl"] .attachments .attachment-item { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .attachments .attachment-item .attachment-icon { left: auto; right: 0; }

.upload-dropzone span { color: var(--rayyan-gray-400); }

/***** Social share links *****/
.share { padding: 0; white-space: nowrap; }

.share li, .share a { display: inline-block; }

.share li { height: 24px; width: 24px; }

.share a { color: var(--rayyan-gray-400); }

.share a:hover { text-decoration: none; color: #32327f; }

.share a svg { height: 16px; width: 16px; display: block; }

/***** Comments *****/
.comment {
  border-bottom: 1px solid var(--rayyan-border);
  padding: 20px 0;
}

.comment-heading,
.comment-heading {
  margin-bottom: 4px;
  margin-top: 0;
  font-size: 16px;
  font-weight: 600;
}

.recent-articles-title,
.related-articles-title {
  margin-bottom: 10px;
  margin-top: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rayyan-gray-400);
}

.comment-overview {
  border-bottom: 1px solid var(--rayyan-border);
  border-top: 1px solid var(--rayyan-border);
  padding: 18px 0;
}

.comment-overview p { margin-top: 0; }

.comment-callout {
  color: var(--rayyan-gray-400);
  display: inline-block;
  font-size: 12px;
  margin-bottom: 0;
}

.comment-callout a { color: rgba(50, 50, 127, 1); }

.comment-sorter {
  display: inline-block;
  float: right;
}

.comment-sorter .dropdown-toggle {
  color: var(--rayyan-gray-400);
  font-size: 12px;
}

[dir="rtl"] .comment-sorter { float: left; }

.comment-wrapper {
  display: flex;
  position: relative;
}

.comment-wrapper.comment-official {
  border: 1px solid var(--rayyan-purple-light);
  background: var(--rayyan-purple-light);
  border-radius: var(--rayyan-radius);
  padding: 40px 20px 20px;
}

@media (min-width: 768px) {
  .comment-wrapper.comment-official { padding-top: 20px; }
}

.comment-info {
  min-width: 0;
  padding-right: 20px;
  width: 100%;
}

[dir="rtl"] .comment-info { padding-right: 0; padding-left: 20px; }

.comment-author {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .comment-author { justify-content: space-between; }
}

.comment-avatar { margin-right: 10px; }
[dir="rtl"] .comment-avatar { margin-left: 10px; margin-right: 0; }

.comment-meta { flex: 1 0 auto; }
.comment-labels { flex-basis: 100%; }

@media (min-width: 768px) {
  .comment-labels { flex-basis: auto; }
}

.comment .status-label:not(.status-label-official) { margin-top: 10px; }

@media (min-width: 768px) {
  .comment .status-label:not(.status-label-official) { margin-top: 0; }
}

.comment-form {
  display: flex;
  padding-top: 28px;
  word-wrap: break-word;
}

.comment-container { width: 100%; }

.comment-form-controls {
  display: none;
  margin-top: 10px;
  text-align: left;
}

@media (min-width: 768px) {
  [dir="ltr"] .comment-form-controls { text-align: right; }
}

.comment-form-controls input[type="submit"] { margin-top: 12px; }

@media (min-width: 1024px) {
  .comment-form-controls input[type="submit"] { margin-left: 12px; }
  [dir="rtl"] .comment-form-controls input[type="submit"] { margin-left: 0; margin-right: 12px; }
}

.comment-form-controls input[type="checkbox"] { margin-right: 5px; }

.comment-ccs { display: none; }
.comment-ccs + textarea { margin-top: 10px; }
.comment-attachments { margin-top: 10px; }

.comment-attachments a { color: rgba(50, 50, 127, 1); }

.comment-body {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  line-height: 1.65;
  overflow-x: auto;
  font-size: 14px;
}

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

.comment-body ul,
.comment-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 16px 0 16px 16px;
}

[dir="rtl"] .comment-body ul,
[dir="rtl"] .comment-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 16px;
}

.comment-body ul > ul, .comment-body ol > ol,
.comment-body ol > ul, .comment-body ul > ol,
.comment-body li > ul, .comment-body li > ol { margin: 0; }

.comment-body ul { list-style-type: disc; }
.comment-body a:visited { color: rgba(50, 50, 127, 1); }

.comment-body code {
  background: var(--rayyan-gray-100);
  border: 1px solid var(--rayyan-border);
  border-radius: 4px;
  padding: 1px 5px;
  margin: 0 2px;
  font-size: 12px;
}

.comment-body pre {
  background: var(--rayyan-gray-100);
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius-sm);
  padding: 12px 16px;
  overflow: auto;
  white-space: pre;
}

.comment-body blockquote {
  border-left: 3px solid var(--rayyan-purple-mid);
  color: var(--rayyan-gray-700);
  font-style: italic;
  padding: 0 16px;
  margin-left: 0;
}

.comment-mark-as-solved { display: inline-block; }

/***** Vote *****/
.vote {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.vote a:active, .vote a:hover, .vote a:focus { text-decoration: none; }

.vote-sum {
  color: var(--rayyan-gray-400);
  display: block;
  margin: 3px 0;
  font-size: 13px;
}

[dir="rtl"] .vote-sum { direction: ltr; unicode-bidi: bidi-override; }

.vote-up svg { transform: scale(1, -1); }

.vote-up:hover, .vote-down:hover { color: #32327f; }

.vote-up, .vote-down {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  color: var(--rayyan-gray-400);
  cursor: pointer;
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.12s, color 0.12s;
}

.vote-up:hover, .vote-down:hover { background-color: #e2fdf7; }

.vote-voted { color: #32327f; }

.vote-voted:hover { color: #27266a; }

/***** Actions *****/
.actions { text-align: center; flex-shrink: 0; }

.actions button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--rayyan-gray-400);
  transition: background-color 0.12s, color 0.12s;
}

.actions button:hover {
  background-color: var(--rayyan-gray-100);
  color: var(--rayyan-navy);
}

/***** Community *****/
.community-hero { background-image: url(/hc/theming_assets/01KQYVX4K2SB1XE84WS60BJZTS); margin-bottom: 10px; }

.community-footer { padding-top: 48px; text-align: center; }

.community-footer-title { font-size: 15px; margin-bottom: 18px; }

.community-featured-posts .title { font-size: 17px; font-weight: 600; }

.community-featured-posts, .community-activity { padding-top: 36px; width: 100%; }

.community-header { margin-bottom: 28px; }

.community-header .title { margin-bottom: 0; font-size: 15px; }

.post-to-community { margin-top: 10px; }

@media (min-width: 768px) { .post-to-community { margin: 0; } }

.topics { max-width: none; width: 100%; }

.topics-item .meta-group { justify-content: center; margin-top: 18px; }

.topic-header {
  border-bottom: 1px solid var(--rayyan-border);
  font-size: 13px;
}

@media (min-width: 768px) { .topic-header { padding-bottom: 10px; } }

.topic-header .dropdown {
  display: block;
  border-top: 1px solid var(--rayyan-border);
  padding: 10px 0;
}

@media (min-width: 768px) {
  .topic-header .dropdown {
    border-top: 0;
    display: inline-block;
    margin-right: 18px;
    padding: 0;
  }
}

.no-posts-with-filter { margin-top: 18px; margin-bottom: 18px; }

.community-follow { margin-bottom: 10px; width: 100%; }

@media (min-width: 768px) { .community-follow { margin-bottom: 0; width: auto; } }

.community-follow button {
  line-height: 30px;
  padding: 0 10px 0 14px;
  position: relative;
  width: 100%;
}

@media (min-width: 768px) { .community-follow button { width: auto; } }

.community-follow button:hover { background-color: rgba(50, 50, 127, 1); }

.community-follow button:hover::after,
.community-follow button:focus::after {
  border-color: rgba(17, 229, 179, 1);
  color: rgba(17, 229, 179, 1);
}

.community-follow button[data-selected="true"] {
  background-color: rgba(50, 50, 127, 1);
  color: rgba(17, 229, 179, 1);
}

.community-follow button[data-selected="true"]::after {
  border-left: 1px solid rgba(17, 229, 179, 1);
  color: rgba(17, 229, 179, 1);
}

.community-follow button[data-selected="true"]:hover {
  background-color: var(--rayyan-purple-dark);
  border-color: var(--rayyan-purple-dark);
}

.community-follow button::after {
  border-left: 1px solid rgba(50, 50, 127, 1);
  content: attr(data-follower-count);
  color: rgba(50, 50, 127, 1);
  display: inline-block;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  margin-left: 14px;
  padding-left: 10px;
  position: absolute;
  right: 10px;
}

@media (min-width: 768px) { .community-follow button::after { position: static; } }

[dir="rtl"] .community-follow button::after {
  border-left: 0;
  border-right: 1px solid rgba(50, 50, 127, 1);
  margin: 0 10px 0 0;
  padding: 0 10px 0 0;
}

/***** Striped list *****/
.striped-list { padding: 0; }

.striped-list-item {
  align-items: flex-start;
  border-bottom: 1px solid var(--rayyan-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 0;
}

@media (min-width: 768px) {
  .striped-list-item { align-items: center; flex-direction: row; }
}

.striped-list-info { flex: 2; }

.striped-list-title {
  color: rgba(40, 114, 250, 1);
  margin-bottom: 8px;
  margin-right: 5px;
  font-size: 14px;
}

.striped-list-title:hover,
.striped-list-title:focus,
.striped-list-title:active { text-decoration: underline; }

.striped-list-title:visited { color: rgba(50, 50, 127, 1); }

.striped-list .meta-group { margin: 4px 0; }

.striped-list-count {
  color: var(--rayyan-gray-400);
  font-size: 12px;
  justify-content: flex-start;
  text-transform: capitalize;
}

@media (min-width: 768px) {
  .striped-list-count { display: flex; flex: 1; justify-content: space-around; }
}

.striped-list-count-item::after { content: "·"; display: inline-block; padding: 0 5px; }

@media (min-width: 768px) { .striped-list-count-item::after { display: none; } }

.striped-list-count-item:last-child::after { display: none; }

.striped-list-number { text-align: center; }

@media (min-width: 768px) {
  .striped-list-number { color: var(--rayyan-navy); display: block; }
}

/***** Status labels *****/
.status-label {
  background-color: #038153;
  border-radius: var(--rayyan-radius-sm);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  margin-right: 2px;
  padding: 3px 8px;
  vertical-align: middle;
  white-space: nowrap;
  display: inline-block;
  letter-spacing: 0.02em;
}

.status-label:hover, .status-label:active, .status-label:focus { text-decoration: none; }

.status-label-pinned,
.status-label-featured,
.status-label-official { background-color: rgba(50, 50, 127, 1); }

.status-label-official {
  border-radius: 0;
  margin-right: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .status-label-official {
    border-radius: 0 0 var(--rayyan-radius-sm) var(--rayyan-radius-sm);
    right: 30px;
    width: auto;
  }
}

[dir="rtl"] .status-label-official { left: 30px; right: auto; }

.status-label-not-planned, .status-label-closed {
  background-color: var(--rayyan-gray-200);
  color: var(--rayyan-gray-700);
}

.status-label-pending, .status-label-pending-moderation {
  background-color: #1f73b7;
  text-align: center;
}

.status-label-open { background-color: #c72a1c; }
.status-label-solved { background-color: #68737d; }
.status-label-new { background-color: #ffb648; color: #703b15; }
.status-label-hold { background-color: #000; }

/***** Post *****/
.post { flex: 1; margin-bottom: 10px; }

@media (min-width: 1024px) { .post { flex: 1 0 70%; max-width: 70%; } }

.post-container { display: flex; flex-direction: column; }

@media (min-width: 1024px) { .post-container { flex-direction: row; } }

.post-header {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 10px;
}

@media (min-width: 768px) { .post-header { align-items: baseline; flex-direction: row; } }

.post-header .status-label { vertical-align: super; }

.post-title { margin-bottom: 18px; width: 100%; }

@media (min-width: 768px) { .post-title { margin-bottom: 0; padding-right: 10px; } }

.post-title h1 { display: inline; vertical-align: middle; }

@media (min-width: 768px) { .post-title h1 { margin-right: 5px; } }

.post-author { align-items: flex-start; display: flex; justify-content: space-between; }
.post-avatar { margin-bottom: 28px; }

.post-content { font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif; line-height: 1.65; word-break: break-word; }

.post-info-container { display: flex; margin-bottom: 36px; }

.post-info { min-width: 0; padding-right: 20px; width: 100%; }
[dir="rtl"] .post-info { padding-right: 0; padding-left: 20px; }

.post-meta { display: inline-block; flex: 1; margin-left: 10px; vertical-align: middle; }
[dir="rtl"] .post-meta { margin-left: 0; margin-right: 10px; }

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

.post-body ul, .post-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 16px 0 16px 16px;
}

.post-body ul { list-style-type: disc; }
.post-body a:visited { color: rgba(50, 50, 127, 1); }

.post-body code {
  background: var(--rayyan-gray-100);
  border: 1px solid var(--rayyan-border);
  border-radius: 4px;
  padding: 1px 5px;
  margin: 0 2px;
}

.post-body pre {
  background: var(--rayyan-gray-100);
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius-sm);
  padding: 12px 16px;
  overflow: auto;
  white-space: pre;
}

.post-body blockquote {
  border-left: 3px solid var(--rayyan-purple-mid);
  color: var(--rayyan-gray-700);
  font-style: italic;
  padding: 0 16px;
  margin-left: 0;
}

.post-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
}

.post-comment-count { color: var(--rayyan-gray-400); }
.post-comment-count:hover { text-decoration: none; }

.post-comment-count .icon-comments {
  color: rgba(50, 50, 127, 1);
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 5px;
  vertical-align: middle;
}

.post-sidebar {
  border-top: 1px solid var(--rayyan-border);
  flex: 1;
  padding: 28px 0;
  text-align: center;
}

@media (min-width: 1024px) {
  .post-sidebar {
    border: 0;
    flex: 1 0 30%;
    padding: 0 0 0 44px;
    text-align: initial;
  }
  [dir="rtl"] .post-sidebar { padding: 0 44px 0 0; }
}

.post-sidebar-title { font-size: 16px; font-weight: 600; }

.post-comments { margin-bottom: 18px; }

@media (min-width: 1024px) { .post-comments { margin-bottom: 0; } }

/***** Community Badges *****/
.community-badge-title {
  background-color: #04444d;
  border-radius: var(--rayyan-radius-sm);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 0px 7px;
  vertical-align: top;
  white-space: nowrap;
  display: inline-flex;
  line-height: 18px;
  vertical-align: middle;
}

.profile-info .community-badge-title { padding: 2px 7px; line-height: 20px; }

.community-badge-container-achievements { display: flex; }

.community-badge-container-achievements > .community-badge-titles { margin-left: calc(28px - 0.5em); }

[dir="rtl"] .community-badge-container-achievements > .community-badge-titles { margin-right: calc(28px - 0.5em); }

.community-name-and-title-badges { display: flex; flex-wrap: wrap; }

.community-badge { margin: 2px; }

.community-badge-achievements { display: block; height: 16px; white-space: nowrap; width: 16px; }

.profile-info .community-badge-achievements { height: 40px; width: 40px; }

.community-title-badges { flex-basis: 100%; margin-top: 14px; }

.community-badge-achievements-rest {
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  vertical-align: top;
}

.community-badge-achievements img { width: 100%; height: 100%; }
.community-badge-titles img { width: 20px; height: 20px; }

.profile-info .community-badge-achievements-rest { line-height: 40px; font-size: 20px; }

/***** Collapsible nav *****/
.collapsible-nav {
  flex-direction: column;
  font-size: 13px;
  position: relative;
}

@media (min-width: 768px) { .collapsible-nav { flex-direction: row; } }

.collapsible-nav-border {
  border-bottom: 1px solid var(--rayyan-border);
  border-top: 1px solid var(--rayyan-border);
}

@media (min-width: 768px) { .collapsible-nav-border { border-top: 0; } }

.collapsible-nav-toggle {
  top: calc(45px / 2);
  transform: translateY(-50%);
  position: absolute;
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

@media (min-width: 768px) { .collapsible-nav-toggle { display: none; } }

[dir="rtl"] .collapsible-nav-toggle { left: 0; right: auto; }

.collapsible-nav-toggle-icon { display: none; }

.collapsible-nav-toggle[aria-expanded="false"] .chevron-icon { display: inline-block; }
.collapsible-nav-toggle[aria-expanded="true"] .x-icon { display: inline-block; }

.collapsible-nav-toggle:focus {
  outline: none;
  border: 1px solid rgba(50, 50, 127, 1);
  box-shadow: 0 0 0 3px var(--rayyan-purple-light);
}

.collapsible-nav-list { display: flex; flex-direction: column; }

@media (min-width: 768px) { .collapsible-nav-list { flex-direction: row; } }

.collapsible-nav-list li {
  color: var(--rayyan-gray-700);
  line-height: 44px;
  order: 1;
}

@media (min-width: 768px) {
  .collapsible-nav-list li {
    line-height: normal;
    margin-right: 28px;
  }
  [dir="rtl"] .collapsible-nav-list li { margin-left: 28px; margin-right: 0; }
  .collapsible-nav-list li a {
    text-decoration: none;
    padding: 14px 0;
  }
}

.collapsible-nav-list li a {
  color: var(--rayyan-gray-700);
  display: block;
  transition: color 0.12s;
}

.collapsible-nav-list li a:hover { color: #32327f; }

@media (min-width: 768px) {
  .collapsible-nav-list li:hover {
    border-bottom: 3px solid var(--rayyan-gray-200);
  }
  .collapsible-nav-list li:hover a:not([aria-current="page"]) {
    padding: 14px 0 11px 0;
    text-decoration: none;
  }
}

.collapsible-nav-list li:not([aria-selected="true"]),
.collapsible-nav-list li:not(.current) { display: none; }

@media (min-width: 768px) {
  .collapsible-nav-list li:not([aria-selected="true"]),
  .collapsible-nav-list li:not(.current) { display: block; }
}

@media (min-width: 768px) {
  .collapsible-nav-list li[aria-selected="true"] { padding: 14px 0 11px 0; }
}

.collapsible-nav-list li[aria-selected="true"],
.collapsible-nav-list li.current { order: 0; position: relative; }

@media (min-width: 768px) {
  .collapsible-nav-list li[aria-selected="true"],
  .collapsible-nav-list li.current {
    border-bottom: 3px solid rgba(50, 50, 127, 1);
    order: 1;
  }
}

.collapsible-nav-list li[aria-selected="true"] a,
.collapsible-nav-list li.current a { color: var(--rayyan-navy); font-weight: 600; }

.collapsible-nav[aria-expanded="true"] li:not([aria-selected="true"]),
.collapsible-nav[aria-expanded="true"] li:not(.current) { display: block; }

/***** Collapsible sidebar *****/
.collapsible-sidebar {
  flex: 1;
  max-height: 44px;
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

@media (min-width: 1024px) { .collapsible-sidebar { max-height: none; padding: 0; } }

.collapsible-sidebar-title { margin-top: 0; }

.collapsible-sidebar-toggle {
  position: absolute;
  top: calc(44px / 2);
  transform: translateY(-50%);
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

@media (min-width: 1024px) { .collapsible-sidebar-toggle { display: none; } }

[dir="rtl"] .collapsible-sidebar-toggle { left: 0; right: auto; }

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

.collapsible-sidebar-toggle[aria-expanded="false"] .chevron-icon { display: inline-block; }
.collapsible-sidebar-toggle[aria-expanded="true"] .x-icon { display: inline-block; }

.collapsible-sidebar-toggle:focus {
  outline: none;
  border: 1px solid rgba(50, 50, 127, 1);
  box-shadow: 0 0 0 3px var(--rayyan-purple-light);
}

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

@media (min-width: 1024px) { .collapsible-sidebar-body { display: block; } }

.collapsible-sidebar[aria-expanded="true"] { max-height: none; }

.collapsible-sidebar[aria-expanded="true"] .collapsible-sidebar-body { display: block; }

/***** My activities *****/
.my-activities-nav { background-color: var(--rayyan-gray-50); margin-bottom: 18px; }

.my-activities-sub-nav { margin-bottom: 28px; }

.my-activities-table .striped-list-title {
  display: block;
  margin-bottom: 8px;
  max-width: 340px;
  white-space: normal;
}

@media (min-width: 1024px) {
  .my-activities-table .striped-list-title {
    margin-bottom: 0;
    max-width: 480px;
    min-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.my-activities-table thead { display: none; }

@media (min-width: 768px) { .my-activities-table thead { display: table-header-group; } }

.my-activities-table th:first-child,
.my-activities-table td:first-child { padding-left: 0; }

@media (min-width: 1024px) {
  .my-activities-table th:first-child,
  .my-activities-table td:first-child { width: 480px; }
}

.my-activities-table th:last-child,
.my-activities-table td:last-child { padding-right: 0; }

.my-activities-table td:not(:first-child) { display: none; }

@media (min-width: 768px) { .my-activities-table td:not(:first-child) { display: table-cell; } }

.requests-search { width: 100%; }

.requests-table-toolbar {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) { .requests-table-toolbar { flex-direction: row; } }

.requests-table-toolbar .search { flex: 1; width: 100%; }

.requests-table-toolbar .request-table-filter { width: 100%; }

@media (min-width: 768px) { .requests-table-toolbar .request-table-filter { width: auto; } }

.requests-table-toolbar .request-filter { display: block; }

@media (min-width: 768px) {
  .requests-table-toolbar .request-filter { margin: 0 0 0 28px; }
  [dir="rtl"] .requests-table-toolbar .request-filter { margin: 0 28px 0 0; }
}

.requests-table-toolbar .request-filter-label { font-size: 12px; margin-top: 28px; }

@media (min-width: 768px) { .requests-table-toolbar .request-filter-label { margin-top: 0; } }

.requests-table-toolbar select { max-height: 40px; margin-bottom: 28px; width: 100%; }

@media (min-width: 768px) { .requests-table-toolbar select { margin-bottom: 0; max-width: 280px; width: auto; } }

@media (min-width: 768px) {
  .requests-table-toolbar .organization-subscribe { margin-left: 10px; }
  [dir="rtl"] .requests-table-toolbar .organization-subscribe { margin: 0 10px 0 0; }
}

.requests-table-toolbar .organization-subscribe button { line-height: 40px; max-height: 40px; padding: 0 18px; }

.requests-table-toolbar + .requests-search-info { margin-top: 14px; }

.requests-table-toolbar + .requests-search-info.meta-data::after { content: ""; margin: 0; }

.requests-table-toolbar + .requests-search-info + .requests { margin-top: 18px; }

.requests-table-toolbar + .requests { margin-top: 36px; }

.requests .requests-table-meta { display: block; }

@media (min-width: 768px) { .requests .requests-table-meta { display: none; } }

.requests .requests-table thead { display: none; }

@media (min-width: 768px) { .requests .requests-table thead { display: table-header-group; } }

.requests .requests-table-info { display: block; }

@media (min-width: 768px) { .requests .requests-table-info { display: table-cell; vertical-align: middle; width: auto; } }

.requests .requests-table .requests-link { position: relative; }

.requests .requests-table .requests-sort-symbol { position: absolute; left: calc(100% + 3px); bottom: 0; font-size: 10px; }

@media (min-width: 768px) { .subscriptions-subscribe button { width: auto; } }

.subscriptions-table td:last-child { display: block; }

@media (min-width: 768px) { .subscriptions-table td:last-child { display: table-cell; } }

.subscriptions-table td:first-child { display: flex; align-items: center; }

.subscriptions-table .user-avatar { margin-right: 10px; }

.subscriptions .striped-list-title { display: inline-block; vertical-align: middle; }

.contributions-table td:last-child { color: var(--rayyan-gray-400); font-size: 12px; }

@media (min-width: 768px) {
  .contributions-table td:last-child { color: inherit; font-size: inherit; font-weight: inherit; }
}

.no-activities { color: var(--rayyan-gray-400); }

/***** Request *****/
.request-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 1024px) { .request-container { align-items: flex-start; flex-direction: row; } }

.request-container .comment-container { min-width: 0; }

.request-breadcrumbs { margin-bottom: 36px; }

@media (min-width: 1024px) { .request-breadcrumbs { margin-bottom: 52px; } }

.request-main { flex: 1 0 auto; order: 1; }

.request-main .comment-fields,
.request-main .request-submit-comment { display: none; }

.request-main .comment-fields.shown { display: block; }
.request-main .request-submit-comment.shown { display: inline; }

@media (min-width: 1024px) { .request-main { flex: 0 0 66%; order: 0; min-width: 0; } }

.request-main .comment-form-controls { display: block; }
.request-main .comment-ccs { display: block; }

.request-main .comment-show-container {
  border-radius: var(--rayyan-radius-sm);
  border: 1px solid var(--rayyan-border);
  color: var(--rayyan-gray-400);
  text-align: inherit;
  padding: 8px 22px;
  width: 100%;
}

.request-main .comment-show-container.hidden { display: none; }

.request-main .form-field.comment-ccs > ul { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

.request-main .form-field.comment-ccs > ul[data-hc-focus="true"] { border: 1px solid rgba(50, 50, 127, 1); }

.request-main .form-field.comment-ccs > input[type="text"] { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

.request-main .comment-ccs + textarea { border-top-left-radius: 0; border-top-right-radius: 0; margin-top: 0; }

.request-main .comment-ccs + textarea:focus { border-top: 1px solid rgba(50, 50, 127, 1); }

.request-main input#mark_as_solved { display: none; }

.request-title { width: 100%; }

@media (min-width: 1024px) {
  .request-title { border-bottom: 1px solid var(--rayyan-border); margin-bottom: 0; max-width: 66%; padding-bottom: 18px; }
}

.request-sidebar {
  border-bottom: 1px solid var(--rayyan-border);
  border-top: 1px solid var(--rayyan-border);
  flex: 1 0 auto;
  order: 0;
}

@media (min-width: 1024px) {
  .request-sidebar {
    background-color: var(--rayyan-gray-50);
    border: 0;
    border-radius: var(--rayyan-radius);
    font-size: 13px;
    flex: 0 0 auto;
    padding: 0 18px;
    width: 30%;
  }
}

.request-sidebar h2 { font-size: 14px; font-weight: 600; position: relative; }

@media (min-width: 1024px) { .request-sidebar h2 { display: none; } }

.request-details {
  border-bottom: 1px solid var(--rayyan-border);
  font-size: 0;
  margin: 0;
  padding-bottom: 18px;
}

.request-details:last-child { border: 0; }

.request-details dt, .request-details dd { display: inline-block; vertical-align: top; font-size: 13px; margin: 18px 0 0 0; }

.request-details dd { padding: 0 10px; width: 60%; }

.request-details dd::after { content: "\A"; white-space: pre; }

.request-details dt { color: var(--rayyan-gray-400); width: 40%; }

.request-details .request-collaborators { display: inline-block; }

.request-attachments dt, .request-attachments dd { width: 100%; }

.request-attachments dd { margin: 10px 0 0 0; }

.request-form textarea { min-height: 120px; }

.request-follow-up { padding-top: 18px; }

/***** Pagination *****/
.pagination { margin: 20px 0; text-align: center; }

.pagination-next, .pagination-prev, .pagination-first, .pagination-last { display: inline-block; }

.pagination-first-link, .pagination-last-link { padding: 0 10px; }

.pagination-first-text, .pagination-last-text {
  border: 0; clip: rect(0 0 0 0); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
  width: 1px; white-space: nowrap;
}

.pagination-next-link { padding-right: 10px; }
.pagination-next-text { margin-right: 10px; }
[dir="rtl"] .pagination-next-link { padding-left: 10px; }
[dir="rtl"] .pagination-next-text { margin-left: 10px; }

.pagination-prev-link { padding-left: 10px; }
.pagination-prev-text { margin-left: 10px; }
[dir="rtl"] .pagination-prev-link { padding-right: 10px; }
[dir="rtl"] .pagination-prev-text { margin-right: 10px; }

/***** Metadata *****/
.meta-group { display: block; }

.meta-group-opposite { float: right; }
[dir="rtl"] .meta-group-opposite { float: left; }

.meta-group * { display: inline; }

.meta-data { color: var(--rayyan-gray-400); font-size: 12px; }

.meta-data:not(:last-child)::after { content: "\00B7"; margin: 0 5px; }

/***** User Profiles *****/
.profile-header {
  padding: 28px 0;
  background-color: var(--rayyan-gray-50);
  border-bottom: 1px solid var(--rayyan-border);
}

.profile-header .container { display: flex; flex-wrap: wrap; }

@media (min-width: 768px) { .profile-header .container { flex-wrap: nowrap; } }

.profile-header .profile-info { flex-basis: 100%; display: flex; flex-wrap: wrap; min-width: 0; }

.profile-avatar { position: relative; line-height: 0; align-self: center; margin-right: 10px; }
[dir="rtl"] .profile-avatar { margin-left: 10px; margin-right: 0; }

.profile-avatar .user-avatar { width: 72px; height: 72px; border-radius: 50%; }

.profile-avatar .icon-agent { bottom: 0; right: 0; }

.profile-header .basic-info {
  -moz-hyphens: auto; -ms-hyphens: auto; -webkit-hyphens: auto;
  word-break: break-word; word-wrap: break-word;
  display: flex; flex-direction: column; justify-content: center;
  flex-grow: 1; flex-basis: 0; min-width: 0;
}

.profile-header .basic-info .name { margin: 0; line-height: 24px; font-weight: 600; }

.profile-header .options {
  display: flex; flex-basis: 100%; margin-top: 12px;
  align-items: flex-start; flex-wrap: wrap;
}

@media (min-width: 768px) {
  .profile-header .options {
    flex-wrap: nowrap; flex-basis: auto; margin-top: 0; margin-left: 10px;
  }
  [dir="rtl"] .profile-header .options { margin-left: 0; margin-right: 10px; }
  .profile-header .options > :not(:last-child) { margin-bottom: 0; margin-right: 10px; }
  [dir="rtl"] .profile-header .options > :not(:last-child) { margin-left: 10px; margin-right: 0; }
}

.user-profile-actions { width: 100%; margin-bottom: 14px; }

.profile-header .description {
  -moz-hyphens: auto; -ms-hyphens: auto; -webkit-hyphens: auto;
  word-break: break-word; word-wrap: break-word;
  margin: 14px 0; flex-basis: 100%; font-size: 14px; color: var(--rayyan-gray-700);
}

.profile-stats { font-size: 13px; display: flex; flex-direction: column; flex-basis: 100%; }

.profile-stats .stat { display: flex; margin-bottom: 10px; }

.profile-stats .stat-label { color: var(--rayyan-gray-400); flex: 0 0 100px; margin-right: 10px; }
[dir="rtl"] .profile-stats .stat-label { margin-left: 10px; margin-right: 0; }

.profile-stats-activity { border-top: solid 1px var(--rayyan-border); margin-top: 14px; }

@media (min-width: 768px) { .profile-stats-activity { border-top: 0; flex-direction: row; } }

@media (min-width: 768px) { .profile-stats-activity .stat { flex-direction: column; } }

.profile-stats-activity .stat:first-child { margin-top: 10px; }

@media (min-width: 768px) { .profile-stats-activity .stat:first-child { margin-top: 0; } }

@media (min-width: 768px) {
  .profile-stats-activity .stat:not(:last-child) { margin-right: 36px; }
  [dir="rtl"] .profile-stats-activity .stat:not(:last-child) { margin-left: 36px; margin-right: 0; }
}

@media (min-width: 768px) { .profile-stats-activity .stat-label { flex: 0 1 auto; } }

.profile-stats-counters { border-bottom: solid 1px var(--rayyan-border); }

@media (min-width: 768px) {
  .profile-stats-counters { flex: 0 0 190px; border-bottom: 0; margin-left: 36px; }
  [dir="rtl"] .profile-stats-counters { margin-left: 0; margin-right: 36px; }
}

@media (min-width: 1024px) {
  .profile-stats-counters { flex: 0 0 260px; margin-left: 52px; }
  [dir="rtl"] .profile-stats-counters { margin-right: 52px; margin-left: 0; }
}

@media (min-width: 768px) { .profile-stats-counters .stat { flex-direction: column; } }

@media (min-width: 1024px) { .profile-stats-counters .stat { flex-direction: row; } }

@media (min-width: 768px) { .profile-stats-counters .stat:not(:last-child) { margin-bottom: 14px; } }

@media (min-width: 768px) { .profile-stats-counters .stat-label { flex: 0 1 auto; } }

@media (min-width: 1024px) { .profile-stats-counters .stat-label { flex: 0 0 100px; } }

.profile-private-badge {
  flex-basis: 100%;
  border: solid 1px var(--rayyan-purple-mid);
  border-radius: var(--rayyan-radius-sm);
  color: #32327f;
  padding: 4px 16px;
  font-size: 12px;
  text-align: center;
}

.profile-private-badge .profile-private-icon { margin-left: 5px; line-height: 14px; }

@media (min-width: 768px) { .profile-private-badge { flex-basis: auto; } }

.profile-nav { background-color: var(--rayyan-gray-50); margin-bottom: 32px; border-bottom: 1px solid var(--rayyan-border); }

.profile-section { width: 100%; }

@media (min-width: 1024px) { .profile-section { width: calc(100% - 320px); } }

.profile-section-header { display: flex; flex-wrap: wrap; }

.profile-section-title { flex-basis: 100%; margin-bottom: 0; }

.profile-section-description {
  flex-basis: 100%; padding: 10px 0;
  color: var(--rayyan-gray-400); font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (min-width: 768px) { .profile-section-description { flex: 1 0 50%; padding-bottom: 0; } }

.profile-section-sorter { flex-basis: 100%; border-top: solid 1px var(--rayyan-gray-100); font-size: 13px; }

.profile-section-sorter .dropdown-toggle { padding: 10px 0; width: 100%; }

.profile-section-sorter .dropdown-toggle::after { position: absolute; right: 0; }
[dir="rtl"] .profile-section-sorter .dropdown-toggle::after { left: 0; right: initial; }

@media (min-width: 768px) {
  .profile-section-sorter .dropdown-toggle::after { position: relative; }
  .profile-section-sorter { flex: 0 1 auto; padding-top: 0; border-top: 0; margin-left: 18px; }
  [dir="rtl"] .profile-section-sorter { margin-left: 0; margin-right: 18px; }
}

.profile-badges-items { margin-top: 22px; }

.profile-badges-item {
  border-top: 1px solid var(--rayyan-border);
  display: flex; flex: 1; flex-direction: row;
  justify-content: flex-start; padding: 24px 10px;
}

.profile-badges-item > div { padding-right: 10px; padding-left: 10px; }

.profile-badges-item-image { height: 40px; width: 40px; margin-right: 10px; }

.profile-badges-item-image img { max-height: 40px; }
[dir="rtl"] .profile-badges-item-image { margin-left: 10px; margin-right: 0; }

.profile-badges-item-title, .profile-badges-item-metadata-title { font-size: 14px; margin-bottom: 8px; }

.profile-badges-item-title { font-weight: 600; }

.profile-badges-item-description, .profile-badges-item-metadata-description {
  color: var(--rayyan-gray-400); font-size: 12px; margin: 0;
}

.profile-badges-item-metadata { margin-left: auto; text-align: right; }
[dir="rtl"] .profile-badges-item-metadata { margin-left: 0; margin-right: auto; text-align: left; }

.profile-contribution {
  -moz-hyphens: auto; -ms-hyphens: auto; -webkit-hyphens: auto;
  word-break: break-word; word-wrap: break-word;
  padding: 18px 0; position: relative;
}

.profile-contribution-header { margin-bottom: 4px; }

.profile-contribution-title {
  margin: 0 0 4px 0; display: inline;
  line-height: 20px; font-size: 14px; vertical-align: middle;
}

.profile-contribution-body { margin: 8px 0; }

.profile-contribution-list > .profile-contribution { border-top: 1px solid var(--rayyan-gray-100); }

@media (min-width: 768px) {
  .profile-contribution-list > .profile-contribution { padding-left: 28px; }
  [dir="rtl"] .profile-contribution-list > .profile-contribution { padding-right: 28px; padding-left: 0; }
}

.profile-contribution-list > .profile-contribution:last-child { border-bottom: 1px solid var(--rayyan-gray-100); }

.profile-contribution-icon { left: 0; position: absolute; color: var(--rayyan-gray-200); line-height: 24px; }
[dir="rtl"] .profile-contribution-icon { right: 0; }
.profile-contribution-icon svg { vertical-align: middle; }

.profile-contribution-list .profile-contribution-header { margin-left: 28px; }
[dir="rtl"] .profile-contribution-list .profile-contribution-header { padding-right: 28px; padding-left: 0; }

@media (min-width: 768px) {
  .profile-contribution-list .profile-contribution-header { margin-left: 0; }
  [dir="rtl"] .profile-contribution-list .profile-contribution-header { padding-right: 0; }
}

.profile-comments .profile-contribution-breadcrumbs { margin-left: 28px; }
[dir="rtl"] .profile-comments .profile-contribution-breadcrumbs { padding-right: 28px; padding-left: 0; }

@media (min-width: 768px) {
  .profile-comments .profile-contribution-breadcrumbs { margin-left: 0; }
  [dir="rtl"] .profile-comments .profile-contribution-breadcrumbs { padding-right: 0; }
}

.profile-section .no-activity,
.profile-section .private-activity { display: block; margin-top: 36px; color: var(--rayyan-gray-400); }

.private-activity-icon { margin-right: 10px; }
[dir="rtl"] .private-activity-icon { margin-right: 0; margin-left: 10px; }

.profile-activity-list { margin-top: 22px; }

.profile-activity { position: relative; padding-bottom: 28px; }

@media (min-width: 768px) {
  .profile-activity { padding-left: 20px; }
  [dir="rtl"] .profile-activity { padding-right: 20px; padding-left: 0; }
}

@media (min-width: 768px) {
  .profile-activity:not(:last-child) { border-left: 1px solid var(--rayyan-border); }
  [dir="rtl"] .profile-activity:not(:last-child) { border-left: 0; border-right: 1px solid var(--rayyan-border); }
}

.profile-activity-header { display: flex; align-items: center; margin-left: 34px; }
[dir="rtl"] .profile-activity-header { margin-left: 0; margin-right: 34px; }

@media (min-width: 768px) {
  .profile-activity-header { margin-left: 0; }
  [dir="rtl"] .profile-activity-header { margin-right: 0; }
}

.profile-activity-header .user-avatar { width: 40px; height: 40px; margin-right: 10px; min-width: 40px; align-self: flex-start; }
[dir="rtl"] .profile-activity-header .user-avatar { margin-left: 10px; margin-right: 0; }

.profile-activity-description {
  -moz-hyphens: auto; -ms-hyphens: auto; -webkit-hyphens: auto;
  word-break: break-word; word-wrap: break-word;
  margin: 0; min-width: 0; width: 100%;
}

.profile-activity-description span:first-child { font-weight: 600; display: inline; }

.profile-activity-contribution {
  padding: 18px;
  margin-top: 10px;
  border-radius: var(--rayyan-radius);
  background-color: var(--rayyan-gray-50);
  border: 1px solid var(--rayyan-border);
}

@media (min-width: 768px) {
  .profile-activity-contribution { margin-top: 0; margin-left: 48px; }
  [dir="rtl"] .profile-activity-contribution { margin-left: 0; margin-right: 48px; }
}

.profile-activity-icon {
  position: absolute; left: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background-size: 14px 14px; background-repeat: no-repeat;
  background-color: var(--rayyan-white);
  background-position: 50% 50%;
  text-align: center;
  color: var(--rayyan-gray-200);
  border: 1px solid var(--rayyan-border);
}

[dir="rtl"] .profile-activity-icon { right: 0; }

@media (min-width: 768px) {
  .profile-activity-icon { left: -13px; }
  [dir="rtl"] .profile-activity-icon { right: -13px; }
}

.profile-activity-icon svg {
  position: relative; top: 50%; transform: translateY(-50%);
  width: 1em; height: 1em; margin: auto;
}

/***** Search results *****/
.search-results {
  display: flex; flex-direction: column; flex-wrap: wrap; justify-content: space-between;
}

@media (min-width: 1024px) { .search-results { flex-direction: row; } }

.search-results-column { flex: 1; }

@media (min-width: 1024px) { .search-results-column { flex: 0 0 75%; } }

.search-results-sidebar {
  border-top: 1px solid var(--rayyan-border);
  flex: 1 0 auto; margin-bottom: 18px; padding: 0;
}

@media (min-width: 1024px) { .search-results-sidebar { border: 0; flex: 0 0 20%; height: auto; } }

.search-results-sidebar .sidenav-item:hover,
.search-results-sidebar .sidenav-item.current {
  background-color: var(--rayyan-gray-100);
  color: var(--rayyan-navy);
  text-decoration: none;
}

.search-results-sidebar .sidenav-subitem { unicode-bidi: embed; }

.search-results-sidebar .collapsible-sidebar { margin-bottom: 28px; }

.search-results-sidebar .collapsible-sidebar[aria-expanded="false"] .multibrand-filter-list { display: none; }

@media (min-width: 1024px) {
  .search-results-sidebar .collapsible-sidebar[aria-expanded="false"] .multibrand-filter-list { display: block; }
}

.search-results-sidebar .multibrand-filter-list--collapsed li:nth-child(1n + 6) { display: none; }

.search-results-sidebar .multibrand-filter-list .doc-count { color: var(--rayyan-gray-400); }

.search-results-sidebar .see-all-filters {
  background: none; border: none; cursor: pointer;
  display: block; padding: 10px; color: rgba(40, 114, 250, 1); font-size: 13px;
}

.search-results-sidebar .see-all-filters[aria-hidden="true"] { display: none; }

.search-results-sidebar .see-all-filters:hover { text-decoration: underline; }

.search-results-sidebar .see-all-filters::after { content: ' \2304'; font-weight: bold; }

.search-results-subheading { font-size: 16px; font-weight: 600; }

.search-results-list { margin-bottom: 22px; }

.search-results-list > li { padding: 18px 0; }

.search-results-list > li:first-child { border-top: 1px solid var(--rayyan-border); }

.search-results-list > li h2 { margin-bottom: 0; }

.search-results .meta-group {
  display: block; align-items: center; clear: both; color: var(--rayyan-gray-400);
}

@media (min-width: 1024px) { .search-results .meta-group { display: flex; } }

.search-results .meta-group > li { display: block; }

@media (min-width: 1024px) { .search-results .meta-group > li { display: inline; } }

@media (min-width: 1024px) { .search-results .meta-group li:first-child { flex: 1; } }

.search-results .meta-group .meta-data { color: inherit; }

[dir="ltr"] .search-results .meta-group .meta-data:not(:last-child) { margin-right: 18px; }
[dir="rtl"] .search-results .meta-group .meta-data:not(:last-child) { margin-left: 18px; }

.search-results .meta-group .meta-data::after { content: none; }

.search-results-description { margin-top: 8px; word-break: break-word; font-size: 14px; color: var(--rayyan-gray-700); }

.search-result-title {
  font-size: 15px;
  display: inline-block;
  font-weight: 600;
  color: #32327f;
}

.search-result-title:hover { color: #32327f; }

/* All links in search results — override blue */
.search-results-list a,
.search-results-list a:visited,
.search-result a,
.search-result a:visited {
  color: #32327f !important;
}

.search-results-list a:hover,
.search-result a:hover {
  color: var(--rayyan-purple-dark) !important;
  text-decoration: underline;
}

/* Highlighted search terms */
.search-results-description em {
  font-style: normal;
  font-weight: 600;
  color: #32327f;
  background: var(--rayyan-purple-light);
  padding: 0 2px;
  border-radius: 2px;
}

/* Sidebar filter active */
.search-results-sidebar .sidenav-item.current,
.search-results-sidebar .sidenav-item:hover {
  background-color: var(--rayyan-purple-light);
  color: #32327f;
}

[dir="ltr"] .search-result-icons { float: right; }
[dir="rtl"] .search-result-icons { float: left; }

.search-result-votes, .search-result-meta-count {
  color: var(--rayyan-gray-400); display: inline-block; font-size: 12px; padding: 4px 5px; position: relative;
}

.search-result-votes-icon, .search-result-meta-count-icon {
  color: rgba(50, 50, 127, 1); vertical-align: middle; width: 12px; height: 12px;
}

[dir="ltr"] .search-result-votes, [dir="ltr"] .search-result-meta-count { margin-left: 5px; }
[dir="ltr"] .search-result-votes::before, [dir="ltr"] .search-result-meta-count::before { margin-right: 3px; }
[dir="rtl"] .search-result-votes, [dir="rtl"] .search-result-meta-count { margin-right: 5px; }
[dir="rtl"] .search-result-votes::before, [dir="rtl"] .search-result-meta-count::before { margin-left: 3px; }

.search-result .meta-group { align-items: center; }

.search-result-breadcrumbs { margin: 0; }

@media (min-width: 1024px) { .search-result-breadcrumbs { display: table-row; } }

@media (min-width: 1024px) { .search-result-breadcrumbs li { display: table-cell; } }

.search-result-breadcrumbs li,
.search-result-breadcrumbs li a,
.search-result-breadcrumbs li a:visited { color: inherit; }

.search-results-description em { font-style: normal; font-weight: 600; color: #32327f; }

html[lang|="zh"] .search-results-description em { font-style: normal; background: yellow; }

/***** Notifications *****/
.notification {
  border: 1px solid;
  display: table;
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-size: 13px;
  padding: 12px 14px;
  transition: height .2s;
  width: 100%;
  color: var(--rayyan-gray-700);
}

.notification a { color: #1f73b7; }

.notification-inner { margin: 0 auto; padding: 0 18px; max-width: 980px; }

.notification-icon, .notification-text, .notification-dismiss { display: table-cell; vertical-align: middle; }

.notification-text { padding: 0 14px; width: 100%; }

.notification + .notification { margin-bottom: -1px; position: relative; top: -1px; }

.notification-error { background: #fff5f5; border-color: #fcc; }

.notification-error .notification-icon::before,
.notification-error .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23555555'%3E%3Ccircle cx='5.5' cy='6.5' r='5'/%3E%3Cpath stroke-linecap='round' d='M5.5 3.5v3'/%3E%3C/g%3E%3Ccircle cx='5.5' cy='9' r='1' fill='%23555555'/%3E%3C/svg%3E");
}

.notification-notice { background: #f0f7ff; border-color: #bdd9f5; }

.notification-notice .notification-icon::before,
.notification-notice .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23555555'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.5 6l2 2L9 4.5'/%3E%3Ccircle cx='6' cy='6' r='5.5'/%3E%3C/g%3E%3C/svg%3E");
}

.notification-alert { color: #ad5e18; background: #fff8ed; border-color: #fcdba9; }

.notification-alert .notification-icon::before,
.notification-alert .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ad5e18' stroke-linecap='round' d='M5.06 1.27l-4.5 8.5c-.18.33.06.73.44.73h9c.38 0 .62-.4.44-.73l-4.5-8.5a.494.494 0 00-.88 0zM5.5 4v2'/%3E%3Ccircle cx='5.5' cy='8' r='.8' fill='%23ad5e18'/%3E%3C/svg%3E");
}

.notification-icon::before, .notification-inline.notification-error::before {
  background-size: cover; content: ""; display: inline-block;
  height: 14px; width: 14px; vertical-align: middle;
}

.notification-dismiss, a.notification-dismiss {
  color: var(--rayyan-gray-400); cursor: pointer; opacity: .6;
  transition: opacity 100ms ease; text-decoration: none !important;
}

.notification-dismiss:hover { opacity: 1; }

.notification-inline {
  border-radius: var(--rayyan-radius-sm); line-height: 14px;
  margin-top: 5px; padding: 5px; position: relative;
  text-align: left; vertical-align: middle;
}

[dir="rtl"] .notification-inline { text-align: right; }

.notification-inline[aria-hidden="true"] { display: none; }

.notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23e35b66'%3E%3Ccircle cx='5.5' cy='6.5' r='5'/%3E%3Cpath stroke-linecap='round' d='M5.5 3.5v3'/%3E%3C/g%3E%3Ccircle cx='5.5' cy='9' r='1' fill='%23e35b66'/%3E%3C/svg%3E");
  margin: -2px 5px 0 0;
}

[dir="rtl"] .notification-inline.notification-error::before { margin: 0 0 0 5px; }

.notification-inline.notification-error {
  background-color: #fff0f1;
  border: 1px solid #e35b66;
  color: #cc3340;
}

.notification-inline.notification-large { padding: 12px 14px; margin-bottom: 22px; }

.notification-left-aligned { text-align: left; padding-left: 0; }

html[dir="rtl"] .notification-left-aligned { text-align: right; padding-left: auto; padding-right: 0; }

/***** Dropdowns *****/
.dropdown { position: relative; display: inline-block; }

.dropdown-toggle {
  cursor: pointer; background: none; border: 0;
  display: inline-block; padding: 0;
  text-align: initial; vertical-align: middle;
}

.dropdown-toggle:hover { text-decoration: none; }
.dropdown-toggle > * { display: inline-block; }

.dropdown-menu {
  background: var(--rayyan-white);
  border: 1px solid var(--rayyan-border);
  border-radius: var(--rayyan-radius);
  box-shadow: var(--rayyan-shadow-md);
  display: none;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  left: 0;
  margin-top: 4px;
  min-width: 168px;
  padding: 6px 0;
  position: absolute;
  text-align: left;
  z-index: 1000;
}

[dir="rtl"] .dropdown-menu { text-align: right; }

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

.dropdown-menu [role="separator"] {
  border-bottom: 1px solid var(--rayyan-border);
  color: var(--rayyan-gray-400);
  display: block; font-weight: normal; font-size: 11px;
  padding: 4px 0; margin: 4px 16px 8px 16px;
}

.dropdown-menu [role="menuitem"] {
  color: var(--rayyan-navy);
  cursor: pointer; display: block;
  padding: 7px 36px 7px 16px;
  white-space: nowrap;
  background-color: transparent;
  border: 0; -webkit-appearance: none;
  text-align: start; line-height: inherit; width: 100%;
  font-size: 13px;
  transition: background-color 0.1s;
}

[dir="rtl"] .dropdown-menu [role="menuitem"] { padding: 7px 16px 7px 36px; }

.dropdown-menu [role="menuitem"]:hover,
.dropdown-menu [role="menuitem"]:focus {
  background: #e2fdf7 !important;
  text-decoration: none;
  color: #32327f !important;
}

/* Ensure sign_out is never suppressed in user dropdown */
.user-info .dropdown-menu [role="menuitem"][aria-hidden="true"],
.user-info .dropdown-menu [role="menuitem"][hidden] {
  display: block !important;
  aria-hidden: false;
}

.dropdown-menu [role="menuitem"][aria-selected="true"] { cursor: default; }

.dropdown-menu [role="menuitem"][aria-selected="true"]::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%235B3FE8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1 7l3 3 7-7'%3E%3C/path%3E%3C/svg%3E");
  display: inline-block; height: 12px; margin-left: 10px; width: 12px;
}

[dir="rtl"] .dropdown-menu [role="menuitem"][aria-selected="true"]::after { margin-left: 0; margin-right: 10px; float: left; }

.dropdown-menu [role="menuitem"][hidden],
.dropdown-menu [role="menuitem"][aria-hidden="true"] { display: none !important; }

.dropdown-menu-end { left: auto; right: 0; }

.dropdown-menu-top { bottom: 100%; margin-bottom: 1px; }

[dir="rtl"] .dropdown-menu { left: auto; right: 0; text-align: right; }
[dir="rtl"] .dropdown-menu-end { left: 0; right: auto; }

.dropdown-chevron-icon { vertical-align: middle; }

/***** Hint styles *****/
.hint { padding: 14px 16px; border-radius: var(--rayyan-radius-sm); }

.hint--learn {
  background-color: var(--rayyan-purple-light);
  border-left: 3px solid #32327f;
}

.hint--tip {
  background-color: #f0faf4;
  border-left: 3px solid #4caf7d;
}

.hint__body { display: flex; align-items: center; }

.hint__type { color: #32327f; font-size: 14px; font-weight: 600; margin-right: 8px; }

.hint__message { font-size: 13px; color: var(--rayyan-gray-700); margin: 0; }

/***** Article content components *****/
/* These classes are used by the Rayyan Article Builder.
   All article body content is scoped under .article-body */

/* Callout: Note (blue) */
.callout-note {
  background-color: #E6F1FB;
  border-left: 3px solid #185FA5;
  border-radius: 0 6px 6px 0;
  color: #0C447C;
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 14px;
  margin: 14px 0;
}

.callout-note strong {
  color: #0C447C;
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Callout: Tip (green) */
.callout-tip {
  background-color: #E6F7EF;
  border-left: 3px solid #1a7f5a;
  border-radius: 0 6px 6px 0;
  color: #125940;
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 14px;
  margin: 14px 0;
}

.callout-tip strong {
  color: #125940;
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Callout: Common issue / Warning (amber) */
.callout-warning {
  background-color: #FAEEDA;
  border-left: 3px solid #BA7517;
  border-radius: 0 6px 6px 0;
  color: #633806;
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 14px;
  margin: 14px 0;
}

.callout-warning strong {
  color: #633806;
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Callout: Important (red) */
.callout-important {
  background-color: #FCEBEB;
  border-left: 3px solid #A32D2D;
  border-radius: 0 6px 6px 0;
  color: #791F1F;
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 14px;
  margin: 14px 0;
}

.callout-important strong {
  color: #791F1F;
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

/* Before you begin box */
.before-begin {
  background-color: #f5f5f3;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #3B3D5C;
}

.before-begin strong {
  color: #0C447C;
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

/* Table of contents box */
.article-toc {
  background-color: #f5f5f3;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.article-toc-label {
  color: #888;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.article-toc a {
  border-bottom: 1px solid #e5e5e5;
  color: #185FA5;
  display: block;
  padding: 5px 0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.article-toc a:last-child { border-bottom: none; }

.article-toc a:hover { color: #32327f; text-decoration: none; }

/* Key reminders summary box */
.key-reminders {
  background-color: #f5f5f3;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
}

.key-reminders-title {
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.key-reminders ul {
  padding-left: 1.2rem;
  margin: 0;
  list-style: disc;
}

.key-reminders li {
  font-size: 13px;
  line-height: 1.7;
  color: #3B3D5C;
}

/* Article section headings */
.article-body h2 {
  border-top: 1px solid #e5e5e5;
  font-size: 17px;
  font-weight: 600;
  padding-top: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.article-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.article-body p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.2rem;
  margin: 10px 0 14px;
}

.article-body li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.article-body table {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  table-layout: auto !important;
}

/* Fix wysiwyg table figure — auto layout allows columns to stretch to fill min-width */
.article-body figure.wysiwyg-table {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 16px 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

/* Override fixed pixel column widths from the Zendesk editor */
.article-body table col,
.article-body table colgroup col {
  width: auto !important;
}

.article-body td,
.article-body th {
  border: 1px solid #e2e3ec;
  padding: 11px 14px;
  vertical-align: top;
  line-height: 1.5;
}

/* Prevent first column labels from wrapping due to column width proportioning */
.article-body table td:first-child,
.article-body table th:first-child {
  min-width: 140px;
}

/* Force consistent dark primary header on ALL tables, overriding any inline styles */
.article-body th,
.article-body thead td,
.article-body thead th {
  background: #32327f !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  border-color: #3d3d96 !important;
}

/* Collapse empty header cells — common in Zendesk editor-created tables */
.article-body thead th:empty,
.article-body thead td:empty {
  background: #fff !important;
  border-color: #e2e3ec !important;
  padding: 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

/* Alternating row tint — only on cells WITHOUT inline styles */
.article-body tbody tr:nth-child(even) td:not([style]) {
  background: #f7f7fb;
}
.article-body tbody tr:nth-child(odd) td:not([style]) {
  background: #fff;
}

/* Preserve inline background colors set in the article editor */
.article-body tbody td[style*="background"] {
  background: revert;
}


/* ================================================================
   RAYYAN HELP CENTER — NAV
   ================================================================ */

body::before { display: none; }

.ryn-legacy-header {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; pointer-events: none !important;
}

/* Outer wrapper */
.ryn-header-outer {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  box-shadow: 0 1px 0 rgba(26,27,46,0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.ryn-header-outer.ryn-scrolled {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(26,27,46,0.05);
}

/* Announcement bar */
.ryn-announcement-bar {
  background: #0e0e1a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 9px 44px;
  position: relative;
  line-height: 1.4;
  display: block;
}
.ryn-announcement-bar a { color: #11e5b3; font-weight: 600; text-decoration: none; }
.ryn-announcement-bar a:hover { opacity: 0.8; }
.ryn-announcement-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.6);
  cursor: pointer; padding: 4px; display: flex; align-items: center;
  border-radius: 4px; line-height: 1; width: auto;
}
.ryn-announcement-close:hover { color: #fff; background: none; }
.ryn-announcement-bar.ryn-hidden { display: none !important; }

/* Nav */
.ryn-nav { background: transparent; }
.ryn-nav-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  height: 80px; display: flex; align-items: center;
}

/* Logo — flex: 1 so it takes equal space as actions */
.ryn-logo {
  display: inline-flex; align-items: center; flex-shrink: 0;
  flex: 1;
  text-decoration: none !important;
}
.ryn-logo img { width: 180px; height: auto; display: block; }
.ryn-logo:hover { text-decoration: none !important; }

/* Right actions — flex: 1 and right-aligned, balances the logo */
.ryn-nav-actions {
  display: flex; align-items: center; gap: 6px;
  flex: 1; justify-content: flex-end;
}

/* Pill — exact marketing site values */
.ryn-nav-pill {
  display: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background-color: #ffffffeb;
  border: 1px solid #1b1d1e0d;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
  padding: 0 8px;
  min-width: 380px;
}
@media (min-width: 1024px) { .ryn-nav-pill { display: inline-flex; } }

/* Nav links — exact marketing site values */
.ryn-nav-links {
  display: none; list-style: none; margin: 0; padding: 0;
  align-items: center; gap: 8px; flex: 1;
}
@media (min-width: 1024px) { .ryn-nav-links { display: flex; } }
.ryn-nav-item { position: relative; }

a.ryn-nav-link, button.ryn-nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 20px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 500; color: #27266a !important;
  background: none; border: none; border-radius: 50px; cursor: pointer;
  white-space: nowrap; text-decoration: none !important;
  transition: all 0.2s; line-height: 1;
}
a.ryn-nav-link:hover, button.ryn-nav-link:hover {
  color: var(--ryn-teal) !important; text-decoration: none !important;
}
.ryn-nav-active > .ryn-nav-link,
.ryn-nav-active > .ryn-nav-link:hover,
.ryn-has-dropdown:focus-within > .ryn-nav-link {
  color: #32327f !important; font-weight: 600 !important;
  text-decoration: none !important;
}
.ryn-chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.ryn-dropdown-toggle[aria-expanded="true"] .ryn-chevron { transform: rotate(180deg); }

/* Dropdowns */
.ryn-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid #e2e3ec; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(26,27,46,0.12); z-index: 600;
  padding-top: 10px;
}
.ryn-has-dropdown:hover > .ryn-dropdown, .ryn-dropdown:hover { display: block; }

.ryn-dropdown-simple { min-width: 200px; padding: 10px 8px 8px; }
.ryn-dropdown-item {
  display: block; padding: 11px 14px; font-size: 14px; font-weight: 600;
  color: #32327f !important; border-radius: 10px; white-space: nowrap;
  text-decoration: none !important; transition: background 0.12s, border-color 0.12s, color 0.12s;
  border: 1px solid transparent;
}
.ryn-dropdown-item:hover,
.ryn-dropdown-item:focus {
  background: #e2fdf7 !important;
  border-color: #7df2d8 !important;
  color: #32327f !important;
  text-decoration: none !important;
}

.ryn-dropdown-mega {
  left: 50%; transform: translateX(-50%); min-width: 560px; padding: 10px 16px 16px;
}
.ryn-dropdown-mega-inner { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.ryn-dropdown-card {
  display: flex; align-items: flex-start; padding: 14px 12px;
  border-radius: 10px; text-decoration: none !important;
  transition: background 0.12s; border: 1px solid transparent;
  background: transparent !important;
}
.ryn-dropdown-card:hover,
.ryn-dropdown-mega .ryn-dropdown-card:hover,
.ryn-dropdown-features .ryn-dropdown-card:hover {
  background: #e2fdf7 !important;
  border-color: #7df2d8 !important;
  color: #32327f !important;
}
.ryn-dropdown-card--active,
.ryn-dropdown-mega .ryn-dropdown-card--active {
  background: #e2fdf7 !important;
  border-color: #11e5b3 !important;
}
.ryn-dropdown-card--active .ryn-dropdown-card-body strong { color: #32327f !important; }
.ryn-dropdown-card-body { display: flex; flex-direction: column; gap: 3px; }
.ryn-dropdown-card-body strong { font-size: 14px; font-weight: 600; color: #32327f; display: block; }
.ryn-dropdown-card-body span { font-size: 12px; color: #9394a5; display: block; line-height: 1.4; }

.ryn-dropdown-features { left: 50%; transform: translateX(-60%); min-width: 680px; padding: 10px 16px 0; }
.ryn-features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; padding-bottom: 8px; }
.ryn-feature-item {
  display: flex; flex-direction: column; gap: 5px; padding: 14px 12px;
  border-radius: 10px; text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s;
  border: 1px solid transparent;
  background: transparent !important;
}
.ryn-feature-item:hover,
.ryn-feature-item:focus {
  background: #e2fdf7 !important;
  border-color: #7df2d8 !important;
  text-decoration: none !important;
}
.ryn-feature-item strong { font-size: 13px; font-weight: 600; color: #32327f; display: block; line-height: 1.3; }
.ryn-feature-item span { font-size: 11.5px; color: #9394a5; display: block; line-height: 1.4; }
.ryn-feature-item:hover strong, .ryn-feature-item:hover span { color: #32327f !important; }
.ryn-features-cta { display: none !important; }

/* Right action buttons */
.ryn-nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

a.ryn-hc-btn, .ryn-hc-btn {
  display: inline-flex !important; align-items: center !important;
  padding: 7px 14px !important; font-family: 'Inter', sans-serif !important;
  font-size: 14px !important; font-weight: 500 !important; color: #27266a !important;
  background: none !important; border: none !important; border-radius: 8px !important;
  text-decoration: none !important; white-space: nowrap !important; cursor: pointer !important;
  transition: background 0.15s !important; line-height: 1.4 !important;
}
a.ryn-hc-btn:hover, .ryn-hc-btn:hover { background: #f0f0f9 !important; color: #27266a !important; }
a.ryn-hc-btn--outlined, .ryn-hc-btn--outlined { border: 1.5px solid #d0d0e8 !important; }
a.ryn-hc-btn--outlined:hover { border-color: #27266a !important; }
a.ryn-hc-btn--signin, .ryn-hc-btn--signin {
  background: #32327f !important; color: #fff !important;
  border-radius: 50px !important; font-weight: 600 !important;
  padding: 8px 20px !important; border: none !important;
}
a.ryn-hc-btn--signin:hover { background: #11e5b3 !important; color: #32327f !important; }
.ryn-user-toggle {
  border: 1.5px solid #e2e3ec !important; border-radius: 50px !important;
  padding: 5px 12px 5px 6px !important; gap: 7px !important; font-size: 13px !important;
}
.ryn-user-toggle:hover { border-color: #32327f !important; background: #e2fdf7 !important; }

/* Sign out direct link — always visible, matches dropdown menuitem style */
.ryn-signout-link {
  color: #27266a !important;
  cursor: pointer;
  display: block !important;
  padding: 7px 36px 7px 16px;
  white-space: nowrap;
  text-decoration: none !important;
  font-size: 13px;
  transition: background-color 0.1s;
  background: transparent;
  width: 100%;
  text-align: left;
}
.ryn-signout-link:hover { background: #e2fdf7 !important; color: #32327f !important; }

/* Mobile toggle */
.ryn-mobile-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; background: none; border: 1.5px solid #e2e3ec;
  border-radius: 8px; cursor: pointer; color: #32327f; padding: 0;
}
.ryn-mobile-toggle:hover { border-color: #32327f; background: none; }
@media (min-width: 1024px) { .ryn-mobile-toggle { display: none; } }

/* Show hamburger by default, hide X */
.ryn-icon-menu { display: block; }
.ryn-icon-close { display: none; }

/* When menu is open: hide hamburger, show X */
.ryn-mobile-toggle[aria-expanded="true"] .ryn-icon-menu { display: none; }
.ryn-mobile-toggle[aria-expanded="true"] .ryn-icon-close { display: block; }

/* Mobile menu */
.ryn-mobile-menu { display: none; background: #fff; border-top: 1px solid #e2e3ec; padding: 16px 0 24px; }
.ryn-mobile-menu.ryn-open { display: block; }
.ryn-mobile-links { list-style: none; margin: 0; padding: 0 16px; }
a.ryn-mobile-link, button.ryn-mobile-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 12px 4px; font-size: 15px; font-weight: 500; color: #32327f;
  background: none; border: none; border-bottom: 1px solid #f0f0f8;
  cursor: pointer; text-decoration: none !important;
  font-family: 'Inter', sans-serif; text-align: left;
}
.ryn-mobile-active { color: #27266a !important; font-weight: 700 !important; }
.ryn-mobile-submenu { list-style: none; margin: 0; padding: 4px 0 4px 12px; display: none; }
.ryn-mobile-submenu.ryn-open { display: block; }
.ryn-mobile-submenu a {
  display: block; padding: 9px 4px; font-size: 14px; color: #6b6b8a;
  text-decoration: none !important; border-bottom: 1px solid #f7f7fb;
}
.ryn-mobile-submenu a:hover { color: #32327f; }
.ryn-mobile-actions { padding: 16px; display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid #f0f0f8; }
/* ================================================================
   RAYYAN IMPROVEMENTS — FONT, ARTICLE, FOOTER, SEARCH, NAV ACTIVE
   ================================================================ */

/* ── 1. Inter globally ─────────────────────────────────────────── */
body, input, textarea, button {
  font-family: 'Inter', sans-serif !important;
}

/* ── 2. Article reading experience ────────────────────────────── */
.article-body {
  font-size: 15px;
  line-height: 1.8;
  color: #2a2a3f;
  max-width: 720px;
}
.article-body p { margin-bottom: 16px; }
.article-body h2 {
  font-size: 19px; font-weight: 700;
  color: #27266a; margin-top: 36px; margin-bottom: 12px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f8;
}
.article-body h3 {
  font-size: 16px; font-weight: 600;
  color: #27266a; margin-top: 24px; margin-bottom: 8px;
}
.article-body ul, .article-body ol {
  padding-left: 24px; margin-bottom: 16px;
}
.article-body li { margin-bottom: 6px; line-height: 1.7; }
.article-body code {
  background: #f4f4f9; color: var(--ryn-teal);
  padding: 2px 6px; border-radius: 4px; font-size: 13px;
}
.article-body pre {
  background: #f4f4f9; border: 1px solid #e5e5ef;
  border-radius: 8px; padding: 16px; overflow-x: auto;
  font-size: 13px; line-height: 1.6;
}
.article-body blockquote {
  border-left: 3px solid var(--ryn-teal);
  background: #f7f7fd; margin: 20px 0;
  padding: 12px 20px; border-radius: 0 6px 6px 0;
  color: #555;
}
.article-body img {
  border-radius: 8px; max-width: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  margin: 12px 0;
}
.article-body a { color: var(--ryn-teal); text-decoration: underline; }
.article-body a:hover { color: #27266a; }

/* ── 3. Article list items as cards (category + section pages) ── */
.article-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-list-item {
  padding: 0 !important;
  border-bottom: none !important;
  position: relative; /* anchor for the lock icon */
}
.article-list-item a.article-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 40px 13px 16px; /* extra right padding for lock icon */
  background: #fff;
  border: 1px solid #ebebf5;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #27266a !important;
  text-decoration: none !important;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.article-list-item a.article-list-link::after {
  content: '→';
  font-size: 14px;
  color: var(--ryn-teal);
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  transform: translateX(-4px);
}
.article-list-item a.article-list-link:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: #32327f;
}

/* Lock icon — pinned inside the card top-right */
.article-list-item .icon-lock {
  position: absolute !important;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #b0b1c2 !important;
  width: 13px !important;
  height: 13px !important;
  pointer-events: none;
  display: block !important;
}

/* Star icon — pinned inside the card on the left */
.article-list-item .icon-star {
  position: absolute !important;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--ryn-teal) !important;
  width: 13px !important;
  height: 13px !important;
  pointer-events: none;
  display: block !important;
  z-index: 2;
}

/* When promoted (star present), shift link text right to clear the star */
.article-list-item:has(.icon-star) a.article-list-link {
  padding-left: 36px;
}

/* Hover — keep primary color, not teal */
.article-list-item a.article-list-link:hover {
  border-color: #32327f !important;
  box-shadow: 0 2px 10px rgba(50, 50, 127, 0.12);
  transform: translateX(2px);
  color: #32327f !important;
  text-decoration: none !important;
}
.article-list-item a.article-list-link:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: #32327f;
}

/* Section list items (subsections) — same card style */
.section-list { margin: 24px 0; }
.section-list-item {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 8px;
}
.section-list-item:first-child { border-top: none !important; }
.section-list-item a {
  padding: 13px 16px !important;
  background: #fff;
  border: 1px solid #ebebf5 !important;
  border-radius: 8px;
  font-weight: 500;
  color: #27266a !important;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  text-decoration: none !important;
}
.section-list-item a:hover {
  border-color: var(--ryn-teal) !important;
  box-shadow: 0 2px 10px rgba(17, 229, 179, 0.12) !important;
  transform: translateX(2px);
  color: var(--ryn-teal) !important;
  text-decoration: none !important;
}

/* ── 4. Search results as cards ────────────────────────────────── */
.search-results-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.search-results-list > li {
  padding: 18px 20px !important;
  border: 1px solid #ebebf5 !important;
  border-top: 1px solid #ebebf5 !important;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-results-list > li:first-child {
  border-top: 1px solid #ebebf5 !important;
}
.search-results-list > li:hover {
  border-color: var(--ryn-teal) !important;
  box-shadow: 0 2px 12px rgba(17, 229, 179, 0.12);
}
.search-results-subheading {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #27266a;
  margin-bottom: 20px;
}

/* Empty state */
.search-results-column > p {
  background: #f7f7fd;
  border: 1px dashed #c5c5ef;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  color: #666;
  font-size: 15px;
}

/* ── 5. Breadcrumb improvements ────────────────────────────────── */
.breadcrumbs {
  font-size: 13px !important;
  gap: 2px;
}
.breadcrumbs li a {
  color: #9394a5 !important;
  font-weight: 400;
}
.breadcrumbs li a:hover { color: var(--ryn-teal) !important; }
.breadcrumbs li:last-child a {
  color: #27266a !important;
  font-weight: 500;
}
.breadcrumbs li + li::before {
  content: '/' !important;
  color: #d0d0e0 !important;
}

/* ── 6. Footer — matches marketing site ───────────────────────── */
.footer { display: none; } /* hide old footer */

.ryn-footer {
  background: #fff;
  border-top: 1px solid #e8e8f0;
  margin-top: 80px;
  padding: 60px 0 0;
  font-family: 'Inter', sans-serif;
}

.ryn-footer-main {
  max-width: 1272px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Brand column */
.ryn-footer-brand {
  min-width: 220px;
  max-width: 260px;
  flex-shrink: 0;
}
.ryn-footer-logo-link { display: inline-block; margin-bottom: 20px; }
.ryn-footer-logo { width: 140px; height: auto; display: block; }
.ryn-footer-contact p {
  color: #667;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.ryn-footer-hc-actions { margin-top: 20px; }
.ryn-footer-hc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #27266a;
  margin-bottom: 8px;
}
.ryn-footer-hc-link {
  display: block;
  font-size: 13px;
  color: #667 !important;
  text-decoration: none !important;
  line-height: 2;
  transition: color 0.15s;
}
.ryn-footer-hc-link:hover { color: var(--ryn-teal) !important; text-decoration: none !important; }
.ryn-footer-lang { margin-top: 12px; }
.ryn-footer-lang .dropdown-toggle {
  color: #667 !important;
  font-size: 13px !important;
  padding: 0 !important;
  background: none !important;
}

/* Link columns */
.ryn-footer-cols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.ryn-footer-col-heading {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #27266a !important;
  margin-bottom: 16px !important;
  margin-top: 0 !important;
  line-height: 1.3 !important;
}

.ryn-footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ryn-footer-col ul li a {
  color: #667 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: color 0.15s;
  line-height: 1.4;
}
.ryn-footer-col ul li a:hover { color: var(--ryn-teal) !important; text-decoration: none !important; }

/* Divider */
.ryn-footer-divider {
  max-width: 1272px;
  margin: 32px auto 0;
  padding: 0 40px;
  height: 1px;
  background: #e8e8f0;
}

/* Social + badges row */
.ryn-footer-bottom-row {
  max-width: 1272px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.ryn-footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ryn-footer-social a {
  color: #444 !important;
  display: flex;
  align-items: center;
  text-decoration: none !important;
  transition: color 0.15s;
}
.ryn-footer-social a:hover { color: var(--ryn-teal) !important; }

/* Compliance badges — real images */
.ryn-footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ryn-badge-link {
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.15s;
  text-decoration: none !important;
}
.ryn-badge-link:hover { opacity: 1; }
.ryn-badge-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
.ryn-badge-img--wide {
  height: 44px;
}

/* Copyright bar */
.ryn-footer-copyright {
  max-width: 1272px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #e8e8f0;
}
.ryn-footer-copyright p {
  color: #999;
  font-size: 12px;
  margin: 0;
}
.ryn-footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.ryn-footer-legal-links a {
  color: #667 !important;
  font-size: 12px !important;
  text-decoration: none !important;
  transition: color 0.15s;
}
.ryn-footer-legal-links a:hover { color: var(--ryn-teal) !important; }

/* Responsive */
@media (max-width: 900px) {
  .ryn-footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ryn-footer-main { flex-direction: column; }
  .ryn-footer-cols { grid-template-columns: repeat(2, 1fr); }
  .ryn-footer-bottom-row { flex-direction: column; align-items: flex-start; }
  .ryn-footer-copyright { flex-direction: column; align-items: flex-start; }
}

/* ── 7. Scroll-to-top button ───────────────────────────────────── */
#ryn-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 400;
  width: 40px; height: 40px;
  background: var(--ryn-primary);
  color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(39,38,106,0.3);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.15s;
}
#ryn-scroll-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
#ryn-scroll-top:hover { background: #32327f; }
#ryn-scroll-top svg { width: 16px; height: 16px; }

/* ── 8. Active nav state on inner pages ────────────────────────── */
.ryn-nav-link.ryn-page-active {
  color: var(--ryn-primary) !important;
  font-weight: 600 !important;
}

/* ================================================================
   COMMUNITY POSTS LIST — Rayyan HC card style
   ================================================================ */

/* Page header — title + New post button alignment */
.posts-list.striped-list { display: flex; flex-direction: column; gap: 8px; padding: 0; }

/* Override striped dividers with cards */
.posts-list .striped-list-item {
  background: #fff;
  border: 1px solid #ebebf5 !important;
  border-bottom: 1px solid #ebebf5 !important;
  border-radius: 10px;
  padding: 16px 20px !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  position: relative; /* needed for stretched link */
  cursor: pointer;
}
.posts-list .striped-list-item:hover {
  border-color: var(--ryn-teal) !important;
  box-shadow: 0 2px 12px rgba(17, 229, 179, 0.15);
  transform: translateY(-1px);
}
.posts-list .post-featured {
  border-color: var(--ryn-teal-border) !important;
  background: var(--ryn-teal-soft) !important;
}

/* Title — stretched link covers the whole card */
.posts-list .striped-list-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #27266a !important;
  text-decoration: none !important;
  margin-bottom: 6px;
  display: block;
  line-height: 1.4;
}
.posts-list .striped-list-title::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  z-index: 0;
}
.posts-list .striped-list-title:hover { color: var(--ryn-teal) !important; text-decoration: none !important; }
.posts-list .striped-list-title:visited { color: #27266a !important; }

/* Meta (author · time) */
.posts-list .meta-group {
  display: flex; flex-wrap: wrap; gap: 4px 8px;
  list-style: none; padding: 0; margin: 4px 0 0 !important;
}
.posts-list .meta-data {
  font-size: 12px;
  color: #9394a5;
}
.posts-list .meta-data + .meta-data::before {
  content: '·';
  margin-right: 8px;
  color: #d0d0e0;
}

/* Status labels — pinned / featured */
.posts-list .post-overview-item { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.posts-list .status-label {
  font-size: 11px !important;
  font-weight: 500 !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
}
.posts-list .status-label-pinned { background: #fff3cd; color: #856404; }
.posts-list .status-label-featured { background: var(--ryn-teal-soft); color: var(--ryn-teal); }

/* Vote + comment counts — right side pill badges */
.posts-list .post-overview-count {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  min-width: 70px;
}
.posts-list .striped-list-count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f7f7fd;
  border: 1px solid #ebebf5;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  color: #9394a5;
  min-width: 60px;
  text-align: center;
  text-transform: capitalize;
  line-height: 1.3;
}
.posts-list .striped-list-count-item::after { display: none !important; }
.posts-list .striped-list-number {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #27266a !important;
  display: block !important;
}

/* New post button */
.post-to-community .button,
.post-to-community .button-large,
.community-footer .button {
  background: #32327f !important;
  color: #fff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  padding: 9px 20px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  text-decoration: none !important;
  transition: background 0.15s !important;
}
.post-to-community .button:hover,
.community-footer .button:hover { background: var(--ryn-teal) !important; color: var(--ryn-primary) !important; }

/* Topic filter dropdowns — match theme style */
.topic-header {
  display: flex;
  align-items: center;
  padding: 12px 0 16px !important;
  border-bottom: none !important;
}
.topic-filters .dropdown-toggle {
  font-size: 13px !important;
  color: #27266a !important;
  border: 1px solid #e2e3ec !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  background: #fff !important;
}
.topic-filters .dropdown-toggle:hover { border-color: var(--ryn-teal) !important; }

/* Community footer suggestion */
.community-footer { padding-top: 40px !important; }
.community-footer-title { font-size: 15px !important; font-weight: 600 !important; color: #27266a !important; margin-bottom: 14px !important; }

/* ================================================================
   COMMUNITY POST PAGE — post body, comments, vote
   ================================================================ */

/* Layout — sidebar moves above post as a compact top banner */
.post-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0 48px;
}
.post { flex: 1 1 auto; width: 100%; max-width: 100% !important; min-width: 0; order: 2; }
.post-sidebar {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  order: 1;
}

/* Post card */
.post article {
  background: #fff;
  border: 1px solid #e2e3ec;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 24px;
}

/* Post header */
.post-header {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid #f0f0f8;
}
.post-title h1 {
  font-size: 20px !important; font-weight: 700 !important;
  color: #27266a !important; line-height: 1.3; margin: 0 0 8px;
}

/* Post author info */
.post-info-container { display: flex; gap: 20px; }
.post-info { flex: 1; min-width: 0; }
.post-author { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.post-avatar, .comment-avatar { flex-shrink: 0; }
.post-avatar .user-avatar, .comment-avatar .user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid #e2e3ec; object-fit: cover;
}
.post-meta, .comment-meta { display: flex; flex-direction: column; gap: 2px; }
.post-meta a, .comment-meta a {
  font-size: 13px; font-weight: 600; color: #27266a !important;
  text-decoration: none !important;
}
.post-meta a:hover, .comment-meta a:hover { color: var(--ryn-teal) !important; }
.post-meta .meta-group, .comment-meta .meta-group {
  list-style: none; padding: 0; display: flex; gap: 6px; flex-wrap: wrap;
}
.post-meta .meta-data, .comment-meta .meta-data { font-size: 12px; color: #9394a5; }

/* Post body */
.post-body {
  font-size: 14px; line-height: 1.8; color: #2a2a3f;
  padding: 4px 0;
}
.post-body p { margin-bottom: 12px; }

/* Vote buttons */
.post-actions-wrapper { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.post-vote.vote, .comment-vote.vote {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; background: #f7f7fd; border: 1px solid #e2e3ec;
  border-radius: 10px; padding: 8px 10px;
}
.vote-up, .vote-down {
  background: none; border: none; cursor: pointer;
  color: #9394a5; padding: 4px; border-radius: 4px;
  transition: color 0.15s, background 0.15s; display: flex;
}
.vote-up:hover { color: #1a6b45; background: #eaf3de; }
.vote-down:hover { color: #a32d2d; background: #fcebeb; }
.vote-voted { color: var(--ryn-teal) !important; }
.vote-sum {
  font-size: 14px; font-weight: 700; color: #27266a;
  min-width: 20px; text-align: center; display: block;
}

/* ── COMMENTS ──────────────────────────────────────────────── */
.comment-overview { margin-bottom: 16px; }
.comment-heading { font-size: 16px !important; font-weight: 700 !important; color: #27266a !important; margin-bottom: 4px !important; }
.comment-callout { font-size: 13px; color: #9394a5; margin-bottom: 16px; }

.comment-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.comment {
  background: #fff; border: 1px solid #e2e3ec;
  border-radius: 10px; overflow: hidden;
}
.comment-wrapper { display: flex; gap: 0; }
.comment-info { flex: 1; padding: 18px 20px; min-width: 0; }
.comment-official { background: var(--ryn-teal-soft); border-left: 3px solid var(--ryn-teal); }
.comment-author { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.comment-body { font-size: 14px; line-height: 1.7; color: #2a2a3f; }
.comment-body p { margin-bottom: 10px; }

.comment-actions-container {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 12px; border-left: 1px solid #f0f0f8;
  background: #fafafa; gap: 8px; justify-content: flex-start;
}
.comment-vote.vote { padding: 6px 8px; }

/* Official comment badge */
.status-label-official {
  background: var(--ryn-teal-soft); color: var(--ryn-teal);
  font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
  display: inline-block; margin-bottom: 8px;
}

/* ── COMMENT FORM ────────────────────────────────────────── */
.post-comments { margin-top: 8px; }
.comment-form {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid #e2e3ec;
  border-radius: 12px; padding: 20px;
}
.comment-container { flex: 1; }
.comment-form .nesty-input,
.comment-form textarea,
.comment-form .zendesk-editor { width: 100% !important; min-height: 100px !important; }
.comment-form-controls {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; justify-content: flex-end;
}
.comment-form-controls input[type="submit"],
.comment-form-controls .button {
  background: #32327f !important; color: #fff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important; border-radius: 8px !important;
  padding: 9px 24px !important; font-size: 14px !important;
  font-weight: 600 !important; font-family: 'Inter', sans-serif !important;
  cursor: pointer !important; transition: background 0.15s !important;
}
.comment-form-controls input[type="submit"]:hover { background: var(--ryn-teal) !important; color: var(--ryn-primary) !important; }

/* Post sidebar — compact top banner */
.post-sidebar {
  background: #f7f7fd; border: 1px solid #e2e3ec;
  border-radius: 12px; padding: 18px 28px !important;
  display: flex !important; align-items: center !important;
  justify-content: space-between !important; gap: 16px;
  text-align: left !important;
}
.post-sidebar-title {
  font-size: 14px !important; font-weight: 600 !important;
  color: #27266a !important; margin: 0 !important;
}
/* Make the New post button inline in the banner */
.post-sidebar .post-to-community { margin: 0 !important; }
.post-sidebar .post-to-community .button,
.post-sidebar .post-to-community .button-large {
  background: var(--ryn-primary) !important; color: #fff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important; border-radius: 8px !important;
  padding: 8px 20px !important; font-size: 14px !important;
  font-weight: 600 !important; font-family: 'Inter', sans-serif !important;
  cursor: pointer !important; white-space: nowrap;
  transition: background 0.15s, color 0.15s !important;
}
.post-sidebar .post-to-community .button:hover,
.post-sidebar .post-to-community .button-large:hover {
  background: var(--ryn-teal) !important; color: var(--ryn-primary) !important;
}

/* ================================================================
   NEW COMMUNITY POST PAGE — two-column compose layout
   ================================================================ */

/* Two-column wrapper */
.ryn-newpost {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  max-width: 1100px;
  margin: 24px auto 64px;
  padding: 0 16px;
  align-items: start;
}
@media (max-width: 900px) {
  .ryn-newpost { grid-template-columns: 1fr; gap: 24px; }
  .ryn-newpost-aside { order: -1; }
}

/* Main column header */
.ryn-newpost-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7d7d9b;
  margin-bottom: 6px;
}
.form-header.ryn-newpost-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #27266a !important;
  margin: 0 0 8px !important;
  line-height: 1.2 !important;
}
.ryn-newpost-sub {
  font-size: 14px;
  color: #6b6b85;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Form card */
.ryn-newpost-form {
  background: #fff;
  border: 1px solid #e2e3ec;
  border-radius: 12px;
  padding: 24px 24px 20px;
  box-shadow: 0 1px 2px rgba(26,27,46,0.04);
}

.new_community_post {
  max-width: none;
  margin: 0;
}

.new_community_post .form-field {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ececf3;
  border-radius: 0;
  padding: 0 0 18px;
  margin: 0 0 18px;
}
.new_community_post .form-field:last-of-type {
  border-bottom: 0;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.new_community_post .form-field > label {
  display: block;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #27266a !important;
  margin: 0 0 4px !important;
  letter-spacing: 0;
}
.new_community_post .form-field .optional {
  font-weight: 400 !important;
  color: #9394a5 !important;
  margin-left: 6px;
  font-size: 12px;
}

.ryn-newpost-help {
  font-size: 12.5px;
  color: #8a8aa3;
  margin: 0 0 10px;
  line-height: 1.4;
}

.new_community_post .form-field input[type="text"],
.new_community_post .form-field select,
.new_community_post .form-field textarea {
  width: 100% !important;
  font-size: 14px !important;
  font-family: 'Inter', sans-serif !important;
  border: 1px solid #d8d9e6 !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  color: #27266a !important;
  background: #fff !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.new_community_post .form-field input:focus,
.new_community_post .form-field select:focus,
.new_community_post .form-field textarea:focus {
  outline: none !important;
  border-color: #32327f !important;
  box-shadow: 0 0 0 3px rgba(50,50,127,0.08) !important;
}

/* WYSIWYG editor — full-width, taller, contained */
.new_community_post .form-field .wysiwyg,
.new_community_post .form-field [data-garden-id="forms.input"],
.new_community_post .form-field .ql-container {
  border: 1px solid #d8d9e6 !important;
  border-radius: 8px !important;
  min-height: 180px !important;
  background: #fff !important;
}
.new_community_post .form-field .ql-toolbar {
  border: 1px solid #d8d9e6 !important;
  border-bottom: 0 !important;
  border-radius: 8px 8px 0 0 !important;
  background: #fafafd !important;
}
.new_community_post .form-field .ql-container {
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
}
.new_community_post .form-field .ql-editor {
  min-height: 160px !important;
  font-size: 14px !important;
  color: #27266a !important;
}

/* Suggestion list — hidden unless Zendesk populates real results */
.suggestion-list { display: none !important; }
.suggestion-list:has(li a) { display: block !important; }
.suggestion-list a { color: #32327f !important; }

/* Submit footer */
.new_community_post footer {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.new_community_post footer input[type="submit"],
.new_community_post footer .button {
  background: #32327f !important; color: #fff !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important; border-radius: 8px !important;
  padding: 11px 28px !important; font-size: 14px !important;
  font-weight: 600 !important; font-family: 'Inter', sans-serif !important;
  cursor: pointer !important; transition: background 0.15s !important;
}
.new_community_post footer input[type="submit"]:hover {
  background: var(--ryn-teal) !important; color: var(--ryn-primary) !important;
}

/* Right sidebar */
.ryn-newpost-aside {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 900px) { .ryn-newpost-aside { position: static; } }

.ryn-newpost-card {
  background: #fff;
  border: 1px solid #e2e3ec;
  border-radius: 12px;
  padding: 18px 18px;
  box-shadow: 0 1px 2px rgba(26,27,46,0.04);
}

.ryn-newpost-card--muted {
  background: #fafafd;
  border-color: #ececf3;
  box-shadow: none;
}

.ryn-newpost-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #32327f;
  margin-bottom: 12px;
}

.ryn-newpost-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ryn-newpost-tips li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
}
.ryn-newpost-tip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2fdf7;
  border: 1px solid #7df2d8;
  color: #27266a;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}
.ryn-newpost-tips li strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #27266a;
  margin-bottom: 2px;
  line-height: 1.3;
}
.ryn-newpost-tips li p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #6b6b85;
}

.ryn-newpost-card-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #27266a;
  margin-bottom: 6px;
}
.ryn-newpost-card-body {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #6b6b85;
}
.ryn-newpost-card-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #32327f !important;
  text-decoration: none !important;
  transition: color 0.12s;
}
.ryn-newpost-card-link:hover { color: #11a585 !important; }

/* Generic .form-header fallback (other forms) */
.form-header:not(.ryn-newpost-title) {
  font-size: 18px !important; font-weight: 700 !important;
  color: #27266a !important; margin: 16px 0 16px !important;
}
/* ================================================================
   MY ACTIVITIES — Requests, Contributions, Following
   ================================================================ */

/* Top nav strip */
.my-activities-nav {
  background: #fff !important;
  border-bottom: 1px solid #e2e3ec !important;
  margin-bottom: 0 !important;
  padding: 0 5%;
}
.my-activities-nav .collapsible-nav-list {
  display: flex !important; flex-direction: row !important;
  gap: 0 !important; list-style: none; padding: 0; margin: 0;
}
.my-activities-nav .collapsible-nav-list li a {
  display: block; padding: 14px 20px !important;
  font-size: 14px !important; font-weight: 500 !important;
  color: #9394a5 !important; text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s; white-space: nowrap;
}
.my-activities-nav .collapsible-nav-list li a:hover { color: #32327f !important; }
.my-activities-nav .collapsible-nav-list li.current a {
  color: #32327f !important; font-weight: 600 !important;
  border-bottom-color: #32327f !important;
}

/* Page header */
.my-activities-header h1 {
  font-size: 24px !important; font-weight: 700 !important;
  color: #27266a !important; margin: 28px 0 16px !important;
}

/* Sub-nav (My requests | CC'd on) */
.my-activities-sub-nav .collapsible-nav-list {
  display: flex !important; flex-direction: row !important;
  gap: 0 !important; list-style: none; padding: 0;
  margin: 0 0 20px !important; border-bottom: 1px solid #e2e3ec;
}
.my-activities-sub-nav .collapsible-nav-list li a {
  display: block; padding: 10px 14px !important;
  font-size: 13px !important; font-weight: 500 !important;
  color: #9394a5 !important; text-decoration: none !important;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.my-activities-sub-nav .collapsible-nav-list li a:hover { color: #32327f !important; }
.my-activities-sub-nav .collapsible-nav-list li.current a {
  color: #32327f !important; font-weight: 600 !important;
  border-bottom-color: #32327f !important;
}

/* Toolbar: search + filters */
.requests-table-toolbar {
  align-items: center !important;
  gap: 16px;
  margin-bottom: 8px;
}
.requests-table-toolbar .search {
  position: relative; background: #fff;
  border: 1px solid #e2e3ec; border-radius: 8px;
  display: flex; align-items: center;
}
.requests-table-toolbar .search .search-icon {
  position: absolute; left: 14px; color: #9394a5;
  pointer-events: none; z-index: 1;
}
.requests-table-toolbar .search input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important; background: transparent !important;
  padding: 10px 14px 10px 38px !important; font-size: 14px !important;
  color: #27266a !important; outline: none !important;
  box-shadow: none !important; width: 100%; border-radius: 8px;
}
.requests-table-toolbar .search:focus-within {
  border-color: #11e5b3 !important;
  box-shadow: 0 0 0 3px rgba(17,229,179,0.1) !important;
}
.request-filter-label {
  font-size: 11px !important; font-weight: 700 !important;
  color: #9394a5 !important; text-transform: uppercase !important;
  letter-spacing: 0.06em !important; margin-bottom: 4px !important;
}

/* Table */
.my-activities-table {
  border-collapse: collapse !important; width: 100%;
  margin-top: 4px;
}
.my-activities-table thead th,
.my-activities-table thead th a {
  font-size: 11px !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: 0.07em !important;
  color: #b0b1c2 !important; padding: 8px 12px !important;
  border-bottom: 2px solid #f0f0f8 !important;
  background: transparent !important; white-space: nowrap;
}
.my-activities-table thead th a { text-decoration: none !important; }
.my-activities-table thead th a:hover { color: #32327f !important; }

/* Rows — subtle separator, left-border accent on hover */
.my-activities-table tbody tr {
  border-bottom: 1px solid #f4f4f9 !important;
  transition: background 0.12s, box-shadow 0.12s;
  position: relative;
}
.my-activities-table tbody tr:hover {
  background: #fafffe !important;
  box-shadow: inset 3px 0 0 #11e5b3;
}
.my-activities-table tbody td {
  padding: 13px 12px !important; font-size: 13px !important;
  color: #6b6b85 !important; vertical-align: middle !important;
  height: auto !important;
}

/* Request subject link */
.my-activities-table .striped-list-title {
  color: #32327f !important; font-weight: 500 !important;
  font-size: 14px !important; text-decoration: none !important;
  transition: color 0.12s;
}
.my-activities-table .striped-list-title:hover {
  color: #0bbf96 !important; text-decoration: none !important;
}

/* Status badges — minimal pill */
.status-label {
  font-size: 11px !important; font-weight: 600 !important;
  padding: 3px 9px !important; border-radius: 20px !important;
  display: inline-block !important; letter-spacing: 0.02em;
  white-space: nowrap;
}
.status-label-solved  { background: #edfcf8 !important; color: #0bbf96 !important; border: 1px solid #b6f0e3 !important; }
.status-label-open    { background: #fff2f2 !important; color: #c72a1c !important; border: 1px solid #fdc5c2 !important; }
.status-label-new     { background: #fffbf0 !important; color: #a05a0a !important; border: 1px solid #fde68a !important; }
.status-label-pending { background: #f7f7fb !important; color: #6b6b85 !important; border: 1px solid #dddde8 !important; }
.status-label-hold    { background: #f7f7fb !important; color: #3a3a5c !important; border: 1px solid #dddde8 !important; }
.status-label-closed  { background: #f7f7fb !important; color: #9394a5 !important; border: 1px solid #dddde8 !important; }

/* ================================================================
   ARTICLE PAGE — SCROLL SPY TOC
   ================================================================ */

/* Two-column wrapper: article body left, TOC right — now removed, TOC is at container level */
.article-body-wrap { display: block; }
.article-body-wrap .article-body { width: 100%; min-width: 0; }
.article-body h2, .article-body h3 { scroll-margin-top: 90px; }

/* Tables scrollable */
.article-body img { max-width: 100% !important; height: auto !important; }

/* TOC — sibling of <article> inside .article-container */
.article-toc-nav {
  flex: 0 0 190px;
  width: 190px;
  position: sticky;
  top: 32px;
  align-self: flex-start;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding-left: 14px;
  border-left: 1px solid #e2e3ec;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 20px;
}

.article-toc-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-toc-nav li {
  margin: 0;
}

.article-toc-nav li.toc-sub a {
  padding-left: 12px;
  font-size: 12px;
}

.article-toc-nav a {
  display: block;
  padding: 5px 0;
  color: #9394a5 !important;
  text-decoration: none !important;
  transition: color 0.15s;
  border-left: 2px solid transparent;
  margin-left: -17px;
  padding-left: 15px;
  font-weight: 400;
}

.article-toc-nav a:hover {
  color: #32327f !important;
  text-decoration: none !important;
}

.article-toc-nav a.toc-active {
  color: #32327f !important;
  font-weight: 600 !important;
  border-left-color: #32327f !important;
}

/* Hide TOC on smaller screens */
@media (max-width: 1023px) {
  .article-toc-nav { display: none !important; }
}

/* Article social profile links */
.ryn-social-share {
  display: flex !important;
  align-items: center;
  gap: 14px;
}
.ryn-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9394a5 !important;
  text-decoration: none !important;
  transition: color 0.15s;
}
.ryn-social-link:hover { color: #32327f !important; }

/* ================================================================
   ARTICLE SIDEBAR — active article + star/lock icon fixes
   ================================================================ */

/* Active article in section sidebar */
.article-sidebar .collapsible-nav-list li[aria-selected="true"] a,
.article-sidebar .collapsible-nav-list li.current a,
.article-sidebar .collapsible-nav-list li [aria-current="page"] {
  background: #e2fdf7 !important;
  color: #32327f !important;
  font-weight: 600 !important;
  border-radius: 6px;
  padding: 6px 10px;
}

.article-sidebar .collapsible-nav-list li[aria-selected="true"],
.article-sidebar .collapsible-nav-list li.current {
  border-bottom: none !important;
}