@charset "UTF-8";

/* --- BRAND VARIABLES --- */
:root {
  --ssc-brand: #673EF3;      /* Main Electric Purple */
  --ssc-deep: #1C153E;       /* Deep Midnight */
  --ssc-hover: #EFEBFF;      /* Lightest tint for backgrounds */
  --ssc-border: #D8CDFF;     /* Secondary soft purple for borders */
  --ssc-text-gray: #404040;  /* Standard Gray from your palette */
}

/***** 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;
}

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

body {
  background-color: #FFFFFF;
  color: rgba(75, 75, 74, 1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  margin-top: 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 16px;
  font-weight: normal;
}

a {
  color: rgba(102, 65, 243, 1);
  text-decoration: none;
}

a:hover, a:active, a:focus {
  text-decoration: underline;
}

input,
textarea {
  color: #000;
  font-size: 14px;
}

input {
  max-width: 100%;
  box-sizing: border-box;
  transition: border .12s ease-in-out;
}

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

input:not([type="checkbox"]):focus {
  border: 1px solid rgba(102, 65, 243, 1);
}

input[disabled] {
  background-color: #ddd;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23CCC' d='M0 0h10L5 6 0 0z'/%3E%3C/svg%3E%0A") no-repeat #fff;
  background-position: right 10px center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 30px 8px 10px;
  outline: none;
  color: #555;
  width: 100%;
}

select:focus {
  border: 1px solid rgba(102, 65, 243, 1);
}

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

textarea {
  border: 1px solid #ddd;
  border-radius: 2px;
  resize: vertical;
  width: 100%;
  outline: none;
  padding: 10px;
}

textarea:focus {
  border: 1px solid rgba(102, 65, 243, 1);
}

.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 #ddd;
  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,
[id^="follow-button"] { /* Added the dynamic ID here */
  border: 1px solid var(--ssc-brand) !important;
  color: var(--ssc-brand) !important;
  background-color: transparent !important;
  border-radius: 4px !important;
  font-family: "Inter", sans-serif;
  font-weight: 600 !important;
  font-size: 13px;
  padding: 6px 18px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

@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;
  }
}

/* 1. Universal Hover, Active, and Focus States */
.button:hover, .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, [id^="follow-button"]:hover,
.button:active, .button:focus, .button.button-primary {
  background-color: var(--ssc-hover) !important; /* Your light purple #EFEBFF */
  color: var(--ssc-brand) !important;            /* Your brand purple #673EF3 */
  border-color: var(--ssc-brand) !important;
  text-decoration: none !important;
}

/* 2. Style for Selected/Followed State */
.article-subscribe button[data-selected="true"],
.section-subscribe button[data-selected="true"],
.community-follow button[data-selected="true"] {
  background-color: var(--ssc-brand) !important;
  color: #ffffff !important;
}

/* 3. Disabled States */
.button[data-disabled], [id^="follow-button"][data-disabled] {
  cursor: default;
  opacity: 0.5;
}

/* 4. Large Primary Buttons (like Submit) */
.button-large, input[type="submit"] {
  cursor: pointer;
  background-color: var(--ssc-brand) !important;
  border: 0;
  border-radius: 4px;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.72;
  min-width: 190px;
  padding: 0 1.9286em;
  width: 100%;
  transition: opacity 0.2s;
}

.button-large:hover, input[type="submit"]:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* 5. Secondary Buttons */
.button-secondary {
  color: var(--ssc-text-gray);
  border: 1px solid #ddd;
  background-color: transparent;
}

.button-secondary:hover {
  border-color: var(--ssc-brand);
  color: var(--ssc-brand);
}

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

.split-button button {
  background-color: rgba(102, 65, 243, 1);
  border: 0;
  color: rgba(235, 235, 226, 1);
  height: 32px;
  line-height: 16px;
  outline-color: rgba(102, 65, 243, 1);
}

[dir="rtl"] .split-button button:not(:only-child):first-child {
  border-left: 1px solid rgba(235, 235, 226, 1);
  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(235, 235, 226, 1);
  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;
}
.article-body img {
  height: auto;
  max-width: 100%;
  border: 2px solid #e0e1e6;
  border-radius: 4px;
}

/***** Tables *****/
.table,
.article-body table,
.article-body figure.table table,
.article-body figure.wysiwyg-table table {
  width: 100%;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: auto;
  font-size: 14px;
  background-color: #FFFFFF;
  border: 1px solid #E3E5ED !important;
}

/* Header cells */
.table th,
.article-body table th,
.article-body figure.table table th,
.article-body figure.wysiwyg-table table th {
  background-color: #F3F3F3 !important;
  color: #1C153E !important;
  font-weight: 500 !important;
  text-align: left !important;
  vertical-align: top !important;
  padding: 10px 12px !important;
  border: 1px solid #E3E5ED !important;
}

/* Safety net if first row uses td instead of th */
.article-body table tr:first-child td,
.article-body figure.table table tr:first-child td,
.article-body figure.wysiwyg-table table tr:first-child td {
  background-color: #F3F3F3 !important;
  color: #1C153E !important;
  font-weight: 500 !important;
  border: 1px solid #E3E5ED !important;
}

/* Body cells */
.table td,
.article-body table td,
.article-body figure.table table td,
.article-body figure.wysiwyg-table table td {
  color: #404040 !important;
  vertical-align: top !important;
  padding: 12px !important;
  border: 1px solid #E3E5ED !important;
  background-color: #FFFFFF;
}

/* RTL */
[dir="rtl"] .table th,
[dir="rtl"] .table th a,
[dir="rtl"] .article-body table th,
[dir="rtl"] .article-body table th a {
  text-align: right !important;
}

/* Mobile fallback */
@media (max-width: 767px) {
  .table,
  .article-body table,
  .article-body figure.table table,
  .article-body figure.wysiwyg-table table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}


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

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

.form-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.form-field input {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
}

.form-field input:focus {
  border: 1px solid rgba(102, 65, 243, 1);
}

.form-field input[type="text"] {
  border: 1px solid #ddd;
  border-radius: 4px;
}

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

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

.form-field .nesty-input {
  border-radius: 4px;
  height: 40px;
  line-height: 40px;
  outline: none;
  vertical-align: middle;
}

.form-field .nesty-input:focus {
  border: 1px solid rgba(102, 65, 243, 1);
  text-decoration: none;
}

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

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

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

.form-field .optional {
  color: #7e7e7d;
  margin-left: 4px;
}

.form-field p {
  color: #7e7e7d;
  font-size: 12px;
  margin: 5px 0;
}

.form footer {
  margin-top: 40px;
  padding-top: 30px;
}

.form footer a {
  color: #7e7e7d;
  cursor: pointer;
  margin-right: 15px;
}

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

.form .suggestion-list label {
  border-bottom: 1px solid #ddd;
  display: block;
  padding-bottom: 5px;
}

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

.form .suggestion-list li a:visited {
  color: #4B61C3;
}

/***** Header *****/
.header {
  max-width: 1440px !important;
  width: 95% !important;
  margin: 0 auto;
  /* CHANGE: Increase the left/right padding to 40px to match the article grid */
  padding: 0 40px !important; 
  position: relative;
  align-items: center;
  display: flex;
  height: 71px;
  justify-content: space-between;
}

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

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

.logo span {
  margin: 0 10px;
  color: rgba(102, 65, 243, 1);
}

.logo a {
  display: inline-block;
}

.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: #fff;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15), 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  border: solid 1px #ddd;
  right: 0;
  left: 0;
  top: 71px;
  z-index: 1;
}

.request_ticket_form_id{
/**    display:none; */
}

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

.nav-wrapper a {
  border: 0;
  color: rgba(102, 65, 243, 1);
  display: none;
  font-size: 14px;
  padding: 0 20px 0 0;
  width: auto;
}

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

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

.nav-wrapper a:hover, .nav-wrapper a:focus, .nav-wrapper a:active {
  background-color: transparent;
  color: rgba(102, 65, 243, 1);
  text-decoration: underline;
}

.nav-wrapper a.sign-in {
  display: inline-block;
}

@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: rgba(102, 65, 243, 1);
  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: 13px;
  height: 13px;
}

[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: rgba(102, 65, 243, 1);
}

.skip-navigation {
  align-items: center;
  background-color: black;
  color: white;
  display: flex;
  font-size: 14px;
  justify-content: center;
  left: -999px;
  margin: 20px;
  padding: 20px;
  overflow: hidden;
  position: absolute;
  top: auto;
  z-index: -999;
}

[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: rgba(102, 65, 243, 1);
  min-width: 0;
  padding: 0;
  white-space: nowrap;
}

.user-info > button:hover, .user-info > button:focus {
  color: rgba(102, 65, 243, 1);
  background-color: transparent;
}

.user-info > button::after {
  color: rgba(102, 65, 243, 1);
  padding-right: 15px;
}

[dir="rtl"] .user-info > button::after {
  padding-left: 15px;
  padding-right: 0;
}

#user #user-name {
  display: none;
  font-size: 14px;
}

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

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

/***** User avatar *****/
.user-avatar {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

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

.avatar img {
  height: 40px;
  width: 40px;
}

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

/***** Footer *****/
.footer {
  border-top: 1px solid #ddd;
  margin-top: 60px;
  padding: 30px 0;
}

.footer a {
  color: #7e7e7d;
}

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

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

.footer-language-selector button {
  color: #7e7e7d;
  display: inline-block;
}

/***** Breadcrumbs - CLICKABLE & UNWRAPPED *****/
.breadcrumbs {
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important; /* Forces them to stay on one line */
  position: relative !important;
  z-index: 20 !important; /* Ensures they sit ABOVE any invisible search boxes */
}

/* Pull them down slightly on Category pages */
.category-container .breadcrumbs, 
.section-container .breadcrumbs {
  margin-top: 10px !important;
}

.breadcrumbs li {
  color: #6c7385 !important;
  display: inline-flex !important; /* Keeps them horizontal */
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  max-width: none !important; /* Prevents wrapping */
  white-space: nowrap;
}

.breadcrumbs li a {
  color: var(--ssc-brand) !important;
  text-decoration: none !important;
  display: inline-block !important;
  cursor: pointer !important; /* Forces the hand icon */
}

.breadcrumbs li a:hover {
  text-decoration: underline !important;
  color: var(--ssc-deep) !important;
}

.breadcrumbs li + li::before {
  content: ">";
  margin: 0 10px;
  color: #adb5bd;
  display: inline-block;
}

/* Ensure they don't turn purple-red after being clicked */
.breadcrumbs li a:visited {
  color: var(--ssc-brand) !important;
}

/***** Search field - THE CLEAN SKIN FIX *****/

.search-container {
  display: flex !important;
  justify-content: flex-end !important;
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto 40px auto !important;
  padding: 0 40px !important;
}

.search {
  width: 100% !important;
  max-width: 420px !important;
  position: relative !important;
}

.search input[type="search"] {
  width: 100% !important;
  height: 42px !important;
  border: 1px solid #ddd !important;
  border-radius: 30px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 12 12'%3E%3Ccircle cx='4.5' cy='4.5' r='3.5' fill='none' stroke='%23777777'/%3E%3Cpath stroke='%23777777' stroke-linecap='round' d='M11 11L7.5 7.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 15px center !important;
  padding: 0 20px 0 45px !important;
  background-color: #fff !important;
  outline: none !important;
}

/* Hide the 'Ghost' icons that were floating left or squishing */
.search-container svg,
.search-icon,
.icon-search {
  display: none !important;
}

/* Homepage search autocomplete dropdown */
.search-full {
  position: relative;
}

.search-full .searchbox-suggestions,
.search-full ul[role="listbox"],
.searchbox-suggestions,
ul[role="listbox"] {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin-top: 8px !important;
  border: 1px solid #E3E5ED !important;
  border-radius: 8px !important;
  background: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(28, 21, 62, 0.08) !important;
  overflow: hidden !important;
  padding: 0 !important;
}

/* Header row like "Featured articles" */
.search-full .searchbox-suggestions li[aria-label],
.search-full .searchbox-suggestions-title,
.searchbox-suggestions li[role="presentation"],
.searchbox-suggestions li:first-child,
ul[role="listbox"] li[role="presentation"],
ul[role="listbox"] li:first-child {
  background: #F8F9FB !important;
  color: #1C153E !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid #EBEBEB !important;
}

/* Individual result rows */
.search-full .searchbox-suggestions li,
.search-full ul[role="listbox"] li,
.searchbox-suggestions li,
ul[role="listbox"] li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #F3F3F3 !important;
  list-style: none !important;
}

.search-full .searchbox-suggestions li:last-child,
.search-full ul[role="listbox"] li:last-child,
.searchbox-suggestions li:last-child,
ul[role="listbox"] li:last-child {
  border-bottom: 0 !important;
}

/* Result links */
.search-full .searchbox-suggestions li a,
.search-full ul[role="listbox"] li a,
.searchbox-suggestions a,
ul[role="listbox"] a,
.searchbox-suggestions a:link,
.searchbox-suggestions a:visited,
.searchbox-suggestions a:hover,
.searchbox-suggestions a:focus,
ul[role="listbox"] a:link,
ul[role="listbox"] a:visited,
ul[role="listbox"] a:hover,
ul[role="listbox"] a:focus {
  display: block !important;
  padding: 16px 20px !important;
  text-decoration: none !important;
  color: #1C153E !important;
}

/* Force all title-like children to inherit dark text first */
.searchbox-suggestions a *,
ul[role="listbox"] a * {
  color: inherit !important;
}

/* Result title */
.search-full .searchbox-suggestions li a > *:first-child,
.search-full ul[role="listbox"] li a > *:first-child,
.searchbox-suggestions a > *:first-child,
ul[role="listbox"] a > *:first-child {
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #1C153E !important;
  margin-bottom: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Result breadcrumb / metadata */
.search-full .searchbox-suggestions li a > *:last-child,
.search-full ul[role="listbox"] li a > *:last-child,
.searchbox-suggestions li a > *:last-child,
ul[role="listbox"] li a > *:last-child {
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #6C7385 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Hover state */
.search-full .searchbox-suggestions li a:hover,
.search-full .searchbox-suggestions li a:focus,
.search-full ul[role="listbox"] li a:hover,
.search-full ul[role="listbox"] li a:focus,
.searchbox-suggestions a:hover,
.searchbox-suggestions a:focus,
ul[role="listbox"] a:hover,
ul[role="listbox"] a:focus {
  background: #FAFBFF !important;
  text-decoration: none !important;
}

/***** Hero component *****/
.hero {
  background-image: url(/hc/theming_assets/01KKVK99A7CW3PDECYT42JE8SN);
  background-position: center;
  background-size: cover;
  height: 300px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
}

.hero-inner {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 610px;
  margin: 0 auto;
}
/**Mark Glinski created the following class as an alternative to hero-inner on community_topic_list.hbs**/
.hero-inner-community {
  position: relative;
  top: 50px;

  max-width: 610px;
  margin: 60px auto;
}

/**toc-start**/
.toc-list ul, .toc-list ol {
  list-style-type: revert;
}
.toc-list ul li, .toc-list ol li {
  margin: 0px 0 0px 10px;
}
.toc-list ul li a {
  border-radius: 4px;
  color: rgba(75, 75, 74, 1);
  display: block;
  font-weight: 300;
  padding-left: 10px;
  /*margin-bottom: 10px;*/
}

.toc-list ul li a:hover {
  background-color: rgba(102, 65, 243, 1);
  color: rgba(235, 235, 226, 1);
  text-decoration: none;
}
/**toc-end**/

.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 {
  font-style: italic;
  margin: 0 0 30px 0;
  word-break: break-word;
}

@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: 30px;
  min-height: 50px;
  padding-bottom: 15px;
}

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

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

.sub-nav input[type="search"]::after {
  font-size: 15px;
}
*/

/***** Blocks *****/
/* Used in Homepage#categories and Community#topics */
.blocks-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
}

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

.blocks-item {
  border: 1px solid #E3E5ED;
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--ssc-deep);
  background-color: #FFFFFF;
  display: flex;
  flex: 1 0 340px;
  margin: 0 0 36px;
  max-width: 100%;
  text-align: center;
  transition: all 0.2s ease;
}

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

.blocks-item:hover, .blocks-item:focus, .blocks-item:active {
  background-color: #F8F7FF;
  border-color: #E3E5ED;
}

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

.blocks-item-internal {
  background-color: transparent;
  border: 1px solid #ddd;
}

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

.blocks-item-internal a {
  color: rgba(75, 75, 74, 1);
}

.blocks-item-link {
  color: var(--ssc-deep);
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  border-radius: inherit;
}

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

.blocks-item-link:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(102, 65, 243, 1);
  text-decoration: none;
}

.blocks-item-title {
  margin-bottom: 0;
  font-size: 16px;
}

.blocks-item-description {
  margin: 0;
}

.blocks-item-description:not(:empty) {
  margin-top: 10px;
}

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

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

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

/***** Promoted articles *****/
.promoted-articles {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

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

.promoted-articles-item {
  flex: 1 0 auto;
}

@media (min-width: 1024px) {
  .promoted-articles-item {
    align-self: flex-end;
    flex: 0 0 auto;
    padding-right: 30px;
    width: 33%;
    /* Three columns on desktop */
  }
  [dir="rtl"] .promoted-articles-item {
    padding: 0 0 0 30px;
  }
}

.promoted-articles-item:nth-child(3n) {
  padding-right: 0;
}

.promoted-articles-item a {
  display: block;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  color: rgba(75, 75, 74, 1);
}

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

.promoted-articles-item:last-child a {
  border: 0;
}

@media (min-width: 1024px) {
  .promoted-articles-item:last-child a {
    border-bottom: 1px solid #ddd;
  }
}

/***** Community section in homepage *****/
.community {
  text-align: center;
}

.community-image {
  min-height: 300px;
  margin-top: 32px;
  background-image: url(/hc/theming_assets/01HZPEGJTKDEAEVWQB7F1KC2G9);
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100%;
}

.community,
.activity {
  border-top: 1px solid #ddd;
  padding: 30px 0;
}

/***** Recent activity *****/
.recent-activity-header {
  margin-bottom: 10px;
  text-align: center;
}

.recent-activity-list {
  padding: 0;
}

.recent-activity-item {
  border-bottom: 1px solid #ddd;
  overflow: auto;
  padding: 20px 0;
}

.recent-activity-item-parent {
  font-size: 16px;
}

.recent-activity-item-parent, .recent-activity-item-link {
  margin: 6px 0;
  color: rgba(75, 75, 74, 1);
  display: inline-block;
  width: 100%;
}

@media (min-width: 768px) {
  .recent-activity-item-parent, .recent-activity-item-link {
    width: 70%;
    margin: 0;
  }
}

.recent-activity-item-link {
  font-size: 14px;
}

.recent-activity-item-meta {
  margin: 15px 0 0 0;
  float: none;
}

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

.recent-activity-item-time, .recent-activity-item-comment {
  color: #7e7e7d;
  display: inline-block;
  font-size: 13px;
}

.recent-activity-item-comment {
  padding-left: 5px;
}

[dir="rtl"] .recent-activity-item-comment {
  padding: 0 5px 0 0;
}

.recent-activity-item-comment::before {
  display: inline-block;
}

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

.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(102, 65, 243, 1);
  width: 16px;
  height: 16px;
}

.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;
}

/***** Unified Category & Section Page Layouts - COORDINATE MATCH *****/

.category-container, 
.section-container {
  display: flex !important;
  justify-content: flex-start !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  gap: 80px !important; /* Matches Article page gap */
  align-items: flex-start !important;
  
  /* ADJUSTMENT: Matches the natural drop of the article page */
  padding: 45px 40px !important; 
}

/* Nudge the 'TOPICS' sidebar specifically to match 'IN THIS ARTICLE' */
.section-sidebar {
  flex: 0 0 240px !important;
  position: sticky !important;
  top: 30px !important;
  padding-top: 10px !important; /* Precise nudge for vertical alignment */
}

/* Push the Category title down to match Article title height */
.page-header h1 {
  margin-top: 55px !important; 
  font-size: 32px !important;
  font-weight: 700 !important;
  color: var(--ssc-deep) !important;
}

/* Tighten the search bar so it doesn't float too far up */
.category-container .search-container,
.section-container .search-container {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

/* --- CATEGORY SPACING RESTORATION (TIGHTENED) --- */

/* 1. Reduce the gap between Search Bar and Heading */
.category-content, 
.section-content {
  margin-top: 10px !important; /* Slashing this from 60px to 10px */
  display: block !important;
  clear: both !important;
}

/* 2. Fix the Container itself so it doesn't push down from the breadcrumbs */
.category-container, 
.section-container {
  padding-top: 20px !important; /* Pulls the whole layout up toward the header */
  margin-top: 0 !important;
}

/* 3. Keep the breathing room between sections (this part was good) */
.section-group, 
.section-tree .section {
  margin-bottom: 60px !important; 
}

/***** Article *****/
/*
.article {
 
  * The article grid is defined this way to optimize readability:
  * Sidebar | Content | Free space
  * 17%     | 66%     | 17%

  flex: 1 0 auto;
}

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

/* OLD ARTICLE STYLE
.article-container {
  display: flex;
  flex-direction: column;
}

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

.article-header {
  width: 100% !important;
  display: block !important; /* Ensures it takes up the full width of the column */
}

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

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

/* 1. Vertically center the Follow button with the Author info */
.article-author {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  
  width: 100% !important;
  /* This is the key: match this to your article-body width */
  max-width: 850px !important; 
  
  margin-top: 16px !important;
  margin-bottom: 32px !important;
  flex-wrap: nowrap !important;
}

.article-author .avatar {
  margin-right: 12px !important;
  flex-shrink: 0 !important;
}

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

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

.article [role="button"] {
  flex-shrink: 0;
  /*Avoid collapsing elements in Safari (https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored)*/
  width: 100%;
}

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

.article-info {
  max-width: 100%;
}

/* Soften the author text (Step 1 scale) */
.article-meta {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.article-meta a {
  color: #171e33;
  font-weight: 500;
  font-size: 14px;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 500;
  color: #2B2557;
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.3;
}

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

.article-body ul, .article-body ol {
  padding-left: 24px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
  line-height: 1.65;
}

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

.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.6em 0 0.4em;
}

.article-body li {
  margin-bottom: 0.6em;
}

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

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

.article-body a:visited {
  color: #4B61C3;
}

/* Inline — for short snippets within a sentence */
.article-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  font-size: 0.9em;
}

/* Block — for multi-line technical content like URL lists */
.article-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  line-height: 1.6;
}

.article-body pre code {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.article-body blockquote {
  border-left: 1px solid #ddd;
  color: #7e7e7d;
  font-style: italic;
  padding: 0 15px;
}

/*Colored Notes and feedback Style*/

/* Shared styles */
blockquote.note,
blockquote.tip,
blockquote.warning {
  background-color: #F3F3F3;
  box-shadow: inset 0 0 0 1px #EBEBEB;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 12px 0;
  font-style: normal;
  text-align: left;
}

/* Variants */
blockquote.note {
  border-left: 4px solid #673EF3;
  color: #1C153E;
}

blockquote.tip {
  border-left: 4px solid #B29BFF;
  color: #404040;
}

blockquote.warning {
  border-left: 4px solid #F27E5B;
  color: #1C153E;
}

blockquote strong {
  color: #1C153E;
}

/*blockquote.high-sev {
    background-color:pink;
    padding:10px;
    color:black;
    font-style:normal;
    text-align:left; 
    margin: 0px;
    margin-bottom: 12px;
    margin-top: 12px;
}
blockquote.important {
  background: rgba(103, 62, 243, 0.08);
  border-left: 4px solid #673EF3;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 12px 0;
} 
blockquote.medium-sev {
    background-color:#F9DDB5;
    padding:10px;
    color:black;
    font-style:normal;
    text-align:left; 
    margin: 0px;
    margin-bottom: 12px;
    margin-top: 12px;
}
blockquote.low-sev {
    background-color:#FDF4D0;
    padding:10px;
    color:black;
    font-style:normal;
    text-align:left; 
    margin: 0px;
    margin-bottom: 12px;
    margin-top: 12px;
}
blockquote.positive {
    background-color:#D2E7BA;
    padding:10px;
    color:black;
    font-style:normal;
    text-align:left; 
    margin: 0px;
    margin-bottom: 12px;
    margin-top: 12px;
}
blockquote.informational {
    background-color:#EDF4FB;
    padding:10px;
    color:black;
    font-style:normal;
    text-align:left; 
    margin: 0px;
    margin-bottom: 12px;
    margin-top: 12px;
}*/

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

.article-content {
  line-height: 1.6;
  margin: 40px 0;
  word-wrap: break-word;
}

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

.article-comment-count {
  color: #7e7e7d;
}

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

.article-comment-count-icon {
  vertical-align: middle;
  color: rgba(102, 65, 243, 1);
  width: 18px;
  height: 18px;
}

/* OLD ARTICLE STYLE
.article-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}

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

.article-relatives {
  display: grid;
  grid-template-columns: 1fr; /* Default to 1 column for mobile */
  gap: 40px;
  margin-top: 80px;
  padding: 40px;
  background-color: #FBFBFB !important; 
  border: 1px solid #EBEBEB !important;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .article-relatives {
    grid-template-columns: 1fr 1fr; /* Snaps to 2 columns on desktop */
  }
}

.article-relatives > * {
  overflow-wrap: break-word;
  min-width: 0; /* Prevents long links from breaking the grid width */
}

/* Style the <h3> headers inside the columns */
.relative-col h3 {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ssc-deep); /* Midnight #1C153E */
  margin-bottom: 20px;
  text-transform: none;
}

.article-relatives ul li a {
  color: #404040 !important; /* Your Brand Gray */
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.6;
}

.article-relatives ul li a:hover {
  color: var(--ssc-brand) !important; /* Turns Electric Purple ONLY on hover */
  text-decoration: underline;
}

.recent-articles-title, .related-articles-title {
  display: none !important;
}

.article-votes {
  border-top: 1px solid #ddd;
  padding: 30px 0;
  text-align: center;
}

.article-vote {
  margin: 10px 5px;
  min-width: 90px;
  width: auto;
}

.article-more-questions {
  margin: 10px 0 20px;
  text-align: center;
}

.article-return-to-top {
  border-top: 1px solid #ddd;
}

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

.article-return-to-top a {
  color: rgba(75, 75, 74, 1);
  display: block;
  padding: 20px 0;
}

.article-return-to-top a:hover, .article-return-to-top a:focus {
  text-decoration: none;
}

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

.sidenav-title {
  font-size: 15px;
  position: relative;
  font-weight: 600;
}

.sidenav-item {
  border-radius: 4px;
  color: rgba(75, 75, 74, 1);
  display: block;
  margin-bottom: 10px;
  padding: 10px;
}

.sidenav-item.current-article, .sidenav-item:hover {
  background-color: rgba(102, 65, 243, 1);
  color: rgba(235, 235, 226, 1);
  text-decoration: none;
}

.recent-articles-title,
.related-articles-title {
  display: none !important; /* This removes the "double" title */
}

.recent-articles li,
.related-articles li {
  margin-bottom: 12px;
}

.recent-articles li a,
.related-articles li a {
  color: var(--ssc-brand) !important;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.recent-articles li a:hover,
.related-articles li a:hover {
  text-decoration: underline;
  color: var(--ssc-deep) !important;
}

/***** Attachments *****/
/* Styles attachments inside posts, articles and comments */
.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: rgba(75, 75, 74, 1);
  left: 0;
  position: absolute;
  top: 5px;
}

[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: #7e7e7d;
}

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

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

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

.share a {
  color: #7e7e7d;
}

.share a:hover {
  text-decoration: none;
  color: rgba(102, 65, 243, 1);
}

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

/***** Comments *****/
/* Styles comments inside articles, posts and requests */
.comment {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

.comment-heading, .recent-articles-title,
.related-articles-title {
  margin-bottom: 5px;
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
}

.comment-overview {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  padding: 20px 0;
}

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

.comment-callout {
  color: #7e7e7d;
  display: inline-block;
  font-size: 13px;
  margin-bottom: 0;
}

.comment-callout a {
  color: rgba(102, 65, 243, 1);
}

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

.comment-sorter .dropdown-toggle {
  color: #7e7e7d;
  font-size: 13px;
}

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

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

.comment-wrapper.comment-official {
  border: 1px solid rgba(102, 65, 243, 1);
  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: 20px;
}

@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: 30px;
  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: 15px;
}

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

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

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

.comment-ccs {
  display: none;
}

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

.comment-attachments {
  margin-top: 10px;
}

.comment-attachments a {
  color: rgba(102, 65, 243, 1);
}

.comment-body {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: auto;
}

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

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

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

.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: #4B61C3;
}

.comment-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.comment-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.comment-body blockquote {
  border-left: 1px solid #ddd;
  color: #7e7e7d;
  font-style: italic;
  padding: 0 15px;
}

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

/***** Vote *****/
/* Used in article comments, post comments and post */
.vote {
  display: flex;
  flex-direction: column;
  text-align: center;
}

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

.vote-sum {
  color: #7e7e7d;
  display: block;
  margin: 3px 0;
}

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

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

.vote-up:hover,
.vote-down:hover {
  color: rgba(102, 65, 243, 1);
}

.vote-up, .vote-down {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  color: #7e7e7d;
  cursor: pointer;
  min-height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vote-voted {
  color: rgba(102, 65, 243, 1);
}

.vote-voted:hover {
  color: #320cc2;
}

/***** Actions *****/
/* Styles admin and en user actions(edit, delete, change status) in comments and posts */
.actions {
  text-align: center;
  flex-shrink: 0;
  /*Avoid collapsing elements in Safari*/
}

.actions button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  min-height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.community-footer-title {
  font-size: 16px;
  margin-bottom: 20px;
}

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

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

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

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

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

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

/* Community topics grid */
.topics {
  max-width: none;
  width: 100%;
}

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

/* Community topic page */
.topic-header {
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}

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

.topic-header .dropdown {
  display: block;
  border-top: 1px solid #ddd;
  padding: 10px 0;
}

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

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

/* Topic, post and user follow button */
.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 15px;
  position: relative;
  width: 100%;
}

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

.community-follow button:hover {
  background-color: rgba(102, 65, 243, 1);
}

.community-follow button:hover::after, .community-follow button:focus::after {
  border-color: rgba(235, 235, 226, 1);
  color: rgba(235, 235, 226, 1);
}

.community-follow button[data-selected="true"] {
  background-color: rgba(102, 65, 243, 1);
  color: rgba(235, 235, 226, 1);
}

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

.community-follow button[data-selected="true"]:hover {
  background-color: #320cc2;
  border-color: #320cc2;
}

.community-follow button::after {
  border-left: 1px solid rgba(102, 65, 243, 1);
  content: attr(data-follower-count);
  color: rgba(102, 65, 243, 1);
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  margin-left: 15px;
  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(102, 65, 243, 1);
  margin: 0 10px 0 0;
  padding: 0 10px 0 0;
}

/***** Striped list *****/
/* Used in community posts list and requests list */
.striped-list {
  padding: 0;
}

.striped-list-item {
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 0;
}

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

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

.striped-list-title {
  color: rgba(102, 65, 243, 1);
  margin-bottom: 10px;
  margin-right: 5px;
}

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

.striped-list-title:visited {
  color: #4B61C3;
}

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

.striped-list-count {
  color: #7e7e7d;
  font-size: 13px;
  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: rgba(75, 75, 74, 1);
    display: block;
  }
}

/***** Status labels *****/
/* Styles labels used in posts, articles and requests */
.status-label {
  background-color: #038153;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin-right: 2px;
  padding: 3px 10px;
  vertical-align: middle;
  white-space: nowrap;
  display: inline-block;
}

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

.status-label-pinned, .status-label-featured, .status-label-official {
  background-color: rgba(102, 65, 243, 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 4px 4px;
    right: 30px;
    width: auto;
  }
}

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

.status-label-not-planned, .status-label-closed {
  background-color: #e9ebed;
  color: #7e7e7d;
}

.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 *****/
/*
* The post grid is defined this way:
* Content | Sidebar
* 70%     | 30%
*/
.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: 20px;
  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: 30px;
}

.post-content {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  word-break: break-word;
}

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

.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: 20px 0 20px 20px;
}

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

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

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

.post-body a:visited {
  color: #4B61C3;
}

.post-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.post-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.post-body blockquote {
  border-left: 1px solid #ddd;
  color: #7e7e7d;
  font-style: italic;
  padding: 0 15px;
}

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

.post-comment-count {
  color: #7e7e7d;
}

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

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

.post-sidebar {
  border-top: 1px solid #ddd;
  flex: 1;
  padding: 30px 0;
  text-align: center;
}

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

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

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

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

/***** Community Badges *****/
/* Styles labels used next to the authors of article comments, community posts, and community comments */
.community-badge-title {
  background-color: #04444d;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 0px 8px;
  vertical-align: top;
  white-space: nowrap;
  display: inline-flex;
  line-height: 18px;
  vertical-align: middle;
}

.profile-info .community-badge-title {
  padding: 2px 8px;
  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: 15px;
}

.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;
}

/* Navigation element that collapses on mobile */
.collapsible-nav {
  flex-direction: column;
  font-size: 14px;
  position: relative;
}

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

.collapsible-nav-border {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}

@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: 25px;
  height: 25px;
  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(102, 65, 243, 1);
}

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

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

.collapsible-nav-list li {
  color: rgba(75, 75, 74, 1);
  line-height: 45px;
  order: 1;
}

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

.collapsible-nav-list li a {
  color: rgba(75, 75, 74, 1);
  display: block;
}

@media (min-width: 768px) {
  .collapsible-nav-list li:hover {
    border-bottom: 4px solid #ddd;
  }
  .collapsible-nav-list li:hover a:not([aria-current="page"]) {
    padding: 15px 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: 15px 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: 4px solid rgba(102, 65, 243, 1);
    order: 1;
  }
}

.collapsible-nav-list li[aria-selected="true"] a,
.collapsible-nav-list li.current a {
  color: rgba(75, 75, 74, 1);
}

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

/* Sidebar navigation that collapses on mobile */
.collapsible-sidebar {
  flex: 1;
  max-height: 45px;
  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(45px / 2);
  transform: translateY(-50%);
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 25px;
  height: 25px;
  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(102, 65, 243, 1);
}

.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: #f2f2f2;
  margin-bottom: 20px;
}

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

.my-activities-table .striped-list-title {
  /* My activities tables */
  display: block;
  margin-bottom: 10px;
  max-width: 350px;
  white-space: normal;
}

@media (min-width: 1024px) {
  .my-activities-table .striped-list-title {
    margin-bottom: 0;
    max-width: 500px;
    min-width: 350px;
    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: 500px;
  }
}

.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 table */
.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 30px;
  }
  [dir="rtl"] .requests-table-toolbar .request-filter {
    margin: 0 30px 0 0;
  }
}

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

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

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

@media (min-width: 768px) {
  .requests-table-toolbar select {
    margin-bottom: 0;
    max-width: 300px;
    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 20px;
}

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

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

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

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

.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;
}

/* Following table */
@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 */
.contributions-table td:last-child {
  color: #7e7e7d;
  font-size: 13px;
}

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

.no-activities {
  color: #7e7e7d;
}

/***** 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: 40px;
}

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

.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: 2px;
  border: 1px solid #ddd;
  color: #7e7e7d;
  text-align: inherit;
  padding: 8px 25px;
  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(102, 65, 243, 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(102, 65, 243, 1);
}

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

.request-title {
  width: 100%;
}

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

.request-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  order: 0;
}

@media (min-width: 1024px) {
  .request-sidebar {
    background-color: #f7f7f7;
    border: 0;
    font-size: 13px;
    flex: 0 0 auto;
    padding: 0 20px;
    width: 30%;
  }
}

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

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

.request-details {
  border-bottom: 1px solid #ddd;
  font-size: 0;
  margin: 0;
  padding-bottom: 20px;
}

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

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

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

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

.request-details dt {
  color: #7e7e7d;
  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: 20px;
}

/***** 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: #7e7e7d;
  font-size: 13px;
}

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

/* User Profiles */
.profile-header {
  padding: 30px 0;
  background-color: #f7f7f7;
}

.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: 80px;
  height: 80px;
}

.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: 25px;
}

.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: 15px;
}

.profile-header .description {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 15px 0;
  flex-basis: 100%;
}

.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: #7e7e7d;
  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 #ddd;
  margin-top: 15px;
}

@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: 40px;
  }
  [dir="rtl"] .profile-stats-activity .stat:not(:last-child) {
    margin-left: 40px;
    margin-right: 0;
  }
}

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

.profile-stats-counters {
  border-bottom: solid 1px #ddd;
}

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

@media (min-width: 1024px) {
  .profile-stats-counters {
    flex: 0 0 270px;
    margin-left: 60px;
  }
  [dir="rtl"] .profile-stats-counters {
    margin-right: 60px;
    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: 15px;
  }
}

@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 rgba(102, 65, 243, 1);
  border-radius: 4px;
  color: rgba(102, 65, 243, 1);
  padding: 5px 20px;
  font-size: 12px;
  text-align: center;
}

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

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

.profile-nav {
  background-color: #f2f2f2;
  margin-bottom: 37px;
}

.profile-section {
  width: 100%;
}

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

.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: #7e7e7d;
  font-size: 13px;
  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 #eee;
  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;
  }
}

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

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

.profile-badges-item {
  border-top: 1px solid #ddd;
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: flex-start;
  padding: 27px 12px;
}

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

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

.profile-badges-item-image img {
  max-height: 40px;
}

[dir="rtl"] .profile-badges-item-image {
  margin-left: 12px;
  margin-right: 0;
}

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

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

.profile-badges-item-description, .profile-badges-item-metadata-description {
  color: #7e7e7d;
  font-size: 13px;
  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: 20px 0;
  position: relative;
}

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

.profile-contribution-title {
  margin: 0 0 5px 0;
  display: inline;
  line-height: 21px;
  font-size: 15px;
  vertical-align: middle;
}

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

.profile-contribution-list > .profile-contribution {
  border-top: 1px solid #eee;
}

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

.profile-contribution-list > .profile-contribution:last-child {
  border-bottom: 1px solid #eee;
}

.profile-contribution-icon {
  left: 0;
  position: absolute;
  color: #ccc;
  line-height: 25px;
}

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

.profile-contribution-icon svg {
  vertical-align: middle;
}

.profile-contribution-list .profile-contribution-header {
  margin-left: 30px;
}

[dir="rtl"] .profile-contribution-list .profile-contribution-header {
  padding-right: 30px;
  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: 30px;
}

[dir="rtl"] .profile-comments .profile-contribution-breadcrumbs {
  padding-right: 30px;
  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: 40px;
  color: #999;
}

.private-activity-icon {
  margin-right: 10px;
}

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

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

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

@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 #ddd;
  }
  [dir="rtl"] .profile-activity:not(:last-child) {
    border-left: 0;
    border-right: 1px solid #ddd;
  }
}

.profile-activity-header {
  display: flex;
  align-items: center;
  margin-left: 35px;
}

[dir="rtl"] .profile-activity-header {
  margin-left: 0;
  margin-right: 35px;
}

@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: 20px;
  margin-top: 10px;
  border-radius: 8px;
  background-color: #f7f7f7;
}

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

.profile-activity-icon {
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-color: #FFFFFF;
  background-position: 50% 50%;
  text-align: center;
  color: #ccc;
}

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

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

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

/***** Search results - BRANDED COLORS & STRAIGHT LINE FIX *****/
.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 #ddd;
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}

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

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

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

.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: #888;
}

.search-results-sidebar .see-all-filters {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  padding: 10px;
  color: var(--ssc-brand);
}

.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: 18px;
  font-weight: 600;
  color: var(--ssc-deep);
}

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

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

.search-results-list > li:first-child {
  border-top: 1px solid #ddd;
}

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

/* --- THE CLEAN SINGLE-LINE METADATA --- */
.search-results .meta-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important; /* Forces everything onto the exact same vertical center */
  justify-content: flex-start !important; /* Keeps everything grouped to the left */
  gap: 15px !important; /* Adds a consistent gap between breadcrumbs and author */
  margin-top: 8px !important;
  color: #888;
  list-style: none !important;
}

/* Ensure breadcrumbs behave as one cohesive unit */
.search-result-breadcrumbs {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.search-result-breadcrumbs li {
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

/* Force Breadcrumbs to stay Gray */
.search-result-breadcrumbs li, 
.search-result-breadcrumbs li a, 
.search-result-breadcrumbs li a:link,
.search-result-breadcrumbs li a:visited {
  color: #6c7385 !important;
  text-decoration: none !important;
}

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

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

.search-results-description {
  margin-top: 10px;
  word-break: break-word;
  color: #444;
}

/* Branded the Result Titles */
.search-result-title {
  font-size: 18px;
  display: inline-block;
}

.search-result-title a {
  color: var(--ssc-brand) !important;
}

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

.search-result-votes, .search-result-meta-count {
  color: #888;
  display: inline-block;
  font-size: 13px;
  padding: 4px 5px;
  position: relative;
}

.search-result-votes-icon, .search-result-meta-count-icon {
  color: var(--ssc-brand);
  vertical-align: middle;
  width: 13px;
  height: 13px;
}

/* Clean bolding for search keywords */
.search-results-description em {
  font-style: normal;
  font-weight: bold;
  color: #000;
}

/* Add a yellow background for Chinese */
html[lang|="zh"] .search-results-description em {
  font-style: normal;
  background: yellow;
}

/* SEARCH RESULTS: hide author + date, keep breadcrumbs */
.search-results .meta-group .meta-data {
  display: none !important;
}

/* keep breadcrumbs visible */
.search-results .meta-group .search-result-breadcrumbs {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* remove the extra dot after breadcrumbs */
.search-results .search-result-breadcrumbs::after {
  content: none !important;
}

.search-results .meta-group {
  gap: 0 !important;
  margin-top: 4px !important;
}

.search-results .search-result-breadcrumbs {
  font-size: 12px !important;
  color: #6c7385 !important;
}

/* --- SEARCH RESULTS SIDEBAR: match Category/Article sidebars --- */

/* Sidebar column spacing */
.search-results-sidebar {
  border-top: 0 !important;
  padding-top: 18px !important;
}

/* "Type" heading -> match TOPICS / IN THIS ARTICLE */
.search-results-subheading {
  font-family: "Inter", sans-serif;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #adb5bd !important;
  margin-bottom: 20px !important;
}

/* Sidebar links */
.search-results-sidebar .sidenav-item {
  font-family: "Inter", sans-serif;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: #6c7385 !important;
  text-decoration: none !important;
  display: block !important;
  padding: 10px 15px !important;
  margin: 0 !important;
  border-left: none !important;
  border-radius: 0 4px 4px 0 !important;
  background-color: transparent !important;
  transition: all 0.2s ease;
}

/* Hover state: lighter, not "selected" */
.search-results-sidebar .sidenav-item:hover {
  color: #673EF3 !important;
  background-color: rgba(103, 62, 243, 0.04) !important;
  text-decoration: none !important;
}

/* Current/selected state */
.search-results-sidebar .sidenav-item.current {
  color: #673EF3 !important;
  background-color: #EFEBFF !important;
  box-shadow: inset 3px 0 0 0 #673EF3 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

/* Count styling, e.g. (33) */
.search-results-sidebar .sidenav-item .doc-count {
  color: inherit !important;
  opacity: 0.7;
}


/***** Notifications *****/
.notification {
  border: 1px solid;
  display: table;
  font-family: sans-serif;
  font-size: 12px;
  padding: 13px 15px;
  transition: height .2s;
  width: 100%;
  color: #555;
}

.notification a {
  color: #158ec2;
}

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

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

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

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

/* Error */
.notification-error {
  background: #ffeded;
  border-color: #f7cbcb;
}

.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");
}

/* Notice */
.notification-notice {
  background: #dbf3ff;
  border-color: #b5e0f5;
}

.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");
}

/* Alert / Lock */
.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;
}

/* Dismiss button */
.notification-dismiss, a.notification-dismiss {
  color: #555;
  cursor: pointer;
  opacity: .6;
  transition: opacity 100ms ease;
  text-decoration: none !important;
}

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

/* Inline notifications */
.notification-inline {
  border-radius: 4px;
  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: 13px 15px;
  margin-bottom: 25px;
}

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

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

.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: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  display: none;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  left: 0;
  margin-top: 1px;
  min-width: 170px;
  padding: 10px 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 #d8d8d8;
  color: #969696;
  display: block;
  font-weight: normal;
  font-size: 11px;
  padding: 5px 0;
  margin: 5px 20px 10px 20px;
}

.dropdown-menu [role="menuitem"] {
  color: #333;
  cursor: pointer;
  display: block;
  padding: 7px 40px 7px 20px;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  text-align: start;
  line-height: inherit;
  width: 100%;
}

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

.dropdown-menu [role="menuitem"]:hover, .dropdown-menu [role="menuitem"]:focus {
  background: #f3f3f3;
  text-decoration: none;
  color: #333;
}

.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='currentColor' 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;
}

.intro-title {
      position: relative;
      top: 25%;
      font-size: 24px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0px;
}

.intro-title-subordinate {
      position: relative;
      top: 25%;
      font-size: 24px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0px;
}

.intro-title-old {
 margin-top: 0px;
 margin-bottom: 0px;
 font-size: 24px;
 font-weight: 600;
 line-height: 1.1;
 color: #fff;
 text-align: center;
}

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

@media (min-width: 992px) {
 .intro-title {
 margin-bottom: 0px;
 font-size: 32px;
 }
}
.intro-title-home {
      position: relative;
      top: 25%;
      font-size: 36px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0px;
}

/* Kapa Ask AI */
.ask-ai-button {
  background: #673EF3;
  color: #fff;
  border: none;
  border-radius: 999px;
  height: 40px;
  padding: 0 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;

  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

.ask-ai-button:hover {
  opacity: 1;
}

.ask-ai-button .icon img {
  border-radius: 6px;
  object-fit: cover;
  width: 18px;
  height: 18px;
  display: block;
}

.search-container {
  display: flex;
  gap: 4px;
  align-items: center;
}

.hidden-by-js {
  display: none !important;
}

/***********************************************************
 SIMPLE HOMEPAGE TITLE ADJUSTMENT
************************************************************/

/* Targets the Category Title (e.g., My Organization) */
.blocks-item-title {
  color: #231f20 !important;   /* Sets title to pure black */
  font-weight: 600 !important;
  margin-bottom: 10px !important; 
  display: block !important;
}

.blocks-item:hover .blocks-item-title,
.blocks-item:focus .blocks-item-title,
.blocks-item:active .blocks-item-title {
  color: var(--ssc-brand) !important;
}

/* Ensures the section list below remains a softer gray */
.blocks-item-description {
  color: #7A7A7A !important;
  font-weight: normal !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* Homepage category block hover polish */
.blocks-item:hover {
  background-color: #F8F7FF !important;
  color: inherit !important;
}

/* POPULAR ARTICLES SECTION */
.popular-articles-section {
  padding: 40px 0 0 0;
  margin-top: 32px;
  border-top: 1px solid #E3E5ED;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.popular-articles-heading {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1C153E;
  margin: 0 0 20px 0;
}

.popular-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two clean columns */
  column-gap: 80px; /* Wider gap between columns feels more premium */
  row-gap: 0;
}

.popular-article-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #f0f2f5;
  text-decoration: none;
  min-height: 60px; /* Keeps lines even */
  transition: all 0.2s ease;
}

.popular-article-card:hover {
  border-bottom-color: #673EF3;
  background-color: rgba(91, 68, 251, 0.02); /* Very subtle highlight */
}

.article-name {
  color: #333;
  font-weight: 500;
  font-size: 15px;
  padding-right: 20px;
  line-height: 1.4;
}

.view-article {
  color: #673EF3;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap; /* Prevents arrow from wrapping */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CONTAINER FOR TABS */
.tab-headers {
  display: flex;
  gap: 40px;
  margin: 40px 0 20px 0;
  border-bottom: 1px solid #f0f2f5; /* Light line across the whole width */
}

/* Base button style - invisible background */
.tab-btn {
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #666; /* Grey for inactive */
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

/* The purple underline for the active tab */
.tab-btn.active {
  color: #673EF3; /* Your brand purple */
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px; /* Sits perfectly on the border-bottom */
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #673EF3;
  border-radius: 3px 3px 0 0;
}

.tab-btn:hover {
  color: #333;
}

/* Tab Content Visibility Logic */
.tab-content {
  display: none !important;
}

.tab-content.active {
  display: block !important; /* Shows the current selection */
}

/* Tab Header Styling */
.tab-headers {
  display: flex;
  gap: 30px;
  margin: 8px 0 20px 0;
  border-bottom: 1px solid #eef0f7;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: #7A7A7A;
  cursor: pointer;
  position: relative;
}

.tab-btn.active {
  color: #673EF3;
  font-weight: 600;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #673EF3;
}

/* Minimalist List Layout */
.popular-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.popular-article-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #E6E8F0;
  text-decoration: none;
}

.popular-article-card:hover,
.popular-article-card:focus,
.popular-article-card:active {
  background-color: #FAFBFF;
  border-bottom: 1px solid #E6E8F0;
  text-decoration: none !important;
  outline: none;
  box-shadow: none;
}

.popular-article-card:hover .article-name,
.popular-article-card:focus .article-name,
.popular-article-card:active .article-name,
.popular-article-card:hover .view-article,
.popular-article-card:focus .view-article,
.popular-article-card:active .view-article {
  text-decoration: none !important;
}

.article-name {
  color: #333;
  font-size: 15px;
}

.view-article {
  color: #673EF3;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.view-article:hover {
  text-decoration: underline;
}

/* Hide Early Access articles when they appear in the Most Viewed tab */
#popular .is-ea {
  display: none !important;
}

/* Sidebar Layout Controls */
.sidebar-layout {
  display: flex;
  gap: 60px;
  margin-top: 40px;
  align-items: flex-start;
}

/* Sidebar Menu in Category page styling - ALIGNMENT UPDATE */
.section-sidebar {
  flex: 0 0 250px;
  position: sticky;
  /* Reduced top slightly and added padding to align 'TOPICS' with the Title */
  top: 20px;
  padding-top: 18px !important; 
  display: block;
  margin: 0; 
}

.sidebar-header {
  font-family: "Inter", sans-serif;
  font-size: 11px; /* Slightly smaller for a more refined label look */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em; /* Pushed tracking a tiny bit more for premium feel */
  color: #adb5bd;
  margin-bottom: 28px; /* Extra space before the links start */
  display: block;
}

/* Main Content Styling - NEW */
/* 1. Category page header */
.page-header h1 {
  font-family: "Inter", sans-serif;
  font-size: 1.95rem;       /* Step 6 */
  font-weight: 600;      
  color: #171e33;
  letter-spacing: -0.015em; /* -1.5% Tracking */
  line-height: 1.1;           /* 1x Line Height */
  margin-bottom: 24px;
}

/* 2. Category section Titles (Subheadings) */
.section-title {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;       /* Step 3 */
  font-weight: 600;        
  color: #171e33;
  letter-spacing: -0.01em;  /* -1% Tracking */
  line-height: 1.2;        /* 1.15x Line Height */
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f5; 
}

/* 3. Article List & Items */
.article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-list-item {
  display: flex;
  align-items: center;
  padding: 16px 0;          /* Clean vertical rhythm */
  border-bottom: 1px solid #f0f2f5;
}

.article-list-item:last-child {
  border-bottom: none;
}

/* 4. Article Links (Body Text) */
.article-list-link {
  font-family: "Inter", sans-serif;
  font-size: 1rem;          /* Step 1 (16px) */
  font-weight: 400;
  color: #4b5563;
  letter-spacing: -0.01em;  /* -1% Tracking */
  line-height: 1.4;         /* 1.4x Line Height */
  text-decoration: none;
  transition: color 0.2s;
}

.article-list-link:hover {
  color: #673EF3;
  text-decoration: underline;
}

/* 5. Components & Layout */
.category-main {
  flex: 1;
}

.see-all-btn {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #673EF3;
  text-decoration: none;
}

/* 6. Mobile Responsiveness */
@media (max-width: 768px) {
  .sidebar-layout {
    flex-direction: column;
  }
  .section-sidebar {
    display: none;
  }
}

/* 1. THE 2-COLUMN GRID LAYOUT - NEW ARTICLE PAGE */
/***** Article layout: reserve TOC space immediately to prevent flash *****/
.article-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px;
  align-items: start;
}

/***** Keep TOC column stable while nav loads *****/
.section-navigation {
  min-height: 40px;
}

/* Expand the main site container for Article Pages only */
.article-container.container {
  max-width: 1440px !important; /* Forces the page to open up */
  width: 95%;
  padding: 0 40px;
}

/* Ensure the main content column takes up all remaining space */
.article-main {
  flex: 1;
  min-width: 0; /* Prevents text from pushing the sidebar out */
}

/* 2. STICKY SIDEBAR LOGIC - Updated for Flush Alignment */
.section-navigation {
  position: sticky;
  top: 30px; 
  height: fit-content;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  /* Removed internal padding to align with logo */
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* 3. SIDEBAR TYPOGRAPHY - Updated for Flush Alignment */
.sidebar-header {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em; 
  color: #adb5bd;
  margin-bottom: 20px;
  display: block;
  /* Ensure header starts at the absolute left */
  padding-left: 0 !important;
}

.sidebar-link, 
#toc-list .sidebar-link {
  font-family: "Inter", sans-serif;
  font-size: 13px; /* Slightly smaller to match old theme feel */
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: #6c7385 !important;
  /* Adjusted padding: 0 on left so the purple bar is the only thing there */
  padding: 8px 0 8px 16px; 
  display: block;
  text-decoration: none !important;
  border-left: 3px solid transparent !important;
  transition: all 0.2s ease;
  margin-left: 0 !important;
}

.sidebar-link.active, 
.sidebar-link:hover,
#toc-list .sidebar-link:hover, 
#toc-list .sidebar-link.active {
  color: #673EF3 !important;
  border-left-color: #673EF3 !important;
  background-color: var(--ssc-hover) !important;
  text-decoration: none !important;
  border-radius: 0 4px 4px 0;
}

/* 4. MAIN ARTICLE POLISH */
.article-main {
  width: 100%;
  /* REMOVE OR COMMENT OUT: max-width: 900px; */
  /* This was strangling your content and causing the wrap */
}

.article-title {
  font-family: "Inter", sans-serif;
  font-size: 28px !important;   /* Was 2.44rem (~39px). Reduced to match the old scale. */
  font-weight: 600 !important;  /* Was 700. 600 is "Semi-Bold" and much cleaner. */
  color: #1c153e;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* Add this to ensure the body text stays readable even if the title is wide */
.article-body {
  max-width: 800px; /* Guideline: Keep long paragraphs from stretching too far */
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  letter-spacing: -0.01em;
}

.article-sub-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px !important;  /* Tightens the space */
  border-bottom: none !important; /* Removes the line under breadcrumbs */
  padding-bottom: 16px;
}

.breadcrumbs li, .breadcrumbs li a {
  font-size: 14px;
  color: #673EF3 !important;
  text-decoration: none;
}

.breadcrumbs li a:hover {
  color: #1C153E !important; /* Your Deep Midnight color */
  text-decoration: underline;
}

/* Adjust search bar width to be less intrusive */
.article-sub-nav .search-container {
  width: 100%;
  max-width: 320px;
}

/* 6. MOBILE FIX: Stack for smaller screens */
@media (max-width: 1024px) {
  .article-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section-navigation {
    display: none; /* Simplifies mobile view for focus on reading */
  }
}

/* Changes second-level bullets to open circles */
.article-body ul li ul li {
  list-style-type: circle;
}

/* Optional: Changes third-level bullets to squares */
.article-body ul li ul li ul li {
  list-style-type: square;
}

/* 1. FORCE BREAK THE WIDTH CEILING - ARTICLE ONLY */
.article-container {
  max-width: 1440px !important; 
  width: 95% !important;
}

/* 2. ENSURE CONTENT COLUMN FILLS THE SPACE */
.article-main {
  width: 100% !important;
  max-width: none !important; /* Removes the 900px choke point */
  flex: 1;
}

/* --- UNIFIED SIDEBAR STYLING (Category & Article) --- */

.sidebar-link, 
#toc-list .sidebar-link {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: #6c7385 !important;
  text-decoration: none !important;
  display: block;
  transition: all 0.2s ease;
  
  /* Resetting the positioning to stay safe */
  margin-left: 0 !important;
  padding: 10px 15px !important; 
  border-left: none !important; /* Kill the old border */
}

.sidebar-link.active, 
.sidebar-link:hover,
#toc-list .sidebar-link:hover, 
#toc-list .sidebar-link.active {
  color: #673EF3 !important;
  background-color: var(--ssc-hover) !important;
  
  /* THIS CREATES THE LINE: An 'inset' shadow that looks like a 3px border */
  box-shadow: inset 3px 0 0 0 #673EF3 !important;
  
  border-radius: 0 4px 4px 0;
  text-decoration: none !important;
}

/* --- HIDE FOLLOW BUTTONS GLOBALLY --- */
.article-subscribe, 
.section-subscribe, 
.community-follow,
[id^="follow-button"] {
  display: none !important;
}

/***** Article pages: no headings -> no TOC *****/

/* 1) For smaller desktops, DON'T reserve the sidebar (prevents squish) */
@media (min-width: 1025px) and (max-width: 1279px) {
  .article-container.no-toc {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .article-container.no-toc .section-navigation {
    display: none !important;
  }
}

/* 2) For larger desktops, DO reserve the sidebar for alignment */
@media (min-width: 1280px) {
  .article-container.no-toc {
    grid-template-columns: 240px minmax(0, 1fr) !important;
    gap: 80px !important;
  }

  /* Keep the column reserved, but hide the TOC visually */
  .article-container.no-toc .section-navigation {
    display: block !important;
    visibility: hidden !important;
  }
}

/***** GLOBAL autocomplete override – polished + color-safe *****/

/* Dropdown container */
[role="listbox"] {
  background: #FFFFFF !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(28, 21, 62, 0.08) !important;
  padding: 8px 0 !important;
  border: 1px solid rgba(28, 21, 62, 0.06) !important;
}

/* Force ALL text inside autocomplete to dark brand color */
[role="listbox"],
[role="listbox"] *,
[role="option"],
[role="option"] * {
  color: #1C153E !important;
  text-decoration: none !important;
}

/* Metadata / breadcrumb line */
[role="listbox"] p,
[role="listbox"] small,
[role="listbox"] div:last-child {
  color: #6C7385 !important;
  font-weight: 400;
}

/* Each result row */
[role="option"] {
  padding: 16px 24px !important;
  transition: background-color 0.15s ease;
  font-weight: 500;
}

/* Subtle hover */
[role="option"]:hover,
[role="option"]:focus,
[aria-selected="true"] {
  background-color: rgba(28, 21, 62, 0.04) !important;
  cursor: pointer;
}

/* Remove default focus ring */
[role="option"]:focus {
  outline: none !important;
}

/***** Category page: subsection styling *****/

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

.subsection-list-item {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f0f2f5;
}

.subsection-list-item:last-child {
  border-bottom: none;
}

.subsection-article-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
}

.subsection-article-list-item {
  margin: 0 0 8px 0;
}

.subsection-article-list-item a {
  text-decoration: none;
  color: #5f6b7a;
  line-height: 1.5;
}

.subsection-article-list-item a:hover {
  text-decoration: underline;
  color: #1f2a44;
}

