@charset "UTF-8";

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

body {
    margin: 0;
}

main {
    display: block;
    background-color: #ffffff;
}

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,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
li {
    color: #2F3941;
    font-family: "DM Sans", sans-serif !important;
    font-size: 1rem;
    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: 24px;
}

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

h4 {
    font-size: 16px;
}

a {
    color: #1F73B7;
    text-decoration: none;
}

a:visited {
    color: #9358B0;
}

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 0.12s ease-in-out;
}

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

input:not([type=checkbox]):focus {
    border: 1px solid rgba(34, 34, 34, 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 #87929D;
    border-radius: 4px;
    padding: 8px 30px 8px 10px;
    outline: none;
    color: #555;
    width: 100%;
}

select:focus {
    border: 1px solid rgba(34, 34, 34, 1);
}

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

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

textarea:focus {
    border: 1px solid rgba(34, 34, 34, 1);
}

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

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

.container-divider {
    border-top: 1px solid #E6E8EE;
    margin-bottom: 10px;
}

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,
.pagination-next-link,
.pagination-prev-link,
.pagination-first-link,
.pagination-last-link,
.subscriptions-subscribe button,
.requests-table-toolbar .organization-subscribe button,
.community-follow button,
.article-subscribe button,
.section-subscribe button,
.split-button button {
    background-color: transparent;
    border: 1px solid rgba(34, 34, 34, 1);
    border-radius: 4px;
    color: rgba(34, 34, 34, 1);
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    line-height: 2.34;
    margin: 1rem 0 0;
    padding: 0 20px;
    text-align: center;
    transition: background-color 0.12s ease-in-out, border-color 0.12s ease-in-out, color 0.15s ease-in-out;
    user-select: none;
    white-space: nowrap;
    width: auto;
    -webkit-touch-callout: none;
}

@media (min-width: 768px) {

    .button,
    .pagination-next-link,
    .pagination-prev-link,
    .pagination-first-link,
    .pagination-last-link,
    .subscriptions-subscribe button,
    .requests-table-toolbar .organization-subscribe button,
    .community-follow button,
    .article-subscribe button,
    .section-subscribe button,
    .split-button button {
        width: auto;
    }
}

.button:visited,
.pagination-next-link:visited,
.pagination-prev-link:visited,
.pagination-first-link:visited,
.pagination-last-link:visited,
.subscriptions-subscribe button:visited,
.requests-table-toolbar .organization-subscribe button:visited,
.community-follow button:visited,
.article-subscribe button:visited,
.section-subscribe button:visited,
.split-button button:visited {
    color: rgba(34, 34, 34, 1);
}

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

.button.button-primary:hover,
.button-primary.pagination-next-link:hover,
.button-primary.pagination-prev-link:hover,
.button-primary.pagination-first-link:hover,
.button-primary.pagination-last-link:hover,
.subscriptions-subscribe button.button-primary:hover,
.subscriptions-subscribe button[data-selected=true]:hover,
.requests-table-toolbar .organization-subscribe button.button-primary:hover,
.requests-table-toolbar .organization-subscribe button[data-selected=true]:hover,
.community-follow button.button-primary:hover,
.article-subscribe button.button-primary:hover,
.article-subscribe button[data-selected=true]:hover,
.section-subscribe button.button-primary:hover,
.section-subscribe button[data-selected=true]:hover,
.split-button button:hover,
.button.button-primary:focus,
.button-primary.pagination-next-link:focus,
.button-primary.pagination-prev-link:focus,
.button-primary.pagination-first-link:focus,
.button-primary.pagination-last-link:focus,
.subscriptions-subscribe button.button-primary:focus,
.subscriptions-subscribe button[data-selected=true]:focus,
.requests-table-toolbar .organization-subscribe button.button-primary:focus,
.requests-table-toolbar .organization-subscribe button[data-selected=true]:focus,
.community-follow button.button-primary:focus,
.article-subscribe button.button-primary:focus,
.article-subscribe button[data-selected=true]:focus,
.section-subscribe button.button-primary:focus,
.section-subscribe button[data-selected=true]:focus,
.split-button button.button-primary:focus,
.button.button-primary:active,
.button-primary.pagination-next-link:active,
.button-primary.pagination-prev-link:active,
.button-primary.pagination-first-link:active,
.button-primary.pagination-last-link:active,
.subscriptions-subscribe button.button-primary:active,
.subscriptions-subscribe button[data-selected=true]:active,
.requests-table-toolbar .organization-subscribe button.button-primary:active,
.requests-table-toolbar .organization-subscribe button[data-selected=true]:active,
.community-follow button.button-primary:active,
.article-subscribe button.button-primary:active,
.article-subscribe button[data-selected=true]:active,
.section-subscribe button.button-primary:active,
.section-subscribe button[data-selected=true]:active,
.split-button button.button-primary:active {
    background-color: #000;
    border-color: #000;
}

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

.button-large,
input[type=submit] {
    cursor: pointer;
    background-color: rgba(34, 34, 34, 1);
    border: 0;
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 2.72;
    min-width: 190px;
    padding: 0 1.9286em;
    width: 100%;
}

span.desktop, span.app {
	display: inline-block;
  padding: 2px 4px;
  background: #E6F0FA;
  font-size: 11px;
  text-transform: uppercase;
  margin-right: 6px;
  border-radius: 4px;
  color: #245B8E;
  vertical-align: middle;
  margin-top: -2px;
}

span.app {
	background: #F3F0FA;
  color: #5B4C85;
}

@media (min-width: 768px) {

    .button-large,
    input[type=submit] {
        width: auto;
    }
}

.button-large:visited,
input[type=submit]:visited {
    color: #FFFFFF;
}

.button-large:hover,
.button-large:active,
.button-large:focus,
input[type=submit]:hover,
input[type=submit]:active,
input[type=submit]:focus {
    background-color: #000;
}

.button-large[disabled],
input[type=submit][disabled] {
    background-color: #ddd;
}

.button-secondary {
    color: #5a6d7c;
    border: 1px solid #87929D;
    background-color: transparent;
}

.button-secondary:visited {
    color: #5a6d7c;
}

.button-secondary:hover,
.button-secondary:focus,
.button-secondary:active {
    color: #2F3941;
    border: 1px solid #87929D;
    background-color: #f7f7f7;
}

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

.split-button button {
    background-color: rgba(34, 34, 34, 1);
    border: 0;
    color: #FFFFFF;
    height: 32px;
    line-height: 16px;
    outline-color: rgba(34, 34, 34, 1);
}

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

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

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

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

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

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

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

.table th,
.table th a {
    color: #5a6d7c;
    font-size: 13px;
    text-align: left;
}

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

.table tr {
    border-bottom: 1px solid #E6E8EE;
    display: block;
    padding: 20px 0;
}

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

.table td {
    display: block;
}

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

@media (min-width: 1024px) {

    .table td,
    .table th {
        padding: 20px 30px;
    }
}

@media (min-width: 768px) {

    .table td,
    .table th {
        padding: 10px 20px;
        height: 60px;
    }
}

/***** 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 #87929D;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
}

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

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

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

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

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

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

.form-field .hc-multiselect-toggle {
    border: 1px solid #87929D;
}

.form-field .hc-multiselect-toggle:focus {
    outline: none;
    border: 1px solid rgba(34, 34, 34, 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: #5a6d7c;
    margin-left: 4px;
}

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

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

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

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

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

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

.form .suggestion-list li a:visited {
    color: #9358B0;
}

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

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

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

.logo span {
    margin: 0 10px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.logo a {
    display: inline-block;
    min-width: 240px;
}

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

.logo .mc-link {
    color: #fff;
    font-size: 12px;
    opacity: 60%;
    display: none;
}

.logo .mc-link:hover {
    color: #ffffbf;
}

@media (min-width: 1024px) {
    .logo .mc-link {
        display: inline-block;
    }
}

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

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

.user-nav[aria-expanded=true]>.user-nav-list li {
    display: block;
}

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

.user-nav-list {
    display: block;
    list-style: none;
}

.user-nav-list>li {
    display: inline-block;
}

@media (max-width: 768px) {
    .nav-wrapper-desktop {
        display: none;
    }
}

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

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

.nav-wrapper-desktop a {
    border: 0;
    color: #ffffff;
    display: none;
    font-size: 14px;
    padding: 0 20px 0 0;
    width: auto;
}

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

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

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

@media (min-width: 1024px) {
    .nav-wrapper-mobile {
        display: none;
    }
}

.nav-wrapper-mobile .menu-button-mobile {
    background: none;
    border: 0;
    width: auto;
    min-width: 71px;
    cursor: pointer;
}

.nav-wrapper-mobile .menu-button-mobile .icon-menu {
    padding: 7px;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.nav-wrapper-mobile .menu-button-mobile[aria-expanded=true] .icon-menu {
    background: #f3f3f3;
}

.nav-wrapper-mobile .menu-list-mobile {
    position: absolute;
    background-color: #fff;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.15);
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
    right: 0;
    left: 0;
    top: 71px;
    z-index: 2;
}

.nav-wrapper-mobile .menu-list-mobile[aria-expanded=false] {
    display: none;
}

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

.nav-wrapper-mobile .menu-list-mobile-items .item {
    margin: 4px 0;
}

.nav-wrapper-mobile .menu-list-mobile-items li:empty:not(.nav-divider) {
    display: none;
}

.nav-wrapper-mobile .menu-list-mobile-items .nav-divider {
    border-bottom: 1px solid #E6E8EE;
    padding: 0;
}

.nav-wrapper-mobile .menu-list-mobile-items .nav-divider:last-child {
    display: none;
}

.nav-wrapper-mobile .menu-list-mobile-items button {
    background: none;
    border: none;
    padding: 8px 24px;
    width: 100%;
    height: 100%;
    color: #2F3941;
    cursor: pointer;
    text-align: start;
}

.nav-wrapper-mobile .menu-list-mobile-items button:active,
.nav-wrapper-mobile .menu-list-mobile-items button:focus,
.nav-wrapper-mobile .menu-list-mobile-items button:hover {
    background-color: #f3f3f3;
    text-decoration: underline;
}

.nav-wrapper-mobile .menu-list-mobile-items a {
    display: block;
    padding: 8px 24px;
    width: 100%;
    height: 100%;
    color: #2F3941;
}

.nav-wrapper-mobile .menu-list-mobile-items a:active,
.nav-wrapper-mobile .menu-list-mobile-items a:focus,
.nav-wrapper-mobile .menu-list-mobile-items a:hover {
    background-color: #f3f3f3;
}

.nav-wrapper-mobile .menu-list-mobile-items .my-profile {
    display: flex;
    line-height: 1.5;
}

.nav-wrapper-mobile .menu-list-mobile-items .my-profile .my-profile-tooltip {
    font-size: 12px;
    color: #68737D;
}

.nav-wrapper-mobile .menu-list-mobile-items .menu-profile-avatar {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    margin-top: 1px;
}

[dir=rtl] .nav-wrapper-mobile .menu-list-mobile-items .menu-profile-avatar {
    margin-right: 0;
    margin-left: 8px;
}

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

#zd-modal-container~.skip-navigation {
    display: none;
}

/***** 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: #ffffff;
    min-width: 0;
    padding: 0;
    white-space: nowrap;
}

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

.user-info>button::after {
    color: #1F73B7;
    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(34, 34, 34, 1);
    border: 2px solid #fff;
    border-radius: 50%;
    bottom: -4px;
    background-color: #FFFFFF;
    font-size: 17px;
    height: 17px;
    line-height: 17px;
    position: absolute;
    right: -2px;
    text-align: center;
    width: 17px;
}

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

.footer a {
    color: rgba(255, 255, 255, 0.6);
}

.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: #5a6d7c;
    display: inline-block;
}

.powered-by-zendesk a,
.powered-by-zendesk a:visited {
    color: #5a6d7c;
}

/***** Breadcrumbs *****/
.breadcrumbs {
    margin: 0 0 15px 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* Allow dropdown to overflow when breadcrumbs are collapsed */
.breadcrumbs[data-bc-done] {
    overflow: visible;
}

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

.breadcrumbs li {
    color: #5a6d7c;
    font-size: 13px;
    max-width: 450px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

.breadcrumbs li+li::before {
    content: ">";
    margin: 0 4px;
}

/* Breadcrumb ellipsis and dropdown (JS collapses long breadcrumbs) */
.breadcrumbs .bc-ellipsis-wrapper {
    position: relative;
    flex-shrink: 0;
    list-style: none;
}

.breadcrumbs .bc-ellipsis {
    font-size: 13px;
    color: #1F73B7;
    cursor: pointer;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
}

.breadcrumbs .bc-ellipsis:hover {
    background: rgba(31, 115, 183, 0.08);
}

.breadcrumbs .bc-ellipsis-wrapper + li::before {
    content: ">";
    margin: 0 4px;
}

.breadcrumbs .bc-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid #E6E8EE;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 6px 0;
    min-width: 200px;
    z-index: 100;
    list-style: none;
    margin: 0;
}

.breadcrumbs .bc-ellipsis-wrapper.is-open .bc-dropdown {
    display: block;
}

.breadcrumbs .bc-dropdown li {
    max-width: none;
    overflow: visible;
    font-size: 14px;
    padding: 0;
    margin: 0;
}

.breadcrumbs .bc-dropdown li::before {
    display: none;
}

.breadcrumbs .bc-dropdown li a {
    display: block;
    padding: 8px 16px;
    color: #2F3941;
    text-decoration: none;
}

.breadcrumbs .bc-dropdown li a:hover {
    background: #f7f8fa;
    color: #1F73B7;
}

@media (max-width: 767px) {
    .breadcrumbs li {
        max-width: 160px;
    }

    .breadcrumbs li:last-child {
        max-width: none;
        flex-shrink: 1;
    }
}

.breadcrumbs li a:visited {
    color: #1F73B7;
}

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

.search {
    border-color: #87929D;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    display: flex;
    position: relative;
    transition: border 0.12s ease-in-out;
}

.search:focus-within {
    border-color: rgba(34, 34, 34, 1);
}

.search input[type=search],
.search .clear-button {
    background-color: #fff;
    border-radius: 10px;
    border: none;
}

.search-full input[type=search],
.search-full .clear-button {
    border-color: #fff;
}

.search input[type=search] {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    color: #666;
    flex: 1 1 auto;
    height: 50px;
    width: 100%;
}

.search input[type=search]:focus {
    color: #555;
}

.search input[type=search]::-webkit-search-decoration,
.search input[type=search]::-webkit-search-cancel-button,
.search input[type=search]::-webkit-search-results-button,
.search input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

.search input[type=search]:-webkit-autofill,
.search input[type=search]:-webkit-autofill:hover,
.search input[type=search]:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
}

.search .clear-button {
    align-items: center;
    box-sizing: border-box;
    color: #777;
    cursor: pointer;
    display: none;
    flex: none;
    justify-content: center;
    padding: 0 15px;
}

.search .clear-button:hover {
    background-color: rgba(34, 34, 34, 1);
    color: #fff;
}

.search .clear-button:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(34, 34, 34, 1);
}

.search-has-value .clear-button {
    display: flex;
}

[dir=ltr] .search input[type=search] {
    padding-left: 40px;
    padding-right: 20px;
}

[dir=ltr] .search-has-value input[type=search] {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right-color: transparent;
}

[dir=ltr] .search-has-value input[type=search]:focus {
    border-right-color: rgba(34, 34, 34, 1);
}

[dir=ltr] .search .clear-button {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-left-color: transparent;
}

[dir=ltr] .search .clear-button:focus {
    border-left-color: rgba(34, 34, 34, 1);
}

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

[dir=rtl] .search-has-value input[type=search] {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-left-color: transparent;
}

[dir=rtl] .search-has-value input[type=search]:focus {
    border-left-color: rgba(34, 34, 34, 1);
}

[dir=rtl] .search .clear-button {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right-color: transparent;
}

[dir=rtl] .search .clear-button:focus {
    border-right-color: rgba(34, 34, 34, 1);
}

.search-icon {
    position: relative;
    bottom: 7px;
    transform: translateY(-50%);
    position: absolute;
    left: 15px;
    z-index: 1;
    width: 18px;
    height: 18px;
    color: #777;
    pointer-events: none;
}

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

/***** Hero component *****/
.hero {
    background-color: #222222;
    /* height: 230px; */
    padding: 0 20px;
    padding-bottom: 4rem;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .hero {
        /* height: 300px;*/
    }
}

.hero-inner {
    /*position: relative;
    top: 50%;
    transform: translateY(-50%);*/
    max-width: 610px;
    margin: 0 auto;
    padding-top: 4rem;
}

.hero-inner h1 {
    font-family: Inter;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

@media (min-width: 768px) {
    .hero-inner h1 {
        font-size: 3rem;
    }
}

.hero .pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.hero .pills li {}

.hero .pills li a {
    display: flex;
    align-content: space-between;
    gap: 10px;
    padding: 0.4rem 1.4em;
    font-size: 14px;
    color: #fff;
}

.hero .pills li a:hover {
    color: #ffffbf;
    border-color: #ffffbf;
    text-decoration: none;
}

.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;
        flex-wrap: nowrap;
        gap: 16px;
        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;
    font-size: 18px;
    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 {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px 30px;
    justify-content: space-between;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .sub-nav {
        margin-bottom: 12px;
    }
}

@media (min-width: 1024px) {
    .sub-nav {
        margin-bottom: 16px;
    }
}

.sub-nav .breadcrumbs {
    margin: 0;
    flex: 1;
    min-width: 0;
}

/* Mobile: search hidden by default, toggle icon shown */
.sub-nav .search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    color: #777;
    padding: 0;
    flex-shrink: 0;
}

.sub-nav .search-toggle:hover {
    color: #333;
}

.sub-nav .search-toggle svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 767px) {
    .sub-nav {
        gap: 10px;
    }

    .sub-nav .search-toggle {
        display: flex;
    }

    .sub-nav .search-container {
        display: none;
        width: 100%;
        order: 3;
    }

    .sub-nav .search-container.is-open {
        display: block;
    }
}

@media (min-width: 768px) {
    .sub-nav .search-container {
        flex: 0 1 300px;
    }

    .sub-nav .search-toggle {
        display: none !important;
    }
}

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

/***** Blocks *****/
/* Used in Homepage#categories and Community#topics */
.blocks-list,
.owl-stage {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
}

@media (min-width: 768px) {

    .blocks-list,
    .owl-stage {
        /* margin: 0 -15px; */
    }
}

.blocks-item,
.owl-item {
    border: 1px solid #2F3941;
    border-radius: 4px;
    box-sizing: border-box;
    color: rgba(34, 34, 34, 1);
    display: flex;
    flex: 1 0 170px;
    margin: 0;
    max-width: 100%;
    text-align: center;
}

@media (min-width: 768px) {

    .blocks-item,
    .owl-item {
        margin: 0;
    }
}

.owl-item .blocks-item {
    border: none;
}

.blocks-item:hover,
.blocks-item:focus,
.blocks-item:active {
    background-color: #fff;
}

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

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

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

.blocks-item-internal a {
    color: #2F3941;
}

.blocks-item-link {
    color: rgba(34, 34, 34, 1);
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    border-radius: inherit;
}

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

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

.blocks-item-link img {
    max-width: 140px !important;
    margin: auto;
}

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

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

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

/* Homepage#categories */

.section.knowledge-base .categories .blocks-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    gap: 12px;
}

@media (min-width: 768px) {
    .section.knowledge-base .categories .blocks-item {
        margin: 0;
        transition: box-shadow 0.25s ease 0s;
    }
}

.section.knowledge-base .categories .blocks-item .blocks-item-title .cat-icon {
    width: 36px;
    height: 36px;
    margin: auto;
    margin-bottom: 14px;
    background-size: contain !important;
}

.section.knowledge-base .categories .blocks-list li[class*=' cat-'] {
    border: none;
}

.section.knowledge-base .categories .blocks-list li[class*=' cat-'] .blocks-item-title {
    color: #fff;
}

.section.knowledge-base .categories .blocks-list .blocks-item {
    background: #222222;
}

.section.knowledge-base .categories .blocks-item {
    border: none;
    display: flex;
    flex: 1 0 200px;
    max-width: 100%;
    text-align: center;
}

.section.knowledge-base .categories .blocks-item:hover,
.section.knowledge-base .categories .blocks-item:focus,
.section.knowledge-base .categories .blocks-item:active {
    filter: brightness(105%);
}

div[class*='section-icon-'] {
    width: 30px;
    height: 30px;
    margin-bottom: 0.6rem;
}

/* Motorcentral DMS */
.section.knowledge-base .categories .blocks-item.cat-201679186 {
    background: #02AC4D;
}

.section-icon-202717443,
.section-icon-360000284916,
.section-icon-202756743,
.category-icon-201679186 {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/motorcentra-dms.svg') no-repeat;
}

.section.knowledge-base .categories .blocks-item.cat-201679186 .cat-icon {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/white-mcdms.svg') no-repeat;
}

/* Websites & Email */
.section.knowledge-base .categories .blocks-item.cat-201703543 {
    background: #80529D;
}

.section-icon-202717663,
.section-icon-202717643,
.category-icon-201703543 {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/dealer-websites.svg') no-repeat;
}

.section.knowledge-base .categories .blocks-item.cat-201703543 .cat-icon {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/white-websites.svg') no-repeat;
}

/* AdConnect */
.section.knowledge-base .categories .blocks-item.cat-201703583 {
    background: #BD2077;
}

.section-icon-115000689186,
.category-icon-201703583 {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/ad-connect.svg') no-repeat;
}

.section.knowledge-base .categories .blocks-item.cat-201703583 .cat-icon {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/white-adconnect.svg') no-repeat;
}

/* Auto Attendant */
.section.knowledge-base .categories .blocks-item.cat-201679206 {
    background: #3FC3EE;
}

.section-icon-9882959511311,
.category-icon-201679206 {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/auto-attendant.svg') no-repeat;
}

.section.knowledge-base .categories .blocks-item.cat-201679206 .cat-icon {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/white-autoattendant.svg') no-repeat;
}

/* Car Check */
.section.knowledge-base .categories .blocks-item.cat-201679226 {
    background: #6CBE45;
}

.section-icon-202766823,
.category-icon-201679226 {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/car-check.svg') no-repeat;
}

.section.knowledge-base .categories .blocks-item.cat-201679226 .cat-icon {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/white-carcheck.svg') no-repeat;
}

/* Need A Car */
.section.knowledge-base .categories .blocks-item.cat-360000011995 {
    background: #F05367;
}

.section-icon-360000024016,
.category-icon-360000011995 {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/need-a-car.svg') no-repeat;
}

.section.knowledge-base .categories .blocks-item.cat-360000011995 .cat-icon {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/white-needacar.svg') no-repeat;
}

/* BuyerScore */
.section.knowledge-base .categories .blocks-item.cat-360000188055 {
    background: #FAA21E;
}

.section-icon-360000479596,
.category-icon-360000188055 {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/buyerscore.svg') no-repeat;
}

.section.knowledge-base .categories .blocks-item.cat-360000188055 .cat-icon {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/white-buyerscore.svg') no-repeat;
}

/* AMPD CRM */
.section.knowledge-base .categories .blocks-item.cat-201703563 {
    background: #F37269;
}

.section-icon-9882910389647,
.category-icon-201703563 {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/ampd-crm.svg') no-repeat;
}

.section.knowledge-base .categories .blocks-item.cat-201703563 .cat-icon {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/white-ampd.svg') no-repeat;
}

/* VehicleXchange */
.section.knowledge-base .categories .blocks-item.cat-8245456615695 {
    background: #F58450;
}

.section-icon-8245504755215,
.category-icon-8245456615695 {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/vehicle-xchange.svg') no-repeat;
}

.section.knowledge-base .categories .blocks-item.cat-8245456615695 .cat-icon {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/white-vehiclexchange.svg') no-repeat;
}

/* New DMS Releases */
.section.knowledge-base .categories .blocks-item.cat-201682763 {
    background: #222222;
}

.section-icon-202717623,
.category-icon-201682763 {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/new-release.svg') no-repeat;
}

.section.knowledge-base .categories .blocks-item.cat-201682763 .cat-icon {
    background: url('https://dzportalpublic.blob.core.windows.net/supportresources/zendesk-hc-2024/white-newrelease.svg') no-repeat;
}




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

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

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

section.articles {
    margin-bottom: 2rem;
}

@media (min-width: 10242px) {
    section.articles {
        margin-bottom: 4rem;
    }
}

/***** Promoted articles *****/
.promoted-articles:not(.mc-slider__track) {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .promoted-articles:not(.mc-slider__track) {
        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 #E6E8EE;
    padding: 15px 0;
}

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

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

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

.community a {
    color: #1F73B7;
    text-decoration: underline;
}

.community a:visited {
    color: #9358B0;
}

.community a:hover,
.community a:active,
.community a:focus {
    color: #0F3554;
}

.community,
.activity,
.categories {
    /*border-top: 1px solid #E6E8EE;*/
    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 #E6E8EE;
    overflow: auto;
    padding: 20px 0;
}

.recent-activity-item h3 {
    margin: 0;
}

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

.recent-activity-item-parent,
.recent-activity-item-link {
    margin: 6px 0;
    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;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-activity-item-meta {
    color: #2F3941;
    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 {
    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-controls a {
    color: #1F73B7;
    text-decoration: underline;
}

.recent-activity-controls a:visited {
    color: #9358B0;
}

.recent-activity-controls a:hover,
.recent-activity-controls a:active,
.recent-activity-controls a:focus {
    color: #0F3554;
}

.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(34, 34, 34, 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;
}

/* =============================================
   RECENT ACTIVITY — MC design overrides
   ============================================= */

.section.activity {
  padding-top: 48px;
  padding-bottom: 56px;
}

/* Hide helper-rendered header; we use .mc-section-head */
.recent-activity-header {
  display: none !important;
}

/* Hide bottom "See more" controls; we have it in the section head */
.recent-activity-controls {
  display: none !important;
}

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

.recent-activity-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #E6E8EE;
  border-top: none;
  overflow: visible;
}

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

.recent-activity-item h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  min-width: 0;
}

.recent-activity-item-parent {
  grid-column: 1;
  grid-row: 1;
}

.recent-activity-item-link {
  grid-column: 1;
  grid-row: 2;
}

.recent-activity-item-parent,
.recent-activity-item-link {
  display: block;
  width: auto;
  margin: 0;
}

.recent-activity-item-parent,
.recent-activity-item-parent:visited {
  font-size: 13px;
  color: #5B6578;
  font-weight: 600;
  margin-bottom: 3px;
  text-decoration: none;
}

.recent-activity-item-parent:hover {
  color: #2A3447;
  text-decoration: none;
}

.recent-activity-item-link,
.recent-activity-item-link:visited {
  font-size: 14.5px;
  color: #0B1220;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

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

.recent-activity-item-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8A94A6;
  font-size: 12.5px;
  white-space: nowrap;
  grid-column: 2;
  grid-row: 1 / 3;
  float: none;
  margin: 0;
}

.recent-activity-item-time,
.recent-activity-item-comment {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #8A94A6;
  padding: 0;
}

.recent-activity-comment-icon svg {
  vertical-align: middle;
  color: #8A94A6;
  width: 14px;
  height: 14px;
}

@media (max-width: 767px) {
  .recent-activity-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
  }

  .recent-activity-item h3 {
    width: 100%;
  }

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

  .recent-activity-item-link {
    font-size: 13px;
    white-space: normal;
  }

  .recent-activity-item-meta {
    font-size: 11px;
    gap: 10px;
  }

  .recent-activity-item-time,
  .recent-activity-item-comment {
    font-size: 11px;
  }
}

/***** Category pages *****/
.category-container {
    display: block;
    margin: auto;
    width: 90%;
    max-width: 1160px;
}

.category-content {
    flex: 1;
}

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

.articles,
.categories {
    margin-bottom: 60px !important;
}

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

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

.section-tree .section {
    flex: initial;
    max-width: 100%;
}

@media (min-width: 768px) {
    .section-tree .section {
        flex: 0 0 45%;
        /* Two columns for tablet and desktop. Leaving 5% separation between columns */
    }
}

.section-tree-title {
    margin-top: 4rem;
}

.section-tree-title a {
    color: #2F3941;
    font-size: 1.8rem;
}

@media (min-width: 768px) {
    font-size: 2.4rem;
}

.section-tree .see-all-articles {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #222;
    border-radius: 4px;
    margin-top: 24px;
    color: #222;
}

.section-tree .see-all-articles:hover {
    text-decoration: none;
    background: #e8e8e8;
}

@media (min-width: 7680px) {

    .section-tree ul.article-list,
    .section-content ul.article-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 4rem;

        li:nth-child(1) {
            order: 1;
        }

        li:nth-child(2) {
            order: 3;
        }

        li:nth-child(3) {
            order: 5;
        }

        li:nth-child(4) {
            order: 2;
        }

        li:nth-child(5) {
            order: 4;
        }

        li:nth-child(6) {
            order: 6;
        }
    }
}


.article-list-item {
    margin-bottom: 2rem;
}

.article-list-item p {
    margin-top: 6px;
}

.article-list-link {
    color: #1F73B7;
    font-size: 20px;
    margin-bottom: 0px;
    margin-right: 8px;
}

@media (min-width: 768px) {
    .article-list-link {
        font-size: 18px;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

.comment-count-container {
    display: flex;
    align-items: center;
}




/***** Section pages *****/
 .section-container {
  display: flex;
  justify-content: flex-end;
}
.section-content {
  flex: 1;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .section-content {
    flex: 0 0 80%;
  }
} 
/*
.section-container {
    display: block;
    margin: auto;
    width: 90%;
    max-width: 1160px;
    padding-top: 3rem;
}

.section-content {
    flex: 1;
    max-width: 100%;
} */

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

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

.section-list-item {
    border-bottom: 1px solid #E6E8EE;
    font-size: 16px;
    padding: 15px 0;
}

.section-list-item:first-child {
    border-top: 1px solid #E6E8EE;
}

.section-list-item a {
    align-items: center;
    color: #2F3941;
    display: flex;
    justify-content: space-between;
}

.see-all-sections-trigger {
    cursor: pointer;
    display: block;
    padding: 15px;
    text-align: center;
}

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

/***** 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 80%;
        max-width: 80%;
        min-width: 640px;
        padding: 0 80px 0 0;
    }
}

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

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

.article-header {
    padding-bottom: 36px;
}

@media (min-width: 768px) {
    .article-header {
        padding-bottom: 40px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .article-header {
        padding-bottom: 48px;
        gap: 5rem;
    }
}

.article-header-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
    min-width: 0;
}

.article-header .author-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.article-title {
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .article-title {
        font-size: 2.4rem;
        margin: 0 0 28px 0;
    }
}

@media (min-width: 1024px) {
    .article-title {
        font-size: 4rem;
        line-height: 5rem;
        margin-bottom: 32px;
    }
}

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

.title-img {
    display: none;
}

@media (min-width: 640px) {
    .title-img {
        display: inline-block;
        max-width: 200px;
    }
}

@media (min-width: 768px) {
    .title-img {
        max-width: 240px;
        flex-shrink: 0;
        align-self: flex-start;
    }
}

@media (min-width: 1024px) {
    .title-img {
        max-width: 340px;
    }
}

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

.article-author {
    margin-bottom: 0;
}

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

.article-meta {
    display: inline-block;
    vertical-align: middle;
}

.article-body {
    display: flow-root;
}

.article-body a {
    color: #1F73B7;
    text-decoration: underline;
}

.article-body a:visited {
    color: #9358B0;
}

.article-body a:hover,
.article-body a:active,
.article-body a:focus {
    color: #0F3554;
}

.article-body img {
    height: auto;
    max-width: 600px;
    margin-top: 18px;
}

.article-body p>img.image-style-align-left {
    float: left;
    margin: 8px 20px 6px 0;
}

.article-body p>img.image-style-align-right {
    float: right;
    margin: 8px 0px 6px 20px;
}

.article-body p>img.image-style-block-align-right {
    margin-left: auto;
    margin-right: 0;
}

.article-body p>img.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}

.article-body figure.image {
    display: table;
    margin: 0 !important;
}

.article-body figure.image>img {
    display: block;
    width: 100%;
}

.article-body figure.image.image-style-align-left {
    float: left;
    margin: 8px 20px 6px 0;
}

.article-body figure.image.image-style-align-right {
    float: right;
    margin: 8px 0px 6px 20px;
}

.article-body figure.image.image-style-block-align-right {
    margin-left: auto;
    margin-right: 0;
}

.article-body figure.image.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}

.article-body figcaption {
    padding: 10px 0;
    font-size: 12px;
    text-align: center;
    background-color: #f2f2f2;
}

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

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

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

.article-body :not(pre)>code {
    background: #f7f7f7;
    border: 1px solid #E6E8EE;
    border-radius: 3px;
    padding: 0 5px;
    margin: 0 2px;
}

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

.article-body blockquote {
    border-left: 1px solid #E6E8EE;
    color: #5a6d7c;
    font-style: italic;
    padding: 0 15px;
}

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

.article-body img.fancybox {
    cursor: pointer;
}

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

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

.article-body h1 {
    font-size: 1.4rem;
    margin-top: 2rem;
}

.article-body h2 {
    margin-block-start: 36px !important;
    padding-top: 36px;
    border-top: 2px solid #E6E8EE;
    font-weight: 700;
}

.article-body h3,
.article-body h4 {
    margin-block-start: 36px;
}

.article-body ol>li,
.article-body ul>li {
    line-height: 1.3;
}

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

.article-body ol>li,
.article-body ul>li {
    padding-bottom: 0.4rem;
    padding-left: 20px;
}


/***** Left-align Zendesk wysiwyg image wrappers *****/
.article-body .wysiwyg-image,
.article-body span.wysiwyg-image {
    display: block !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/***** Screenshot styling — shadow, rounded, spacing *****/
.article-body img {
    display: block;
    margin-top: 12px;
    margin-bottom: 4px;
    margin-left: 0 !important;
    margin-right: auto;
    border-radius: 6px !important;
    border: 1px solid #E6E8EE !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 600px !important;
    width: auto;
    cursor: pointer;
}

/***** Mobile: screenshot thumbnails *****/
@media (max-width: 767px) {
    .article-body img {
        max-height: 200px;
        width: auto;
        object-fit: cover;
        object-position: top left;
        cursor: pointer;
        transition: opacity 0.15s;
    }

    .article-body img:hover {
        opacity: 0.9;
    }
}

/***** Screenshot lightbox *****/
.screenshot-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2147483647;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.screenshot-lightbox.is-open {
    display: flex;
}

.screenshot-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    border: none !important;
}

.screenshot-lightbox .lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    line-height: 1;
}

.screenshot-lightbox .lightbox-close:hover {
    background: #fff;
    color: #000;
}

/***** Zoom icon overlay on article images *****/
.article-body .img-zoom-wrapper {
    position: relative;
    display: block;
}

.article-body .img-zoom-wrapper .zoom-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.article-body .img-zoom-wrapper:hover .zoom-icon {
    opacity: 1;
}

.article-body p.h6 {
    font-weight: bold;
    margin-top: 1.6rem;
}

@media (min-width: 1024px) {

    .article-content .toc-header,
    .article-content .article-table-of-contents {
        display: none;
    }

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

    .article-comment-count {
        color: #5a6d7c;
    }

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

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

    .article-sidebar {
        border-bottom: 1px solid #E6E8EE;
        border-top: 1px solid #E6E8EE;
        flex: 1 0 auto;
        margin-bottom: 20px;
        padding: 0;
    }

    .article-sidebar ul.article-table-of-contents {
        display: none;
    }
}

@media (min-width: 1024px) {
    .article-sidebar {
        border: 0;
        flex: 0 0 17%;
        height: auto;
        max-width: 17%;
        position: -webkit-sticky;
        position: sticky;
        top: 80px;
        height: 100%;
        margin: 80px 0 40px;
    }

    .article-sidebar ul.article-table-of-contents {
        display: block;
        margin-bottom: 2rem;
    }

}

.article-relatives {
    border-top: 1px solid #E6E8EE;
    display: flex;
    flex-direction: column;
    padding: 15px 0 0;
}

@media (min-width: 768px) {
    .article-relatives {
        flex-direction: row;
        padding: 15px 0 20px;
    }
}

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

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

/* Normalize spacing within article-relatives on mobile */
@media (max-width: 1023px) {
    .article-relatives ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .article-relatives li {
        margin-bottom: 12px;
    }

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

    .article-relatives h3 {
        margin-top: 0;
    }
}

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

.article-votes-question {
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 0;
}

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

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

.article-more-questions a {
    color: #1F73B7;
    text-decoration: underline;
}

.article-more-questions a:visited {
    color: #9358B0;
}

.article-more-questions a:hover,
.article-more-questions a:active,
.article-more-questions a:focus {
    color: #0F3554;
}

/* Comments section consistent spacing on mobile */
@media (max-width: 1023px) {
    .article-comments {
        border-top: 1px solid #E6E8EE;
        padding-top: 20px;
    }
}

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

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

.article-return-to-top a {
    color: #2F3941;
    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);
}

.article td>p:first-child,
.article th>p:first-child {
    margin-top: 0;
}

.article td>p:last-child,
.article th>p:last-child {
    margin-bottom: 0;
}

.sidenav-title {
    font-size: 15px;
    position: relative;
    font-weight: 600;
    margin: 1rem 0;
    display: inline-block;
}

/***** TOC card styling *****/
.toc-header {
    background: #f7f8fa;
    border-radius: 8px 8px 0 0;
    border-left: 3px solid #1F73B7;
    padding: 14px 20px 6px;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #68737D;
    display: block;
}

ul.article-table-of-contents {
    background: #f7f8fa;
    border-radius: 0 0 8px 8px;
    border-left: 3px solid #1F73B7;
    padding: 4px 20px 16px;
    margin-top: 0;
}

/* Hide sidebar TOC on mobile (shown via in-content TOC instead) */
.article-sidebar .toc-header,
.article-sidebar ul.article-table-of-contents {
    display: none;
}

@media (min-width: 1024px) {
    .article-sidebar .toc-header,
    .article-sidebar ul.article-table-of-contents {
        display: block;
    }
}

.sidenav-item,
.article-table-of-contents li {
    display: block;
    margin-top: 10px;
    margin-bottom: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-table-of-contents li:last-child {
    margin-bottom: 0;
}

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


/***** 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: #2F3941;
    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: #5a6d7c;
}

/***** 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: #5a6d7c;
}

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

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

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

.comment:last-child {
    border-bottom: none;
}

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

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

@media (max-width: 1023px) {
    .comment-overview {
        border-top: none;
    }
}

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

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

.comment-callout a {
    color: #1F73B7;
    text-decoration: underline;
}

.comment-callout a:visited {
    color: #9358B0;
}

.comment-callout a:hover,
.comment-callout a:active,
.comment-callout a:focus {
    color: #0F3554;
}

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

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

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

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

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

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

.comment-body a {
    color: #1F73B7;
    text-decoration: underline;
}

.comment-body a:visited {
    color: #9358B0;
}

.comment-body a:hover,
.comment-body a:active,
.comment-body a:focus {
    color: #0F3554;
}

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

.comment-body p>img.image-style-align-left {
    float: left;
    margin: 8px 20px 6px 0;
}

.comment-body p>img.image-style-align-right {
    float: right;
    margin: 8px 0px 6px 20px;
}

.comment-body p>img.image-style-block-align-right {
    margin-left: auto;
    margin-right: 0;
}

.comment-body p>img.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}

.comment-body figure.image {
    display: table;
    margin: 0 auto;
}

.comment-body figure.image>img {
    display: block;
    width: 100%;
}

.comment-body figure.image.image-style-align-left {
    float: left;
    margin: 8px 20px 6px 0;
}

.comment-body figure.image.image-style-align-right {
    float: right;
    margin: 8px 0px 6px 20px;
}

.comment-body figure.image.image-style-block-align-right {
    margin-left: auto;
    margin-right: 0;
}

.comment-body figure.image.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}

.comment-body figcaption {
    padding: 10px 0;
    font-size: 12px;
    text-align: center;
    background-color: #f2f2f2;
}

.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 :not(pre)>code {
    background: #f7f7f7;
    border: 1px solid #E6E8EE;
    border-radius: 3px;
    padding: 0 5px;
    margin: 0 2px;
}

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

.comment-body blockquote {
    border-left: 1px solid #E6E8EE;
    color: #5a6d7c;
    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: #5a6d7c;
    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(34, 34, 34, 1);
}

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

.vote-voted {
    color: rgba(34, 34, 34, 1);
}

.vote-voted:hover {
    color: #000;
}

/***** 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/01HYYG1Q2234KRJB91766WG7GB);
    margin-bottom: 10px;
}

.community-footer {
    padding-top: 50px;
    padding-bottom: 80px;
    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;
}

.topic-emoji {
    display: block;
    font-size: 32px;
    line-height: 1;
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .topics-item { flex-basis: 100% !important; }
}

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

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

.topic-header .dropdown {
    display: block;
    border-top: 1px solid #E6E8EE;
    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(34, 34, 34, 1);
}

.community-follow button:hover::after,
.community-follow button:focus::after {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.community-follow button[data-selected=true] {
    background-color: rgba(34, 34, 34, 1);
    color: #FFFFFF;
}

.community-follow button[data-selected=true]::after {
    border-left: 1px solid #FFFFFF;
    color: #FFFFFF;
}

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

.community-follow button::after {
    border-left: 1px solid rgba(34, 34, 34, 1);
    content: attr(data-follower-count);
    color: rgba(34, 34, 34, 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(34, 34, 34, 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 #E6E8EE;
    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: #1F73B7;
    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: #9358B0;
}

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

.striped-list-count {
    color: #5a6d7c;
    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: #2F3941;
        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(34, 34, 34, 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: #5a6d7c;
}

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

.status-label-request {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .status-label-request {
        max-width: 150px;
    }
}

/***** 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 {
    display: flow-root;
}

.post-body a {
    color: #1F73B7;
    text-decoration: underline;
}

.post-body a:visited {
    color: #9358B0;
}

.post-body a:hover,
.post-body a:active,
.post-body a:focus {
    color: #0F3554;
}

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

.post-body p>img.image-style-align-left {
    float: left;
    margin: 8px 20px 6px 0;
}

.post-body p>img.image-style-align-right {
    float: right;
    margin: 8px 0px 6px 20px;
}

.post-body p>img.image-style-block-align-right {
    margin-left: auto;
    margin-right: 0;
}

.post-body p>img.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}

.post-body figure.image {
    display: table;
    margin: 0 auto;
}

.post-body figure.image>img {
    display: block;
    width: 100%;
}

.post-body figure.image.image-style-align-left {
    float: left;
    margin: 8px 20px 6px 0;
}

.post-body figure.image.image-style-align-right {
    float: right;
    margin: 8px 0px 6px 20px;
}

.post-body figure.image.image-style-block-align-right {
    margin-left: auto;
    margin-right: 0;
}

.post-body figure.image.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}

.post-body figcaption {
    padding: 10px 0;
    font-size: 12px;
    text-align: center;
    background-color: #f2f2f2;
}

.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 :not(pre)>code {
    background: #f7f7f7;
    border: 1px solid #E6E8EE;
    border-radius: 3px;
    padding: 0 5px;
    margin: 0 2px;
}

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

.post-body blockquote {
    border-left: 1px solid #E6E8EE;
    color: #5a6d7c;
    font-style: italic;
    padding: 0 15px;
}

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

.post-comment-count {
    color: #5a6d7c;
}

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

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

.post-sidebar {
    border-top: 1px solid #E6E8EE;
    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-block;
    line-height: 18px;
    vertical-align: middle;
}

.community-badge-titles {
    display: inline;
}

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

.community-badge-achievement img {
    width: 100%;
    height: 100%;
}

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

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

.community-badge {
    margin: 2px;
}

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

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

.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 #E6E8EE;
    border-top: 1px solid #E6E8EE;
}

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

.collapsible-nav-toggle {
    top: 22.5px;
    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(34, 34, 34, 1);
}

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

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

.collapsible-nav-list li {
    color: #2F3941;
    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: #2F3941;
    display: block;
}

@media (min-width: 768px) {
    .collapsible-nav-list li:hover {
        border-bottom: 4px solid #E6E8EE;
    }

    .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(34, 34, 34, 1);
        order: 1;
    }
}

.collapsible-nav-list li[aria-selected=true] a,
.collapsible-nav-list li.current a {
    color: #2F3941;
}

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

/* Section articles — sidebar copy (desktop only) */
.section-articles-sidebar {
    display: none;
}

@media (min-width: 1024px) {
    .section-articles-sidebar {
        display: block;
        background: #f7f8fa;
        border-left: 3px solid #1F73B7;
        border-radius: 8px;
        padding: 14px 20px 16px;
    }

    .section-articles-sidebar .section-articles-title {
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #68737D;
        margin: 0 0 8px;
        display: block;
    }

    .section-articles-sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .section-articles-sidebar li {
        margin-bottom: 10px;
    }

    .section-articles-sidebar li:last-child {
        margin-bottom: 0;
    }
}

/* Consistent spacing between children in article-relatives on mobile */
@media (max-width: 1023px) {
    .article-relatives > * {
        padding-bottom: 15px;
    }

    .article-relatives > * + * {
        margin-top: 0;
        padding-top: 15px;
        border-top: 1px solid #E6E8EE;
    }
}

/* Section articles — mobile copy (inside article-relatives, below related articles) */
.section-articles-mobile {
    display: block;
    margin-top: 10px;
}

.section-articles-mobile li {
    margin-bottom: 15px;
}

.section-articles-mobile li:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .section-articles-mobile {
        display: none;
    }
}

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

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

.no-activities {
    color: #5a6d7c;
}

/***** 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 #E6E8EE;
    color: #5a6d7c;
    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(34, 34, 34, 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(34, 34, 34, 1);
}

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

.request-title {
    width: 100%;
}

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

.request-sidebar {
    border-bottom: 1px solid #E6E8EE;
    border-top: 1px solid #E6E8EE;
    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 #E6E8EE;
    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: #5a6d7c;
    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: #5a6d7c;
    font-size: 13px;
}

.meta-data:not(:last-child)::after {
    content: "·";
    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;
    vertical-align: middle;
    display: inline;
}

.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: #5a6d7c;
    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(34, 34, 34, 1);
    border-radius: 4px;
    color: rgba(34, 34, 34, 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: #5a6d7c;
    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 #E6E8EE;
    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: #5a6d7c;
    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 #E6E8EE;
}

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

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

    [dir=rtl] .profile-activity:not(:last-child) {
        border-left: 0;
        border-right: 1px solid #E6E8EE;
    }
}

.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 *****/
/* ══════════════════════════════════════════════════════════════
   Search results page
   ══════════════════════════════════════════════════════════════ */

/* ── Search hero ──────────────────────────────────────────── */
.mc-search-page { background: #fff; }

.mc-search-hero {
    background: #F4F6F8;
    border-bottom: 1px solid #E6E8EE;
    padding: 32px 0 36px;
}

.mc-search-hero__inner {
    padding-top: 28px;
    padding-bottom: 36px;
}

.mc-search-hero .breadcrumbs { margin-bottom: 22px; }

.mc-search-hero__title {
    font-size: 28px;
    font-weight: 800;
    color: #0B1220;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
}

.mc-search-hero__bar {
    position: relative;
    max-width: 560px;
}

.mc-search-hero__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8A94A6;
    pointer-events: none;
    z-index: 1;
}

.mc-search-hero__bar input[type="search"] {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid #E6E8EE;
    border-radius: 8px;
    font-size: 15px;
    color: #0B1220;
    background: #fff;
    transition: border-color 0.15s;
}

.mc-search-hero__bar input[type="search"]:focus,
.mc-search-hero__bar .search-has-value input[type="search"]:focus {
    outline: none;
    border-color: transparent !important;
    box-shadow: none;
}

/* ── Results layout ───────────────────────────────────────── */
.mc-search-results {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 32px 0 48px;
}

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

/* ── Sidebar filters ──────────────────────────────────────── */
.mc-search-sidebar {
    flex: 0 0 auto;
    margin-bottom: 24px;
    order: 2;
}

@media (min-width: 1024px) {
    .mc-search-sidebar {
        flex: 0 0 220px;
        order: 0;
        margin-bottom: 0;
        position: sticky;
        top: 20px;
        align-self: flex-start;
    }
}

.mc-search-filter {
    margin-bottom: 24px;
}

.mc-search-filter__title {
    font-size: 13px;
    font-weight: 700;
    color: #0B1220;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
}

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

.mc-search-filter__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 6px;
    color: #2A3447;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.12s;
}

.mc-search-filter__item:hover {
    background: #F4F6F8;
    text-decoration: none;
    color: #0B1220;
}

.mc-search-filter__item--active {
    background: #EBF4FA;
    color: #1F73B7;
    font-weight: 600;
}

.mc-search-filter__item--active:hover {
    background: #D8EAF5;
    color: #1F73B7;
}

.mc-search-filter__count {
    font-size: 12px;
    color: #8A94A6;
    font-weight: 500;
    min-width: 18px;
    text-align: right;
}

.mc-search-filter__item--active .mc-search-filter__count {
    color: #1F73B7;
}

/* Content tags */
.mc-search-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EBF4FA;
    border-radius: 20px;
    padding: 4px 10px 4px 12px;
    margin: 0 6px 6px 0;
}

.mc-search-tag__label {
    font-size: 12px;
    font-weight: 600;
    color: #1F73B7;
}

.mc-search-tag__remove {
    display: flex;
    align-items: center;
    color: #1F73B7;
}

.mc-search-tag__remove:hover { color: #0B1220; }

/* Sidebar collapsible toggle — reuse existing toggle logic */
.mc-search-filter .collapsible-sidebar-toggle {
    display: none;
}

@media (max-width: 1023px) {
    .mc-search-filter .collapsible-sidebar-toggle {
        display: inline-flex;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-right: 4px;
        vertical-align: middle;
        color: #5B6578;
    }
}

.mc-search-filter .collapsible-sidebar-toggle[aria-expanded=false] ~ .mc-search-filter__list {
    display: none;
}

@media (min-width: 1024px) {
    .mc-search-filter .collapsible-sidebar-toggle[aria-expanded=false] ~ .mc-search-filter__list {
        display: block;
    }
}

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

.mc-search-filter .see-all-filters {
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    padding: 7px 10px;
    font-size: 13px;
    color: #1F73B7;
    font-weight: 600;
}

.mc-search-filter .see-all-filters[aria-hidden=true] {
    display: none;
}

.mc-search-filter .see-all-filters:hover {
    text-decoration: underline;
}

.mc-search-filter .see-all-filters::after {
    content: " ↓";
}

/* ── Main results column ──────────────────────────────────── */
.mc-search-main {
    flex: 1;
    min-width: 0;
}

.mc-search-main__heading {
    font-size: 16px;
    font-weight: 600;
    color: #5B6578;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E6E8EE;
}

/* ── Result cards ─────────────────────────────────────────── */
.mc-search-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mc-search-card {
    padding: 20px 0;
    border-bottom: 1px solid #E6E8EE;
}

.mc-search-card:first-child {
    padding-top: 0;
}

.mc-search-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.mc-search-card__title {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}

.mc-search-card__title a {
    color: #1F73B7;
    text-decoration: none;
}

.mc-search-card__title a:visited {
    color: #9358B0;
}

.mc-search-card__title a:hover {
    color: #0F3554;
    text-decoration: underline;
}

.mc-search-card__external {
    vertical-align: middle;
    margin-left: 4px;
}

.mc-search-card__meta-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mc-search-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #8A94A6;
    white-space: nowrap;
}

.mc-search-card__stat svg {
    color: #8A94A6;
}

.mc-search-card__breadcrumbs {
    margin-top: 6px;
}

.mc-search-card__breadcrumbs .breadcrumbs {
    margin: 0;
}

.mc-search-card__breadcrumbs .breadcrumbs a {
    color: #8A94A6;
    font-size: 13px;
}

.mc-search-card__breadcrumbs .breadcrumbs a:hover {
    color: #1F73B7;
}

.mc-search-card__snippet {
    font-size: 14px;
    color: #5B6578;
    line-height: 1.6;
    margin: 8px 0 0;
    word-break: break-word;
}

.mc-search-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 13px;
    color: #8A94A6;
}

.mc-search-card__author {
    font-weight: 500;
}

.mc-search-card__footer .mc-search-card__author + .mc-search-card__date::before {
    content: "·";
    margin-right: 12px;
}

/* ── No results ───────────────────────────────────────────── */
.mc-search-empty {
    text-align: center;
    padding: 64px 20px;
}

.mc-search-empty__icon {
    margin-bottom: 20px;
}

.mc-search-empty__title {
    font-size: 20px;
    font-weight: 700;
    color: #0B1220;
    margin: 0 0 8px;
}

.mc-search-empty__desc {
    font-size: 15px;
    color: #5B6578;
    margin: 0 0 24px;
}

.mc-search-empty__btn,
.mc-search-empty__btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background: #1F73B7;
    color: #fff;
    transition: background 0.15s;
}

.mc-search-empty__btn:hover {
    background: #0F3554;
    color: #fff;
    text-decoration: none;
}

/* ── Pagination styling ───────────────────────────────────── */
.mc-search-page .pagination {
    padding: 24px 0 48px;
    border-top: 1px solid #E6E8EE;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mc-search-page .pagination-next-link,
.mc-search-page .pagination-prev-link,
.mc-search-page .pagination-first-link,
.mc-search-page .pagination-last-link {
    background: #fff;
    color: #0B1220;
    border: 1px solid #E6E8EE;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
    margin: 0;
    line-height: 1.4;
}

.mc-search-page .pagination-next-link:visited,
.mc-search-page .pagination-prev-link:visited,
.mc-search-page .pagination-first-link:visited,
.mc-search-page .pagination-last-link:visited {
    color: #0B1220;
    background: #fff;
}

.mc-search-page .pagination-next-link:hover,
.mc-search-page .pagination-prev-link:hover,
.mc-search-page .pagination-first-link:hover,
.mc-search-page .pagination-last-link:hover {
    border-color: #CBD0D8;
    background: #F4F6F8;
    color: #0B1220;
    text-decoration: none;
}

.mc-search-page [data-disabled].pagination-next-link,
.mc-search-page [data-disabled].pagination-prev-link,
.mc-search-page [data-disabled].pagination-first-link,
.mc-search-page [data-disabled].pagination-last-link {
    opacity: 0.4;
    pointer-events: none;
}

/* By default use bold instead of italic to highlight */
.search-results-description em {
    font-style: normal;
    font-weight: bold;
}

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

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

.notification a {
    color: #158ec2;
}

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

.notification-icon,
.notification-inline.notification-error::before,
.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: 0.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-toggle[aria-expanded=true]+.dropdown-menu {
    display: block;
}

.dropdown-menu {
    background: #fff;
    border: 1px solid #E6E8EE;
    border-radius: 3px;
    box-shadow: 0px 20px 30px 0px rgba(23, 73, 77, 0.15);
    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 [role=separator] {
    border-bottom: 1px solid #E6E8EE;
    margin: 4px 0;
}

.dropdown-menu [role=menuitem],
.dropdown-menu [role=menuitemradio] {
    color: #2f3941;
    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],
[dir=rtl] .dropdown-menu [role=menuitemradio] {
    padding: 7px 20px 7px 40px;
}

.dropdown-menu [role=menuitem]:hover,
.dropdown-menu [role=menuitem]:focus,
.dropdown-menu [role=menuitemradio]:hover,
.dropdown-menu [role=menuitemradio]:focus {
    background: rgba(31, 115, 183, 0.08);
    text-decoration: none;
    color: #2f3941;
}

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

.dropdown-menu [role=menuitem][aria-selected=true]::after,
.dropdown-menu [role=menuitem][aria-checked=true]::after,
.dropdown-menu [role=menuitemradio][aria-selected=true]::after,
.dropdown-menu [role=menuitemradio][aria-checked=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,
[dir=rtl] .dropdown-menu [role=menuitem][aria-checked=true]::after,
[dir=rtl] .dropdown-menu [role=menuitemradio][aria-selected=true]::after,
[dir=rtl] .dropdown-menu [role=menuitemradio][aria-checked=true]::after {
    margin-left: 0;
    margin-right: 10px;
    float: left;
}

.dropdown-menu [role=menuitem][hidden],
.dropdown-menu [role=menuitem][aria-hidden=true],
.dropdown-menu [role=menuitemradio][hidden],
.dropdown-menu [role=menuitemradio][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;
}

.content-tags>p {
    color: #68737D;
    margin-top: 32px;
    margin-bottom: 4px;
}

.content-tags-add-hint {
    color: #68737D;
    font-size: 14px;
}

.content-tag-list {
    display: flex;
    flex-wrap: wrap;
    word-break: break-word;
}

.content-tag-list li {
    border-right: 1px solid #E6E8EE;
    margin-bottom: 4px;
}

[dir=ltr] .content-tag-list li {
    padding-right: 8px;
    margin-right: 8px;
}

[dir=rtl] .content-tag-list li {
    padding-left: 8px;
    margin-left: 8px;
}

.content-tag-list li:last-child {
    border: none;
}

/***** WYSIWYG Editor *****/
#hc-wysiwyg {
    border: 1px solid #87929D;
}

/***** Upload Dropzone *****/
.upload-dropzone {
    border: 1px solid #87929D;
}


/* Owl Slider */
.owl-nav {
    font-size: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.owl-nav button span {
    padding: 0px 12px;
    border: 1px solid #E6E8EE !important;
    border-radius: 4px;
    margin-right: 6px;
    cursor: pointer !important;
}

/** OPEN AI **/

h2 {
    margin: 32px 0 12px !important;
}
.intro {
		font-size: 1.3rem;
}
.section-label-h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 64px 0 12px !important;
}

.section-label-h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 18px 0 !important;
}

.callout-info {
    border-left: 4px solid #0072CE !important;
    background: #f0f8ff !important;
    padding: 12px 16px !important;
    margin: 16px 0 !important;
}

.callout-warn {
    border-left: 4px solid #e07b00;
    background: #fff4e5;
    padding: 12px 16px;
    margin: 16px 0;
}

.callout-grey {
    border-left: 4px solid #999;
    background: #f8f9fa;
    padding: 12px 16px;
    margin: 16px 0;
    font-style: italic;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio (9 / 16 = 0.5625) */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/***** Article subscribe — outlined button *****/

.article-subscribe button,
.article-subscribe button[data-selected=true],
.article-subscribe button.button-primary {
    background: transparent;
    border: 1px solid #E6E8EE;
    border-radius: 4px;
    box-shadow: none;
    color: #68737d;
    font-size: 13px;
    padding: 3px 12px;
    min-width: auto;
    font-weight: normal;
    text-decoration: none;
    cursor: pointer;
}

.article-subscribe button:hover,
.article-subscribe button:focus,
.article-subscribe button:active,
.article-subscribe button[data-selected=true]:hover,
.article-subscribe button[data-selected=true]:focus,
.article-subscribe button[data-selected=true]:active,
.article-subscribe button.button-primary:hover,
.article-subscribe button.button-primary:focus,
.article-subscribe button.button-primary:active {
    background: transparent;
    border-color: #68737d;
    color: #2f3941;
    text-decoration: none;
}

/***** Platform tabs (Desktop / Web App switcher) *****/

.platform-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #E6E8EE;
    margin: 16px 0 0;
    padding: 0;
}

.platform-tab {
    position: relative;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #777;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    font-family: inherit;
}

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

.platform-tab.is-active {
    color: #1F73B7;
    border-bottom-color: #1F73B7;
    font-weight: 600;
}

.platform-panels {
    margin-bottom: 48px;
}

.platform-panel {
    padding-top: 16px;
}

/* Responsive: stack tabs on very small screens */
@media (max-width: 480px) {
    .platform-tab {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MOTORCENTRAL OVERRIDES — applied on top of Copenhagen base
   ═══════════════════════════════════════════════════════════════ */

/* Font: switch to Inter (loaded via document_head.hbs) */
body,
h1, h2, h3, h4, h5, h6,
p, ol, ul, li,
input, button, select, textarea {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
}

/* ── White header (64 px tall) ───────────────────────────────── */
.mc-header-outer {
    background-color: #ffffff;
    border-bottom: 1px solid #E6E8EE;
}

.mc-header-outer .header {
    height: 64px;
}

/* Logo area */
.mc-header-outer .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-header-outer .logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mc-header-outer .logo a,
.mc-header-outer .logo span,
.mc-header-outer .logo-name {
    color: #0B1220 !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.mc-header-outer .logo .mc-link {
    display: none !important;
    align-items: center;
    gap: 3px;
    color: #8A94A6 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    text-decoration: none;
    transition: color 0.15s;
}

@media (min-width: 1024px) {
    .mc-header-outer .logo .mc-link {
        display: inline-flex !important;
    }
}

.mc-header-outer .logo .mc-link:hover {
    color: #5B6578 !important;
}

/* Nav links */
.mc-header-outer .user-nav-list a,
.mc-header-outer .user-nav-list li a {
    color: #2A3447 !important;
    font-size: 13px;
    font-weight: 500;
}

/* Sign in button — green per design */
.mc-header-outer a.sign-in,
.mc-header-outer a.sign-in:visited,
.mc-header-outer a.sign-in:hover,
.mc-header-outer a.sign-in:active,
.mc-header-outer .user-nav-list a.sign-in,
.mc-header-outer .user-nav-list a.sign-in:visited,
.mc-header-outer .user-nav-list a.sign-in:hover,
.mc-header-outer .user-nav-list a.sign-in:active,
.mc-header-outer .user-nav-list li a.sign-in,
.mc-header-outer .user-nav-list li a.sign-in:visited,
.mc-header-outer .user-nav-list li a.sign-in:hover,
.mc-header-outer .user-nav-list li a.sign-in:active,
.mc-header-outer .nav-wrapper-desktop a.sign-in,
.mc-header-outer .nav-wrapper-desktop a.sign-in:visited,
.mc-header-outer .nav-wrapper-desktop a.sign-in:hover,
.mc-header-outer .nav-wrapper-desktop a.sign-in:active {
    background: #2DAB6D !important;
    color: #ffffff !important;
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
    display: inline-block !important;
}

/* nav-wrapper-desktop: flex so nav links and user dropdown sit on same baseline */
.mc-header-outer .nav-wrapper-desktop {
    align-items: center;
    gap: 20px;
}

@media (min-width: 1024px) {
    .mc-header-outer .nav-wrapper-desktop {
        display: flex !important;
    }
}

/* Avatar: shrink to match text line-height */
.mc-header-outer .user-avatar {
    width: 20px !important;
    height: 20px !important;
    vertical-align: middle;
}

/* Dropdown toggle button — match Community link exactly */
.mc-header-outer .user-info > button,
.mc-header-outer .dropdown-toggle {
    color: #2A3447 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center;
    gap: 6px;
    background: none !important;
    padding: 0 !important;
}

.mc-header-outer .dropdown-toggle span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #2A3447 !important;
}

.mc-header-outer .dropdown-toggle:hover,
.mc-header-outer .dropdown-toggle:focus {
    color: #2A3447 !important;
    background: none !important;
}

/* Mobile hamburger */
.mc-header-outer .nav-wrapper-mobile {
    margin-left: auto;
    justify-content: flex-end;
}

@media (max-width: 1023px) {
    .mc-header-outer .nav-wrapper-mobile {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .mc-header-outer .nav-wrapper-mobile,
    .mc-header-outer .header .nav-wrapper-mobile {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

.mc-header-outer .nav-wrapper-mobile .menu-button-mobile {
    color: #0B1220;
    min-width: 0;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.mc-header-outer .nav-wrapper-mobile .menu-button-mobile .user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
}

.mc-header-outer .nav-wrapper-mobile .menu-button-mobile .icon-menu {
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    background: none !important;
    border-radius: 0;
}

/* Mobile dropdown — rounded card, not full-width */
.mc-header-outer .nav-wrapper-mobile .menu-list-mobile,
.mc-header-outer .nav-wrapper-mobile .menu-list-mobile[aria-expanded=true] {
    position: absolute !important;
    right: 5% !important;
    left: auto !important;
    top: 60px !important;
    width: 240px !important;
    background: #fff !important;
    border: 1px solid #E6E8EE !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    padding: 8px 0 !important;
    z-index: 10;
}

.mc-header-outer .nav-wrapper-mobile .menu-list-mobile-items a,
.mc-header-outer .nav-wrapper-mobile .menu-list-mobile-items button {
    padding: 10px 20px !important;
    font-size: 14px !important;
    color: #2A3447 !important;
}

.mc-header-outer .nav-wrapper-mobile .menu-list-mobile-items a:hover,
.mc-header-outer .nav-wrapper-mobile .menu-list-mobile-items a:focus,
.mc-header-outer .nav-wrapper-mobile .menu-list-mobile-items button:hover,
.mc-header-outer .nav-wrapper-mobile .menu-list-mobile-items button:focus {
    background: #F4F6F8 !important;
    text-decoration: none !important;
}

/* Remove grey circle active state on hamburger */
.mc-header-outer .nav-wrapper-mobile .menu-button-mobile[aria-expanded=true] .icon-menu {
    background: none !important;
}

/* ── Hero section ────────────────────────────────────────────── */
.hero {
    background-color: #ffffff !important;
    padding: 72px 56px 64px !important;
    border-bottom: 1px solid #E6E8EE;
}

/* Zero out base theme's extra padding-top on hero-inner so only .hero padding applies */
.hero .hero-inner {
    padding-top: 0 !important;
}

/* Eyebrow */
.mc-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2DAB6D;
    margin: 0 0 16px;
}

/* Hero h1 */
.hero-inner h1 {
    color: #0B1220 !important;
    font-size: 44px !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    line-height: 1.1 !important;
    margin-bottom: 28px !important;
}


/* Search bar */
.hero .search-full input[type="search"] {
    border-color: #E6E8EE;
    border-width: 1.5px;
    background: #fff;
    border-radius: 10px;
    height: 54px;
    font-size: 15px;
    color: #8A94A6;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.hero .search-full input[type="search"]:focus {
    border-color: transparent !important;
    box-shadow: none !important;
    background: #fff;
    outline: none !important;
}

/* Search container focus ring — grey, not brand green */
.hero .search:focus-within,
.search:focus-within {
    border-color: #CBD0D8 !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,.07) !important;
}

/* Clear (×) button — grey hover, not brand green */
.search .clear-button:hover {
    background-color: #F4F6F8 !important;
    color: #5B6578 !important;
}

.search .clear-button:focus {
    box-shadow: 0 0 0 3px rgba(0,0,0,.07) !important;
}

/* Quick action links (plain text + icon, no pill border) */
.pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin-top: 24px;
}

.pills li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2A3447 !important;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}

.pills li a:hover {
    color: #2DAB6D !important;
}

.pills li a:hover {
    color: #2DAB6D !important;
}

/* ── Section header (flex row with optional right link) ─────── */
.mc-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mc-section-head h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.4px !important;
    margin: 0 !important;
    color: #0B1220 !important;
}

.mc-section-head__link {
    font-size: 13px;
    color: #5B6578;
    font-weight: 500;
    text-decoration: none;
    flex-shrink: 0;
}

.mc-section-head__link:hover {
    color: #2DAB6D;
    text-decoration: none;
}

/* Hide "See all" links on home page */
.knowledge-base .mc-section-head__link,
.activity .mc-section-head__link {
    display: none !important;
}

/* ── Popular articles — infinite slider ─────────────────────── */
.mc-slider {
    position: relative;
    margin-bottom: 40px;
}

.mc-slider__viewport {
    overflow: hidden;
    margin: 0 -8px;
}

.mc-slider__track.promoted-articles {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.mc-slider__track.promoted-articles.mc-slider--dragging {
    transition: none;
}

/* Static grid when 4 or fewer items (no slider) */
.mc-slider__track.mc-slider--static {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    transform: none !important;
    transition: none !important;
    will-change: auto;
}
@media (max-width: 1023px) {
    .mc-slider__track.mc-slider--static {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 639px) {
    .mc-slider__track.mc-slider--static {
        grid-template-columns: 1fr;
    }
}

.mc-slider__slide.promo-card {
    flex: 0 0 25%;
    box-sizing: border-box;
    padding: 0 8px;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
}

.mc-slider__slide.promo-card:hover {
    border-color: transparent;
    box-shadow: none;
}

.mc-slider__slide .promo-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #E6E8EE;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.mc-slider__slide .promo-card__link:hover {
    border-color: #CBD0D8;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* Nav buttons in section head */
.mc-slider__nav {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.mc-slider__btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #E6E8EE;
    background: #fff;
    color: #0B1220;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    padding: 0;
}

.mc-slider__btn:hover {
    border-color: #CBD0D8;
    color: #0B1220;
}

/* Responsive: tablet — 2 per view */
@media (max-width: 1023px) {
    .mc-slider__slide.promo-card {
        flex: 0 0 50%;
    }
}

/* Responsive: mobile — 1 per view */
@media (max-width: 639px) {
    .mc-slider__slide.promo-card {
        flex: 0 0 100%;
    }
}

/* Fallback: if no JS, show as grid */
.promoted-articles:not(.mc-slider__track) {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    list-style: none !important;
    margin: 0 0 40px !important;
    padding: 0 !important;
}

.promo-card:not(.mc-slider__slide) {
    border: 1px solid #E6E8EE;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.promo-card:not(.mc-slider__slide):hover {
    border-color: #CBD0D8;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.promo-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #0B1220;
    text-decoration: none;
}

.promo-card__link:hover {
    text-decoration: none;
    color: #0B1220;
}

.promo-card__header {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

/* Card header background colours — JS sets inline for category page;
   data-color-idx set by slider JS, CSS nth-child fallback for non-slider. */
.promo-card[data-color-idx="0"] .promo-card__header { background-color: #FFF4E8; }
.promo-card[data-color-idx="1"] .promo-card__header { background-color: #FEE8CC; }
.promo-card[data-color-idx="2"] .promo-card__header { background-color: #E6F5EC; }
.promo-card[data-color-idx="3"] .promo-card__header { background-color: #E7F4FD; }
/* Fallback nth-child for non-slider promoted articles */
.promoted-articles:not(.mc-slider__track) .promo-card:nth-child(4n+1) .promo-card__header { background-color: #FFF4E8; }
.promoted-articles:not(.mc-slider__track) .promo-card:nth-child(4n+2) .promo-card__header { background-color: #FEE8CC; }
.promoted-articles:not(.mc-slider__track) .promo-card:nth-child(4n+3) .promo-card__header { background-color: #E6F5EC; }
.promoted-articles:not(.mc-slider__track) .promo-card:nth-child(4n+4) .promo-card__header { background-color: #E7F4FD; }

/* Nav buttons alignment for category popular section */
#mc-cat-popular .mc-section-head {
    align-items: center;
}

.promo-card__img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.promo-card__body {
    padding: 14px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promo-card__title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #0B1220;
    display: block;
}

.promo-card__meta {
    font-size: 11.5px;
    color: #8A94A6;
    margin-top: 6px;
    display: block;
}

/* ── Category / Browse topics grid ─────────────────────────── */
.categories .blocks-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}
@media (max-width: 1023px) {
    .categories .blocks-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Per-product accent color — drives hover border; matches actual brand colors */
[data-product-slug] { --cat-color: #2DAB6D; }
[data-product-slug*="motorcentral-dms"]   { --cat-color: #2DAB6D; }
[data-product-slug*="adconnect"]          { --cat-color: #CB258B; }
[data-product-slug*="auto-attendant"]     { --cat-color: #13A3D2; }
[data-product-slug*="dealer-websites"]    { --cat-color: #80529D; }
[data-product-slug*="websites-email"]     { --cat-color: #80529D; }
[data-product-slug*="vehicle-xchange"]    { --cat-color: #E47716; }
[data-product-slug*="ampd"]               { --cat-color: #E95639; }
[data-product-slug*="car-check"]          { --cat-color: #4EB020; }
[data-product-slug*="finance-central"]    { --cat-color: #F58020; }
[data-product-slug*="buyers-score"]       { --cat-color: #F9A11B; }
[data-product-slug*="needacar"]           { --cat-color: #DA3B5E; }
[data-product-slug*="motorcentral-go"]    { --cat-color: #333333; }
[data-product-slug*="dealer-launch"]      { --cat-color: #888888; }
[data-product-slug*="release-notes"]      { --cat-color: #000000; }

/* Card */
.categories .blocks-item,
.blocks-item {
    border: 1px solid #E6E8EE !important;
    border-radius: 14px !important;
    padding: 20px !important;
    background: #fff !important;
    min-height: 172px !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
    box-shadow: none !important;
}

.categories .blocks-item:hover,
.blocks-item:hover {
    border-color: #CBD0D8 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    transform: none !important;
}

/* Card inner link — flex column, left-aligned, zero out base theme's 20px 30px padding */
.blocks-item-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    height: 100% !important;
    padding: 0 !important;
    color: #0B1220 !important;
    text-decoration: none !important;
    text-align: left !important;
}

/* Meta row must stretch full width despite flex-start on parent */
.blocks-item-meta {
    align-self: stretch;
}

/* Cat icon wrapper — JS injects .product-tile inside */
.cat-icon {
    display: block;
    flex-shrink: 0;
}

/* Product tile — SVG element injected by JS, self-contained with bg + icon */
.product-tile {
    width: 48px;
    height: 48px;
    display: block;
    flex-shrink: 0;
}

/* Title */
/* Text block — groups title + description with tight 3px gap */
.blocks-item-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-self: stretch;
}

.blocks-item-title {
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: -0.2px !important;
    color: #0B1220 !important;
    line-height: 1.35 !important;
    display: block;
}

/* Description / blurb — strip link colors since Zendesk descriptions can contain HTML */
.blocks-item-description {
    font-size: 12.5px !important;
    color: #5B6578 !important;
    line-height: 1.45 !important;
    display: block;
}

.blocks-item-description a,
.blocks-item-description a:visited,
.blocks-item-description a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* Card footer row — count + brand-colored arrow */
.blocks-item-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blocks-item-count {
    font-size: 11.5px;
    color: #8A94A6;
    letter-spacing: 0.3px;
    font-weight: 600;
    text-transform: uppercase;
}

.blocks-item-arrow {
    color: var(--cat-color, #2DAB6D);
    flex-shrink: 0;
    display: block;
    transition: transform 0.15s;
}

.blocks-item:hover .blocks-item-arrow {
    transform: translateX(2px);
}

/* ── Section / knowledge-base headings ──────────────────────── */
.knowledge-base h2,
.knowledge-base h3 {
    color: #0B1220 !important;
    font-weight: 700 !important;
}

/* ── Link colours ────────────────────────────────────────────── */
a:visited {
    color: #5B6578;
}

a:hover {
    color: #2DAB6D;
}

/* ── Responsive: collapse to 2-col on mobile ─────────────────── */
@media (max-width: 768px) {
    .hero {
        padding: 40px 22px 32px !important;
    }

    .hero-inner h1 {
        font-size: 34px !important;
        letter-spacing: -0.5px !important;
    }

    .categories .blocks-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .categories .blocks-item,
    .blocks-item {
        padding: 12px !important;
        min-height: 110px !important;
        border-radius: 11px !important;
    }

    .blocks-item-link {
        gap: 8px !important;
    }

    /* Smaller icon tile on mobile */
    .product-tile {
        width: 34px !important;
        height: 34px !important;
    }

    /* Tighter name */
    .blocks-item-title {
        font-size: 12.5px !important;
        letter-spacing: 0 !important;
    }

    /* Hide description on mobile */
    .blocks-item-description {
        display: none !important;
    }

    /* Footer: count only, no arrow, lowercase */
    .blocks-item-arrow {
        display: none;
    }

    .blocks-item-count {
        font-size: 10.5px;
        text-transform: none;
        letter-spacing: 0;
    }

    .pills {
        gap: 6px 18px !important;
    }

    /* Popular articles — slider compact styling */
    .promoted-articles:not(.mc-slider__track) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .promoted-articles:not(.mc-slider__track) .promo-card__header {
        height: 68px;
    }

    .promoted-articles:not(.mc-slider__track) .promo-card__img {
        width: 44px;
        height: 44px;
    }

    .promoted-articles:not(.mc-slider__track) .promo-card__body {
        padding: 10px 12px 12px;
    }

    .promoted-articles:not(.mc-slider__track) .promo-card__title {
        font-size: 12px;
        line-height: 1.3;
    }

}

/* ── Footer ──────────────────────────────────────────────────── */
.mc-footer {
    background: #F4F6F8 !important;
    border-top: 1px solid #E6E8EE !important;
    margin-top: 0 !important;
    padding: 0 !important;
}

.mc-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 5%;
    font-size: 13px;
    color: #5B6578;
    max-width: 1160px;
    margin: 0 auto;
    box-sizing: border-box;
}
@media (min-width: 1160px) {
    .mc-footer__inner {
        width: 90%;
        padding-left: 0;
        padding-right: 0;
    }
}

.mc-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5B6578;
}

.mc-footer__mark {
    flex-shrink: 0;
    display: block;
}

.mc-footer__links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mc-footer__links a,
.mc-footer__links a:visited {
    color: #5B6578 !important;
    text-decoration: none !important;
    font-size: 13px;
}

.mc-footer__links a:hover {
    color: #2DAB6D !important;
}

.mc-footer__locale {
    padding: 0 56px 16px;
    font-size: 12px;
    color: #5B6578;
}

@media (max-width: 768px) {
    .mc-footer__inner {
        padding: 18px 20px;
        font-size: 11.5px;
    }

    .mc-footer__links {
        display: none;
    }

    .mc-footer__mark {
        width: 14px !important;
        height: 14px !important;
    }

    .mc-footer__locale {
        padding: 0 20px 14px;
    }
}

/* =============================================
   CATEGORY PAGE — mc-cat-* components
   ============================================= */

/* ── Hero ── */
.mc-cat-hero {
    background: #fff;
    border-bottom: 1px solid #E6E8EE;
}
.mc-request-page .mc-cat-hero {
    border-bottom: none;
}
.mc-request-page {
    padding-bottom: 80px;
}

.mc-cat-hero__inner {
    padding-top: 28px;
    padding-bottom: 52px;
}

/* Breadcrumb overrides within hero */
.mc-cat-hero .breadcrumbs,
.mc-cat-hero .breadcrumbs ul,
.mc-search-hero .breadcrumbs,
.mc-search-hero .breadcrumbs ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    font-size: 11.5px;
    color: #8A94A6;
}

.mc-cat-hero .breadcrumbs li,
.mc-search-hero .breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mc-cat-hero .breadcrumbs a,
.mc-cat-hero .breadcrumbs a:visited,
.mc-search-hero .breadcrumbs a,
.mc-search-hero .breadcrumbs a:visited {
    color: #8A94A6;
    text-decoration: none;
}

.mc-cat-hero .breadcrumbs a:hover,
.mc-search-hero .breadcrumbs a:hover { color: #5B6578; }

.mc-cat-hero .breadcrumbs li:last-child a,
.mc-search-hero .breadcrumbs li:last-child a {
    color: #5B6578;
    font-weight: 500;
}

/* Title row: product tile + h1 */
.mc-cat-hero__title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    max-width: 900px;
}

.mc-cat-hero__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.mc-cat-hero__icon .product-tile {
    width: 64px !important;
    height: 64px !important;
    border-radius: 14px;
}

.mc-cat-hero__title {
    font-size: 52px !important;
    font-weight: 800 !important;
    letter-spacing: -1.4px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    color: #0B1220 !important;
    min-width: 0;
}

.mc-cat-hero__desc {
    font-size: 16px;
    color: #5B6578;
    line-height: 1.55;
    max-width: 780px;
    margin: 0 0 20px;
}

.mc-cat-hero__follow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

/* Native Zendesk follow button in hero */
.mc-cat-hero__follow button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 999px;
    border: 1px solid #E6E8EE;
    background: #fff;
    color: #0B1220;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    margin: 0;
    line-height: 1.3;
}

.mc-cat-hero__follow button:hover {
    background: #F4F6F8;
    text-decoration: none;
}

.mc-cat-hero__follow button[data-selected=true] {
    background: #E6F5EC;
    color: #2DAB6D;
    border-color: #2DAB6D;
}

/* Follow button */
.mc-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 999px;
    border: 1px solid #E6E8EE;
    background: #fff;
    color: #0B1220;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.mc-follow-btn__check { display: none; }
.mc-follow-btn--active {
    background: #E6F5EC;
    color: #2DAB6D;
    border-color: #2DAB6D;
}
.mc-follow-btn--active .mc-follow-btn__bell { display: none; }
.mc-follow-btn--active .mc-follow-btn__check { display: block; }
.mc-follow-count {
    font-size: 12px;
    color: #8A94A6;
    font-variant-numeric: tabular-nums;
}

/* Zendesk {{subscribe}} button — styled to match .mc-follow-btn
   Renders as bare: <button id="follow-button-..." data-follower-count data-selected> */
button[id^="follow-button"] {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    border-radius: 999px !important;
    border: 1px solid #E6E8EE !important;
    background: #fff !important;
    color: #0B1220 !important;
    cursor: pointer !important;
    transition: background .15s, color .15s, border-color .15s !important;
    line-height: 1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}
button[id^="follow-button"]:hover {
    border-color: #2DAB6D !important;
    color: #2DAB6D !important;
    background: #fff !important;
}
button[id^="follow-button"][data-selected="true"] {
    background: #E6F5EC !important;
    color: #2DAB6D !important;
    border-color: #2DAB6D !important;
}
button[id^="follow-button"][data-selected="true"]:hover {
    background: #d0eddb !important;
}
/* Bell icon (default) */
button[id^="follow-button"]::before {
    content: '' !important;
    display: inline-block !important;
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%230B1220' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
button[id^="follow-button"]:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%232DAB6D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E") !important;
}
/* Check icon (following) */
button[id^="follow-button"][data-selected="true"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%232DAB6D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
}

/* Category search (Browse topics section) */
.mc-cat-search-wrap {
    position: relative;
    margin: 0 0 32px;
}

/* Custom search dropdown */
.mc-search-drop {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #E6E8EE;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(16,24,40,.14);
    z-index: 200;
    overflow: hidden;
}
.mc-search-drop__group { padding: 6px 0; }
.mc-search-drop__group + .mc-search-drop__group { border-top: 1px solid #E6E8EE; }
.mc-search-drop__label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8A94A6;
    padding: 6px 16px 2px;
    text-align: left;
}
.mc-search-drop__item {
    display: block;
    padding: 9px 16px;
    font-size: 14px;
    color: #0B1220;
    text-decoration: none;
    text-align: left;
}
.mc-search-drop__item:hover,
.mc-search-drop__item[aria-selected=true] { background: #F4F6F8; }
.mc-search-drop__item mark {
    background: none;
    color: #2DAB6D;
    font-weight: 600;
}
.mc-search-drop__snip {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    color: #5B6578;
    line-height: 1.45;
    margin-top: 2px;
}
.mc-search-drop__snip em {
    font-style: normal;
    color: #2DAB6D;
    font-weight: 600;
}
.mc-search-drop__all {
    display: block;
    padding: 10px 16px;
    border-top: 1px solid #E6E8EE;
    font-size: 13px;
    font-weight: 500;
    color: #2DAB6D;
    text-decoration: none;
    text-align: left;
}
.mc-search-drop__all:hover { background: #F4F6F8; }
.mc-search-drop__sep { color: #8A94A6; margin: 0 3px; font-weight: 400; }

.mc-cat-search-icon-wrap {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 1;
    color: #2A3447;
}
.mc-cat-search-icon-wrap svg {
    display: block;
    width: 18px;
    height: 18px;
}

.mc-cat-search-wrap .search {
    border: 1px solid #E6E8EE !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 0 rgba(16,24,40,.04), 0 8px 24px -12px rgba(16,24,40,.12) !important;
    background: #fff;
}

.mc-cat-search-wrap .search input[type=search] {
    height: 52px;
    padding-left: 50px;
    color: #0B1220;
}
.mc-cat-search-wrap .search input[type=search]:focus {
    color: #0B1220;
}

#mc-home-search-wrap .search input[type=search],
#mc-home-search-wrap .search input[type=search]:focus {
    color: #0B1220;
}

/* Quick action links */
.mc-cat-hero__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12.5px;
}

.mc-cat-hero__action,
.mc-cat-hero__action:visited {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5B6578;
    text-decoration: none;
}

.mc-cat-hero__action:hover { color: #0B1220; }

.mc-cat-hero__action svg { flex-shrink: 0; }

.mc-cat-hero__action-sep {
    width: 1px;
    height: 14px;
    background: #E6E8EE;
    display: block;
}

/* ── Popular articles ── */
.mc-cat-popular {
    padding: 56px 0 24px;
}

/* ── Browse sections ── */
.mc-cat-sections {
    padding: 48px 0 32px;
}

.mc-sections-list {
    margin-top: 0;
}

.mc-section-block {
    margin-bottom: 96px;
    scroll-margin-top: 24px;
}

.mc-section-block__head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E6E8EE;
    flex-wrap: wrap;
}

.mc-section-block__num {
    font-size: 13px;
    font-weight: 700;
    color: #2DAB6D;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.6px;
    flex-shrink: 0;
}

.mc-section-block__name {
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.4px !important;
    margin: 0 !important;
    color: #0B1220;
}

.mc-section-block__name a,
.mc-section-block__name a:visited {
    color: inherit;
    text-decoration: none;
}

.mc-section-block__name a:hover { color: #2DAB6D; }

.mc-section-block__blurb {
    display: none;
}

.mc-section-block__count {
    font-size: 11.5px;
    color: #8A94A6;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Article list */
.mc-section-block__articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mc-section-block__article {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 4px;
    border-top: 1px solid #E6E8EE;
}
.mc-section-block__article:first-child {
    border-top: none;
}

.mc-article-num {
    width: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #8A94A6;
    padding-top: 2px;
}

.mc-article-link,
.mc-article-link:visited {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #0B1220;
    text-decoration: none;
    line-height: 1.35;
}

.mc-article-link:hover { color: #2DAB6D; }

/* Section page: article content wrapper (title + blurb column) */
.mc-article-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* When inside mc-article-content the link no longer needs flex:1 */
.mc-article-content .mc-article-link {
    flex: none;
}

.mc-article-blurb {
    font-size: 12.5px;
    color: #8A94A6;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-article-blurb:empty { display: none; }

.mc-article-arrow {
    margin-top: 3px; /* nudge arrow to align with title baseline */
}

.mc-article-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: baseline;
    position: relative;
    top: -1px;
}

.mc-article-badge--promoted {
    background: #0B1220;
    color: #fff;
}

.mc-article-badge--start-here {
    background: #2DAB6D;
    color: #fff;
}

.mc-article-badge--internal {
    background: #0B1220;
    color: #fff;
}

.mc-article-badge--draft {
    background: #F59E0B;
    color: #fff;
}

.mc-article-badge--video {
    background: #6366F1;
    color: #fff;
}

.mc-article-badge--deprecated {
    background: #F0D68A;
    color: #856404;
}

/* Deprecated article — greyed out in listings */
.mc-section-block__article.is-deprecated {
    opacity: 0.5;
    transition: opacity 0.15s;
}
.mc-section-block__article.is-deprecated:hover {
    opacity: 0.8;
}

/* Deprecated banner on article page */
.mc-deprecated-banner {
    background: #FEF3CD;
    border: 1px solid #F0D68A;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
    color: #856404;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.mc-deprecated-banner svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Draft state badges via data-state attribute */
.mc-cat-hero[data-state="draft"] .mc-cat-hero__title::after,
.mc-section-block[data-state="draft"] .mc-section-block__name::after {
    content: "Draft";
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    background: #F59E0B;
    color: #fff;
    letter-spacing: 0;
}

.mc-article-arrow {
    display: none;
}

/* See all button */
.mc-section-block__see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 16px;
    border: 1px solid #E6E8EE;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0B1220;
    text-decoration: none;
    transition: border-color 0.15s;
}

.mc-section-block__see-all:hover,
.mc-section-block__see-all:visited {
    color: #0B1220;
    border-color: #CBD0D8;
    text-decoration: none;
}

/* ── Support CTA ── */
.mc-cat-cta {
    padding: 8px 0 56px;
}

.mc-cat-cta__inner {
    background: #E6F5EC;
    border-radius: 14px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.mc-cat-cta__body { flex: 1; }

.mc-cat-cta__eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #2DAB6D;
    margin-bottom: 8px;
}

.mc-cat-cta__heading {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0B1220;
    margin-bottom: 6px;
}

.mc-cat-cta__sub {
    font-size: 14px;
    color: #5B6578;
}

.mc-cat-cta__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.mc-cat-cta__btn {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
}

.mc-cat-cta__btn--outline,
.mc-cat-cta__btn--outline:visited {
    background: #fff;
    color: #0B1220;
    border: 1px solid #E6E8EE;
}

.mc-cat-cta__btn--outline:hover { border-color: #CBD0D8; color: #0B1220; }

.mc-cat-cta__btn--primary,
.mc-cat-cta__btn--primary:visited {
    background: #2DAB6D;
    color: #fff;
}

.mc-cat-cta__btn--primary:hover { background: #1E8A52; color: #fff; }

/* ── Category page: section jump-nav ─────────────────────── */
.mc-sec-jumps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: #F4F6F8;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 32px;
    counter-reset: sec-jump;
}

.mc-sec-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #2A3447;
    text-decoration: none;
    background: transparent;
    transition: background 0.15s, color 0.15s;
    counter-increment: sec-jump;
}

.mc-sec-jump::before {
    content: counter(sec-jump, decimal-leading-zero);
    font-size: 11px;
    font-weight: 700;
    color: var(--cat-color, #2DAB6D);
    flex-shrink: 0;
    min-width: 18px;
}

.mc-sec-jump:visited { color: #0B1220; }

.mc-sec-jump:hover,
.mc-sec-jump:hover:visited {
    background: #fff;
    color: var(--cat-color, #2DAB6D);
    text-decoration: none;
}

@media (max-width: 900px) {
    .mc-sec-jumps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .mc-sec-jumps { margin-bottom: 20px; grid-template-columns: repeat(2, 1fr); }
    .mc-sec-jump  { font-size: 12px; padding: 8px 10px; }
}

/* ── Per-category colour theming ──────────────────────────────
   --cat-color is set by injectTiles() on .mc-cat-page and cascades
   to all descendants, giving each product its own accent colour.
   ─────────────────────────────────────────────────────────── */
.mc-cat-page .mc-section-block__num { color: var(--cat-color, #2DAB6D); }
.mc-cat-page .mc-section-head__link:hover { color: var(--cat-color, #2DAB6D); }
.mc-cat-page .mc-section-block__name a:hover { color: var(--cat-color, #2DAB6D); }
.mc-cat-page .mc-article-link:hover { color: var(--cat-color, #2DAB6D); }
.mc-cat-page .mc-article-badge--start-here { background: var(--cat-color, #2DAB6D); }
.mc-cat-page .mc-section-block__article:hover .mc-article-arrow { color: var(--cat-color, #2DAB6D); }
.mc-cat-page .mc-search-drop__item mark,
.mc-cat-page .mc-search-drop__snip em { color: var(--cat-color, #2DAB6D); }
.mc-cat-page .mc-cat-cta__eyebrow { color: var(--cat-color, #2DAB6D); }
.mc-cat-page .mc-cat-cta__inner { background: color-mix(in srgb, var(--cat-color, #2DAB6D) 12%, white); }
.mc-cat-page .mc-cat-cta__btn--primary,
.mc-cat-page .mc-cat-cta__btn--primary:visited { background: var(--cat-color, #2DAB6D); }
.mc-cat-page .mc-cat-cta__btn--primary:hover { background: color-mix(in srgb, var(--cat-color, #2DAB6D) 80%, black); }
.mc-cat-page .mc-follow-btn--active {
    background: color-mix(in srgb, var(--cat-color, #2DAB6D) 12%, white);
    color: var(--cat-color, #2DAB6D);
    border-color: var(--cat-color, #2DAB6D);
}

/* ── Other products grid ── */
.mc-cat-other {
    padding: 16px 0 64px;
}

.mc-other-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mc-other-product-card {
    border: 1px solid #E6E8EE;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.15s;
}

.mc-other-product-card:hover { border-color: #CBD0D8; }

.mc-other-product-card a,
.mc-other-product-card a:visited {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-sizing: border-box;
}

.mc-other-product-card .product-tile {
    width: 36px !important;
    height: 36px !important;
}

.mc-other-product-card__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #0B1220;
}

.mc-other-product-card__count {
    font-size: 11px;
    color: #8A94A6;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: auto;
}

/* ── Category page mobile ── */
@media (max-width: 768px) {
    .mc-cat-hero__inner {
        padding-top: 24px;
        padding-bottom: 28px;
    }

    .mc-cat-hero .breadcrumbs,
    .mc-cat-hero .breadcrumbs ul {
        margin-bottom: 22px;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .mc-cat-hero .breadcrumbs li {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
        flex-shrink: 1;
    }
    .mc-cat-hero .breadcrumbs li:last-child {
        max-width: none;
        flex-shrink: 0;
    }

    .mc-cat-hero__title {
        font-size: 26px !important;
        letter-spacing: -0.7px !important;
    }

    .mc-cat-hero__icon {
        width: 44px;
        height: 44px;
    }

    .mc-cat-hero__icon .product-tile {
        width: 44px !important;
        height: 44px !important;
    }

    .mc-cat-hero__desc { font-size: 13.5px; margin-bottom: 14px; }

    .mc-cat-hero__follow { margin-bottom: 18px; }

    .mc-cat-search-wrap { margin-bottom: 18px; }

    .mc-cat-search-wrap .search input[type=search] { height: 44px; }

    .mc-cat-hero__actions { display: none; }

    .mc-cat-popular { padding: 24px 0 8px; }

    .mc-cat-sections { padding: 24px 0 20px; }

    .mc-section-block { margin-bottom: 56px; }

    .mc-section-block__head { gap: 10px; }

    .mc-section-block__name { font-size: 17px !important; }

    .mc-section-block__blurb { display: none; }

    .mc-section-block__article {
        gap: 12px;
        padding: 13px 2px;
    }

    .mc-article-link { font-size: 13.5px; }

    .mc-cat-cta { padding: 16px 0 32px; }

    .mc-cat-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .mc-cat-cta__heading { font-size: 20px; }

    .mc-cat-other { padding: 8px 0 40px; }

    .mc-other-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mc-other-product-card a { padding: 14px; }
}

/* ══════════════════════════════════════════════════════════════
   Section page
   ══════════════════════════════════════════════════════════════ */

/* ── Article list ── */
.mc-sec-articles {
    padding: 48px 0 32px;
}

/* ── Section article filter ──────────────────────────────── */
.mc-filter-hidden { display: none !important; }
.mc-sec-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #E6E8EE;
    border-radius: 10px;
    padding: 0 12px;
    margin-bottom: 24px;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.mc-sec-filter:focus-within {
    border-color: #CBD0D8;
    box-shadow: 0 0 0 3px rgba(0,0,0,.07);
}
.mc-sec-filter__input:focus { outline: none !important; border: none !important; box-shadow: none !important; }
.mc-sec-filter__icon { color: #8A94A6; display: flex; align-items: center; flex-shrink: 0; }
.mc-sec-filter__input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 0;
    font-size: 14px;
    background: transparent;
    color: #0B1220;
}
.mc-sec-filter__input::placeholder { color: #8A94A6; }
.mc-sec-filter__clear {
    background: none;
    border: none;
    cursor: pointer;
    color: #8A94A6;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 4px;
    flex-shrink: 0;
}
.mc-sec-filter__clear:hover { color: #0B1220; }
.mc-sec-filter__empty {
    text-align: center;
    color: #8A94A6;
    padding: 32px 0;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 767px) {
    .mc-sec-articles { padding: 24px 0 20px; }
}

/* ── More topics (sibling sections) ── */
.mc-sec-other {
    padding: 16px 0 64px;
}

.mc-other-sections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mc-other-section-card {
    border: 1px solid #E6E8EE;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.15s;
}

.mc-other-section-card:hover { border-color: #CBD0D8; }

.mc-other-section-card a,
.mc-other-section-card a:visited {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-sizing: border-box;
}

.mc-other-section-card__icon {
    color: #2DAB6D;
    flex-shrink: 0;
}

.mc-cat-page .mc-other-section-card__icon {
    color: var(--cat-color, #2DAB6D);
}

.mc-other-section-card__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #0B1220;
    flex: 1;
}

.mc-other-section-card__count {
    font-size: 11px;
    color: #8A94A6;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .mc-sec-other { padding: 8px 0 40px; }

    .mc-other-sections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mc-other-section-card a { padding: 14px; }
}

/* ── News & Updates (home page) ──────────────────────────── */
.mc-news-updates {
    padding: 0 0 48px;
}

.mc-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mc-news-item {
    border: 1px solid #E6E8EE;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.mc-news-item:hover {
    border-color: #CBD0D8;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.mc-news-item__link,
.mc-news-item__link:hover,
.mc-news-item__link:focus {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-sizing: border-box;
}

.mc-news-item__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-news-item__date {
    font-size: 11px;
    font-weight: 600;
    color: #8A94A6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mc-news-item__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #0B1220;
}

.mc-news-item__blurb {
    font-size: 13px;
    color: #5B6578;
    line-height: 1.5;
    flex: 1;
}

@media (max-width: 1023px) {
    .mc-news-list { grid-template-columns: repeat(2, 1fr); }
    .mc-news-item:nth-child(n+5) { display: none; }
}

@media (max-width: 600px) {
    .mc-news-list { grid-template-columns: 1fr; }
    .mc-news-item:nth-child(n+4) { display: none; }
    .mc-news-updates { padding: 0 0 32px; }
}

/* ══════════════════════════════════════════════════════════════
   Article page  —  Motorcentral design system
   ══════════════════════════════════════════════════════════════ */

/* ── Article hero (extends .mc-cat-hero) ─────────────────── */

/* Grey background on article hero */
.mc-article-page .mc-cat-hero { background: #F4F6F8; }

/* Two-col layout: left (title + author) + right (illustration) */
.mc-article-hero__layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.mc-article-hero__left {
    flex: 1;
    min-width: 0;
}

.mc-article-hero__title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.1px;
    line-height: 1.5;
    margin: 0 0 22px;
    max-width: 640px;
    color: #0B1220;
}

/* Author + divider + follow in one row */
.mc-article-hero__row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mc-article-hero__divider {
    width: 1px;
    height: 28px;
    background: #E6E8EE;
    flex-shrink: 0;
}

.mc-article-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12.5px;
    color: #5B6578;
}

.mc-article-hero__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.mc-article-hero__author { font-weight: 500; color: #2A3447; }

.mc-article-hero__meta-sep,
.mc-read-time-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #8A94A6;
    display: inline-block;
    flex-shrink: 0;
}

#mc-read-time-sep { display: none; }
#mc-read-time:empty { display: none; }

/* Illustration image on the right */
.mc-article-hero__illustration {
    flex-shrink: 0;
    width: 200px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-article-hero__illustration img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .mc-article-hero__layout { flex-direction: column; align-items: flex-start; gap: 20px; }
    .mc-article-hero__title { font-size: 32px; letter-spacing: -0.7px; line-height: 1.1; margin: 0 0 16px; }
    .mc-article-hero__row { flex-direction: column; align-items: flex-start; gap: 14px; }
    .mc-article-hero__divider { display: none; }
    .mc-article-hero__illustration { display: none; }
    .mc-article-hero__meta { flex-direction: row !important; flex-wrap: wrap !important; gap: 4px 8px !important; }
    .mc-article-hero__meta .mc-article-hero__meta-sep { flex-basis: 100% !important; height: 0 !important; width: 0 !important; background: none !important; margin: 0 !important; padding: 0 !important; border: none !important; display: block !important; }
}

/* ── Body + Rail grid ─────────────────────────────────────── */
.mc-article-body-section {
    padding: 48px 0 64px;
}

.mc-article-grid {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 0 96px;
    align-items: start;
}

@media (max-width: 1023px) {
    .mc-article-body-section { padding: 28px 0 40px; }
    .mc-article-grid { grid-template-columns: 1fr; }
}

/* ── Main article column ──────────────────────────────────── */
.mc-article-main { min-width: 0; }

/* ── Stats bar (votes + comment count) ────────────────────── */
.mc-article-stats__bar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid #E6E8EE;
    border-bottom: 1px solid #E6E8EE;
    margin-top: 32px;
    font-size: 14px;
    color: #2A3447;
}

.mc-article-stats__item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mc-article-stats__count {
    font-size: 14px;
    color: #2A3447;
    font-weight: 500;
}

.mc-article-stats__icon {
    color: #5B6578;
}

/* Vote buttons in stats bar — hide default text, show thumb SVG */
.mc-stat-vote {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: #5B6578;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 0;
    transition: color 0.12s;
}

/* Thumbs-up icon */
.mc-stat-vote--up::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Thumbs-down icon */
.mc-stat-vote--down::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17'/%3E%3C/svg%3E") center/contain no-repeat;
}

.mc-stat-vote:hover { color: #0B1220; }
.mc-stat-vote--selected { color: #0B1220; }

/* Hide the default vote label, we show count via JS */
.mc-stat-label { display: none; }

/* ── Right rail ───────────────────────────────────────────── */
.mc-article-rail {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media (max-width: 1023px) {
    .mc-article-rail { display: none; }
}

.mc-rail-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E6E8EE;
}

.mc-rail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Rail section label — overrides legacy .toc-header card style */
.mc-rail-heading {
    background: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    padding: 0 0 10px !important;
    margin: 0 !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #8A94A6 !important;
}

/* TOC list in rail — left border with blue active indicator */
.mc-article-rail .article-table-of-contents {
    background: none;
    border-left: 1px solid #E6E8EE;
    border-radius: 0;
    padding: 0 0 0 14px;
    margin: 0;
    list-style: none;
    position: relative;
}

.mc-article-rail .article-table-of-contents li {
    display: block;
    margin: 0 0 4px;
    line-height: 1.4;
    position: relative;
}

.mc-article-rail .article-table-of-contents a,
.mc-article-rail .article-table-of-contents a:visited {
    font-size: 12.5px;
    color: #5B6578;
    text-decoration: none;
    display: block;
    padding: 3px 0;
    transition: color 0.12s;
}

.mc-article-rail .article-table-of-contents a:hover { color: #1F73B7; }

/* Active TOC item — blue left bar */
.mc-article-rail .article-table-of-contents li.active a,
.mc-article-rail .article-table-of-contents a.active {
    color: #1F73B7;
    font-weight: 600;
}

.mc-article-rail .article-table-of-contents li.active::before,
.mc-article-rail .article-table-of-contents a.active::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 2px;
    bottom: 2px;
    width: 2px;
    background: #1F73B7;
    border-radius: 1px;
}

/* In-this-section article list */
.mc-rail-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mc-rail-articles li { margin-bottom: 2px; }

.mc-rail-article,
.mc-rail-article:visited {
    display: block;
    font-size: 13px;
    color: #2A3447;
    text-decoration: none;
    padding: 4px 0;
    line-height: 1.4;
    transition: color 0.12s;
}

.mc-rail-article:hover {
    color: #1F73B7;
    text-decoration: none;
}

/* Hide the current article from the rail list */
.mc-rail-articles li:has(.mc-rail-article--current) { display: none; }

.mc-rail-see-more,
.mc-rail-see-more:visited {
    color: #8A94A6 !important;
    font-style: italic;
}

/* ── Comments (inside article column) ─────────────────────── */
.mc-article-comments {
    margin-top: 24px;
}

.mc-comments-header {
    padding-top: 24px;
}

.mc-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mc-comments-heading {
    font-size: 16px;
    font-weight: 600;
    color: #0B1220;
    margin: 0;
}

.mc-comment-name {
    font-weight: 600;
    color: #0B1220;
    display: block;
}

.mc-comment-time {
    font-size: 12px;
    color: #8A94A6;
    margin-top: 2px;
}

/* ── Comment vote buttons ─────────────────────────────────── */
.mc-comment-votes {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.mc-comment-vote-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mc-comment-vote {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: #8A94A6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.12s;
}

.mc-comment-vote:hover { color: #2A3447; }
.mc-comment-vote--selected { color: #0B1220; }

.mc-comment-vote-count {
    font-size: 13px;
    color: #5B6578;
    font-weight: 500;
    min-width: 12px;
}

/* ── Comment callout (sign-in prompt) ─────────────────────── */
.mc-comment-callout-title {
    font-size: 16px;
    font-weight: 600;
    color: #0B1220;
    margin: 0 0 14px;
}

/* Comment form — grey rounded box */
.mc-article-comments .comment-form {
    background: #F4F6F8;
    border-radius: 10px;
    padding: 20px;
    margin: 1rem 0;
    display: block;
}

.mc-comment-form-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Callout box — same grey rounded style as the comment form */
.mc-comment-callout-box {
    background: #F4F6F8;
    border-radius: 10px;
    padding: 20px;
    margin: 1rem 0;
}

/* Hide callout box when comment form is present (logged-in user) */
.comment-form + .mc-comment-callout-box { display: none; }

.mc-article-comments .comment-callout {
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    font-size: 13px;
    color: #5B6578;
}

/* ── "More questions" footer line ─────────────────────────── */
.article-more-questions {
    font-size: 13px;
    color: #5B6578;
    padding: 16px 0;
    margin-top: 0;
    text-align: left;
    border-top: 1px solid #E6E8EE;
    border-bottom: 1px solid #E6E8EE;
}

.mc-more-questions-icon {
    vertical-align: -3px;
    margin-right: 5px;
}

.article-more-questions a { color: #2DAB6D; }
.article-more-questions a:hover { text-decoration: underline; }

/* ── Related / Recently viewed article links — match article body ──────── */
.article-relatives a { color: #1F73B7; text-decoration: underline; }
.article-relatives a:visited { color: #9358B0; }
.article-relatives a:hover,
.article-relatives a:active,
.article-relatives a:focus { color: #0F3554; }

/* ── Border collapse: prevent doubled 1px borders on stacked elements ──── */
/* When a bordered element immediately follows another, remove the top border */
.comment-callout + .article-more-questions { border-top: none; }
.comment + .comment { border-top: none; }
.comment-overview + .comment-list .comment:first-child { border-top: none; }
.mc-comments-header + .comment-list .comment:first-child { border-top: none; }
.comment:last-child + .comment-form { border-top: none; }
.mc-article-stats__bar + .mc-article-comments { border-top: none; }
.section-list-item + .section-list-item { border-top: none; }
.article-sidebar + .article-relatives { border-top: none; }
.article-relatives + .article-relatives { border-top: none; }
.mc-article-comments + .article-relatives { border-top: none; }
.mc-article-page .article-relatives { border-top: none; }
.collapsible-nav-border + .collapsible-nav-border { border-top: none; }
.mc-rail-section + .mc-rail-section { border-top: none; }
.request-sidebar + .request-sidebar { border-top: none; }

/* ── Community: Popular posts section ─────────────────────── */
.mc-community-featured {
    padding: 40px 0 16px;
}

.mc-featured-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mc-featured-post {
    border-top: 1px solid #E6E8EE;
}

.mc-featured-post:last-child {
    border-bottom: 1px solid #E6E8EE;
}

.mc-featured-post__link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 4px;
    text-decoration: none;
    transition: background 0.15s;
}

.mc-featured-post__link:hover {
    background: #F4F6F8;
    text-decoration: none;
}

.mc-featured-post__title {
    font-size: 15px;
    font-weight: 600;
    color: #0B1220;
    line-height: 1.4;
}

.mc-featured-post__link:hover .mc-featured-post__title {
    color: #2DAB6D;
}

.mc-featured-post__meta {
    font-size: 12px;
    color: #8A94A6;
}

/* ══════════════════════════════════════════════════════════════
   Error page
   ══════════════════════════════════════════════════════════════ */
.mc-error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.mc-error__inner {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.mc-error__illustration {
    margin-bottom: 32px;
}

.mc-error__title {
    font-size: 28px;
    font-weight: 800;
    color: #0B1220;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.mc-error__desc {
    font-size: 15px;
    color: #5B6578;
    line-height: 1.6;
    margin: 0 0 28px;
}

.mc-error__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mc-error__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.mc-error__btn--primary,
.mc-error__btn--primary:visited {
    background: #2DAB6D;
    color: #fff;
}

.mc-error__btn--primary:hover {
    background: #1E8A52;
    color: #fff;
    text-decoration: none;
}

.mc-error__btn--outline,
.mc-error__btn--outline:visited {
    background: #fff;
    color: #0B1220;
    border: 1px solid #E6E8EE;
}

.mc-error__btn--outline:hover {
    border-color: #CBD0D8;
    text-decoration: none;
}
