/**********
 Variables
 **********/
body {
  /* Colors */
  --primary-color: rgba(101, 87, 210, 1);
  --secondary-color: rgba(37, 37, 37, 1);
  --primary-bg-color: #FFFFFF;
  --primary-bg-color-always: #FFFFFF;
  --secondary-bg-color: rgba(250, 250, 250, 1);
  --secondary-bg-color-always: rgba(250, 250, 250, 1);
  --primary-text-color: rgba(37, 37, 37, 1);
  --secondary-text-color: rgba(117, 117, 117, 1);
  --link-color: rgba(101, 87, 210, 1);
  --border-color: rgba(228, 228, 228, 1);
  --placeholder-text-color: rgba(37, 37, 37, 1);
  --info-color: rgba(37, 37, 37, 1);
  --success-color: rgba(0, 168, 60, 1);
  --warning-color: #F1D52F;
  --danger-color: rgba(176, 0, 32, 1);
  --primary-color-hover: #4132ba;
  --primary-color-active: #3d2fae;
  --secondary-color-hover: #060606;
  --secondary-color-active: #000;
  --secondary-bg-color-hover: #f0f0f0;
  --secondary-bg-color-active: #ebebeb;
  --secondary-text-color-hover: #6b6b6b;
  --secondary-text-color-active: #666;
  --link-color-hover: #4132ba;
  --link-color-active: #3d2fae;

  /* Text */
  --text-font-family: 'Nunito', sans-serif;
  --heading-font-family: 'Nunito', sans-serif;
  --text-font-size: 16px;
  --text-font-size-large: calc(16px + 2px);
  --text-font-size-small: calc(16px - 2px);
  --heading-1-font-size: 48px;
  --heading-2-font-size: 32px;
  --heading-3-font-size: 24px;
  --heading-4-font-size: 20px;
  --heading-5-font-size: 16px;
  --heading-6-font-size: calc(16px - 2px);

  /* Other */
  --border-radius-base: 4px;
  --border-radius-small: calc(4px / 2);
  --border-radius-button: 2px;
  --logo-height: ;

  /* Theme settings */
  --white-color: #fff;
  --border-width: 1px;
  --minus-border-width: -1px;
  --box-shadow: 0px 0px 15px rgba(233, 235, 243, .8);
  --duration: 400ms;
  --timing-function: cubic-bezier(.17, .67, .54, 1);
  --assets-check-svg: url(/hc/theming_assets/01KQ9AVYE7CW339C72ZE1EKR9B);
}

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

body,
html {
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--text-font-family);
  font-size: var(--text-font-size);
  font-weight: 400;
  line-height: 1.5;
  color: var(--primary-text-color);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  background-color: var(--primary-bg-color);
}


input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

input[type=text]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

input[type=text]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

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

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-color-hover);
}

a:active,
a.is-active {
  color: var(--link-color-active);
}

a.link-primary,
.my-activities-menu__item a {
  color: var(--primary-color);
}

a.link-primary:hover,
.my-activities-menu__item a:hover {
  color: var(--primary-color-hover);
}

a.link-primary:active,
a.link-primary.is-active,
.my-activities-menu__item a:active {
  color: var(--primary-color-active);
}

a.link-secondary {
  color: var(--secondary-color);
}

a.link-secondary:hover {
  color: var(--secondary-color-hover);
}

a.link-secondary:active,
a.link-secondary.is-active {
  color: var(--secondary-color-active);
}

a.is-disabled {
  cursor: default;
}

a.is-disabled,
a.is-disabled:hover,
a.is-disabled:active,
a.is-disabled.is-active {
  color: var(--secondary-text-color);
}

a,
button,
[type=submit],
[type=button],
[type=reset] {
  cursor: pointer;
}

a,
input,
button,
select,
textarea,
label {
  transition: all 400ms cubic-bezier(0.17, 0.67, 0.54, 1);
}

a:focus,
input:focus,
button:focus,
select:focus,
textarea:focus,
label:focus {
  outline: none;
}

a.focus-visible,
input.focus-visible,
button.focus-visible,
select.focus-visible,
textarea.focus-visible,
label.focus-visible {
  outline: auto 5px -webkit-focus-ring-color;
}

figure {
  margin: 0;
}

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

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

.iframe {
  position: relative;
}

.iframe iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.table-container {
  width: 100%;
  overflow-y: auto;
}

.list-unstyled {
  display: block;
  margin: 24px 0;
  padding: 0;
}

.list-unstyled li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.is-hidden,
[hidden] {
  display: none !important;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .is-hidden--xl {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .is-hidden--lg {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .is-hidden--md {
    display: none !important;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .is-hidden--sm {
    display: none !important;
  }
}

@media (max-width: 1399px) {
  .is-hidden--xl-down {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  .is-hidden--lg-down {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .is-hidden--md-down {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .is-hidden--sm-down {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .is-hidden--xs,
  .is-hidden--xs-down {
    display: none !important;
  }
}

@media (min-width: 1400px) {
  .is-hidden--xxl,
  .is-hidden--xxl-up {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .is-hidden--xl-up {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .is-hidden--lg-up {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .is-hidden--md-up {
    display: none !important;
  }
}

@media (min-width: 576px) {
  .is-hidden--sm-up {
    display: none !important;
  }
}

[dir=ltr] .is-hidden--ltr {
  display: none !important;
}

[dir=rtl] .is-hidden--rtl {
  display: none !important;
}

.ui-light .is-hidden--light-mode {
  display: none !important;
}

.ui-dark .is-hidden--dark-mode {
  display: none !important;
}

/********
 Headings
 ********/
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-family: var(--heading-font-family);
  font-weight: 700;
}

h1, .h1 {
  font-size: var(--heading-2-font-size);
  line-height: 1.2;
}

h2, .h2 {
  font-size: var(--heading-3-font-size);
  line-height: 1.3;
}

h3, .h3,
h4, .h4 {
  font-size: var(--heading-4-font-size);
  line-height: 1.4;
}

h5, .h5 {
  font-size: var(--heading-5-font-size);
}

h6, .h6 {
  font-size: var(--heading-5-font-size);
}

@media (min-width: 992px) {
  h1, .h1 {
    font-size: var(--heading-1-font-size);
    line-height: 1.1;
  }

  h2, .h2 {
    font-size: var(--heading-2-font-size);
    line-height: 1.2;
  }

  h3, .h3 {
    font-size: var(--heading-3-font-size);
    line-height: 1.3;
  }
}

h1,
.h1 {
  margin: 0 0 1.2em;
}

.markdown h1,
.markdown .h1 {
  margin-top: 1.2em;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding: 0;
}

.breadcrumbs--bottom {
  margin: 12px 0 0;
}

.breadcrumbs li {
  font-size: var(--text-font-size-small);
  margin-right: 24px;
  display: block;
  position: relative;
}

.breadcrumbs li + li {
  padding-left: 28px;
}

.breadcrumbs li + li::before {
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-size: 10px;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  color: var(--secondary-text-color);
}

@media (max-width: 575px) {
  .breadcrumbs li {
    margin-right: 12px;
  }

  .breadcrumbs li + li {
    padding-left: 16px;
  }
}

/* Inner pages */
.inner-page-heading .section__title {
  margin-bottom: 12px;
}

.section__description {
  color: var(--secondary-text-color);
}

.inner-page-heading--center {
  text-align: center;
}

.inner-page {
  background-color: var(--primary-bg-color);
  padding-top: 48px;
  padding-bottom: 48px;
}

.inner-page .category-list__item {
  background-color: var(--secondary-bg-color);
}

.inner-page .category-list__item:hover,
.inner-page .category-list__item:active {
  box-shadow: none;
}

.inner-page__sections {
  margin-bottom: 10px;
}

.inner-page__sections .col-12 {
  margin-bottom: 30px;
}

.entry-info {
  display: flex;
  font-size: 14px;
}

.entry-info__avatar {
  flex-shrink: 0;
}

[dir=ltr] .entry-info__avatar {
  padding-right: 12px;
}

[dir=rtl] .entry-info__avatar {
  padding-left: 12px;
}

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

.user-avatar {
  border-radius: 100%;
}

.user-avatar--profile {
  margin-bottom: 12px;
}

.user-avatar--default {
  width: 40px;
  height: 40px;
}

.meta {
  font-size: var(--text-font-size-small);
  color: var(--secondary-text-color);
}

.inner-page__rightbar + .inner-page__rightbar {
  margin-top: 24px;
  padding-top: 24px;
  border-top: var(--border-width) solid var(--border-color);
}

.inner-page__rightbar h3,
.recent-articles-title,
.related-articles-title,
.recent-articles h3 {
  margin: 0 0 24px;
  font-size: var(--heading-3-font-size);
}

.related-articles ul,
.recent-articles ul {
  margin: 0;
  padding: 0;
  display: block;
}

.related-articles ul li,
.recent-articles ul li {
  display: block;
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.share {
  display: flex;
  margin: 24px 0;
  padding: 0;
}

.share li {
  display: block;
  margin: 0 12px 0 0;
  padding: 0;
  list-style: none;
}

.attachments {
  margin: 24px 0;
}

.attachment-list {
  display: block;
  margin: 24px 0;
  padding: 0;
}

.attachment-list__item {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.attachment-list__item + .attachment-list__item {
  margin-top: 8px;
}

.attachment-list__item i {
  color: var(--primary-color);
}

.article-vote {
  margin: 40px 0;
  border-top: var(--border-width) solid var(--border-color);
  padding-top: 24px;
  text-align: center;
}

.article-vote__title {
  margin: 0 0 24px;
}

.article-vote__count {
  margin-top: 12px;
}

.article-more-questions {
  display: none !important;
}

/* Comments */
.comments__heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.comments__title {
  margin: 0;
}

.comments__container {
  background-color: var(--primary-bg-color);
  padding: 40px;
}

.comment-form__body textarea {
  height: 112px;
}

.comment-form__attachments,
.comment-form__controls {
  margin-top: 8px;
}

.comment-form__ccs ul {
  display: block;
  margin: 0 0 8px;
}

.comment-form__mark-as-solved {
  display: flex;
  margin-bottom: 8px;
}

.comment-form__mark-as-solved label {
  margin-left: 8px;
}

.comments__list {
  padding: 0 40px 16px;
  margin: 0 -40px 40px;
  border-bottom: var(--border-width) solid var(--border-color);
}

.comments__list--content {
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
}

.comment {
  display: flex;
  margin-bottom: 24px;
}

.comment__left {
  flex: 1 1 10px;
}

.comment__sidebar {
  width: 30px;
  margin-left: 12px;
  text-align: center;
}

.comment + .comment {
  padding-top: 24px;
  border-top: var(--border-width) solid var(--border-color);
}

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

.user-avatar {
  margin-right: 12px;
}

.comment__body {
  margin-top: 12px;
}

.comment__body .h5 {
  font-size: 18px;
}

.comment__actions {
  margin-top: 4px;
}

.request-details {
  display: flex;
  flex-wrap: wrap;
}

.request-details dt {
  flex: 0 0 50%;
  max-width: 50%;
  margin: 0;
  font-weight: bold;
}

.request-details dd {
  flex: 0 0 50%;
  max-width: 50%;
  margin: 0;
  color: var(--secondary-text-color);
}

.request-status {
  padding: 2px 8px;
  border: var(--border-radius-button);
  background-color: var(--secondary-bg-color);
  font-size: var(--text-font-size-small);
}

.request-status--open,
.request-status--new {
  background-color: var(--danger-color);
  color: var(--white-color);
}

.request-status--answered {
  background-color: var(--warning-color);
  color: var(--white-color);
}

.request-status--solved,
.request-status--closed {
  background-color: var(--success-color);
  color: var(--white-color);
}

/**/
.my-activities-menu {
  display: flex;
  padding: 0;
  font-weight: bold;
  margin-top: 32px;
  margin-bottom: -32px;
}

.my-activities-menu__item {
  display: block;
  margin: 0 32px 0 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 480px) {
  .my-activities-menu__item {
    margin: 0 12px 0 0;
  }
}

.my-activities-menu__item.is-active {
  padding: 0 0 12px;
  border-bottom: 3px solid var(--primary-color);
}

.my-activities {
  width: 100%;
}

.my-activities thead {
  font-weight: bold;
}

.my-activities thead td {
  padding-bottom: 12px;
}

.my-activities tbody td {
  padding: 4px 0;
}

.my-activities__btn {
  width: 10px;
}

.pagination {
  display: block;
  margin: 24px 0;
}

.pagination-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.pagination-list li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination-list li + li {
  margin-left: 4px;
}

@media (max-width: 767px) {
  .my-activities__is-hidden {
    display: none !important;
  }
}

.my-activities thead .requests-link,
.my-activities thead .requests-link:hover,
.my-activities thead .requests-link:active {
  color: var(--primary-text-color);
}

.my-activities thead .requests-sort-symbol {
  font-size: 10px;
  color: var(--link-color);
  margin-left: 4px;
}

#search-filter {
  margin-bottom: 40px;
}

.filter {
  margin: 0;
}

@media (min-width: 768px) {
  .filter {
    display: block !important;
    height: auto !important;
  }
}

@media (max-width: 767px) {
  #search-filter h3::after {
    font-family: "Font Awesome 5 Free";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-weight: 900;
    content: "\f107";
    color: var(--secondary-text-color);
    margin-left: 8px;
  }
}


.filter li {
  padding: 4px 0;
}

.filter__btn {
  margin-top: 24px;
}

.topic-list__item + .topic-list__item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: var(--border-width) solid var(--border-color);
}

.topic-list__heading {
  margin-top: 0;
}

.topic-list + .pagination {
  margin-top: 40px;
}

.topic-controls {
  margin-bottom: 40px;
}

.vote-sum {
  margin: 0 12px;
}

/* Profile */
.profile-stats:first-child {
  margin-top: 0;
}

.profile-stats__stat {
  display: flex !important;
}

.profile-stats__label {
  display: block;
  flex: 0 0 50%;
  max-width: 50%;
  color: var(--secondary-text-color);
  font-size: var(--text-font-size-small);
}

.profile-stats__label::after {
  content: ':';
}

.profile-stats__value {
  display: block;
  flex: 0 0 50%;
  max-width: 50%;
  font-weight: bold;
  font-size: var(--text-font-size-small);
}

.community-badges-block {
  padding-bottom: 24px;
}

.community-badges {
  display: flex;
  flex-wrap: wrap;
}

.community-badges img {
  width: 40px;
  height: 40px;
  margin-right: 4px;
}

.community-badge-titles {
  display: inline-block;
  font-family: var(--text-font-family);
  font-size: var(--text-font-size-small);
  font-weight: normal;
  background-color: var(--secondary-color);
  padding: 2px 4px;
  border-radius: var(--border-radius-button);
  color: var(--white-color);
  line-height: 1;
  vertical-align: middle;
}

.profile-heading {
  margin-bottom: 40px;
}

.profile-heading h2 {
  margin: 0 0 12px;
}

.profile-user-meta > span {
  display: block;
  font-weight: bold;
  color: var(--primary-text-color);
}

.profile-badges-item-image {
  display: block;
  margin-right: 12px;
}

.profile-badges-item-image img {
  width: 40px;
  height: 40px;
  display: block;
}

.profile-badges-item-image.titles {
  border-radius: 50%;
  background-color: var(--secondary-text-color);
}

.profile-badges-item-metadata {
  margin-top: 12px;
}

/* Header */
.header {
  box-shadow: var(--box-shadow);
  position: fixed;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: var(--primary-bg-color);
}

.header-placeholder {
  height: 60px;
}

.header__container {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.header__logo img {
  height: var(--logo-height);
}

.header__logo span {
  margin-left: 12px;
}

.header__menu {
  display: flex;
  margin: 0;
  padding: 0;
}

.header__menu > * {
  display: block;
}

.header__menu > * + * {
  margin-left: 22px;
}

.header__menu .fas {
  font-size: 11px;
}

.header__mobile-toggle.is-active i::before {
  content: "\f00d";
}

@media (min-width: 768px) and (max-width: 991px) {
  .header__menu,
  .header__logo span {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .header__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--primary-bg-color);
    border-bottom: var(--border-width) solid var(--border-color);
  }

  .header__menu.is-active {
    display: block;
  }

  .header__menu > * {
    display: block;
    width: 100%;
    padding: 6px 15px;
  }

  .header__menu > * + * {
    margin-left: 0;
  }
}

.header__search .fas {
  font-size: 14px;
}

.header-search {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: var(--primary-bg-color);
  transition: all var(--duration) var(--timing-function);
  transform: translateY(-100%);
  visibility: hidden;
}

.header-search.is-active {
  transform: translateY(0);
  visibility: visible;
}

.header-search .welcome__search input[type=search] {
  border: none;
  border-radius: 0;
  height: 60px;
  padding-left: 0;
}

/* Welcome */
.welcome {
  padding: 30px 0;
}

.welcome--with-border {
  border-bottom: var(--border-width) solid var(--border-color);
}

.welcome__title {
  margin-bottom: 37px;
}

.welcome__search {
  display: block;
  position: relative;
}

.welcome__search .meta {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
}

.welcome__search input[type=search] {
  height: 50px;
  outline: none;
  border-color: var(--primary-color);
}

.welcome__search input[type=search]:focus,
.welcome__search input[type=search]:active {
  outline: none;
}

.welcome__search input[type=submit] {
  width: 50px;
  height: 50px;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.welcome__search input[type=submit],
.welcome__search input[type=submit]:hover,
.welcome__search input[type=submit]:focus,
.welcome__search input[type=submit]:active {
  background-color: transparent;
  color: transparent;
  border-color: transparent;
}

.welcome__search::after {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f002";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--primary-color);
}

@media (max-width: 767px) {
  .welcome {
    padding: 48px 0;
  }

  .welcome__title {
    margin-bottom: 24px;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .welcome {
    padding: 30px 0;
  }

  .welcome__title {
    margin-bottom: 12px;
    font-size: var(--heading-4-font-size);
  }
}

/* Helpers */
.helpers {
  margin-bottom: 62px;
}

@media (max-width: 575px) {
  .helpers {
    margin-bottom: 32px;
  }
}

.helpers__item {
  display: block;
  width: 100%;
  border-radius: var(--border-radius-base);
  box-shadow: var(--box-shadow);
  background-color: var(--primary-bg-color);
  padding: 36px 12px 24px 150px;
  position: relative;
  height: 100%;
  min-height: 150px;
  border: var(--border-width) solid var(--primary-bg-color);
}

.helpers__item:hover,
.helpers__item:focus,
.helpers__item:active {
  border-color: var(--primary-color);
}

.helpers__icon {
  display: block;
  position: absolute;
  width: 110px;
  height: 110px;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.helpers__icon img {
  max-width: 110px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.helpers__title {
  display: block;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-text-color);
}

.helpers__description {
  color: var(--secondary-text-color);
  line-height: 1;
}

@media (max-width: 991px) {
  .helpers .col {
    margin-top: 15px;
  }
}

/* Category list */
.category-list {
  background-color: var(--secondary-bg-color);
  padding: 36px 0 12px;
}

.category-list .col-12 {
  margin-bottom: 24px;
}

.category-list__item {
  display: block;
  width: 100%;
  border-radius: var(--border-radius-button);
  background-color: var(--primary-bg-color);
  height: 100%;
  padding: 24px;
  transition: background-color var(--duration) var(--timing-function);
}

.category-list__item:hover,
.category-list__item:focus,
.category-list__item:active {
  background-color: var(--secondary-color);
}

.category-list__title {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-text-color);
  transition: color var(--duration) var(--timing-function);
}

.category-list__description {
  color: var(--secondary-text-color);
  transition: color var(--duration) var(--timing-function);
}

.category-list__item:hover .category-list__title,
.category-list__item:focus .category-list__title,
.category-list__item:active .category-list__title,
.category-list__item:hover .category-list__description,
.category-list__item:focus .category-list__description,
.category-list__item:active .category-list__description {
  color: var(--white-color);
}

@media (max-width: 575px) {
  .category-list {
    padding: 36px 0 21px;
  }

  .category-list .col-12 {
    margin-bottom: 15px;
  }

  .category-list__title {
    font-size: 18px;
    margin-bottom: 6px;
  }
}

/* Promoted articles */
.promoted {
  padding: 72px 0;
}

.promoted__title {
  margin: 0 0 33px;
}

.promoted__link {
  display: block;
  width: 100%;
  background-color: var(--secondary-bg-color);
  padding: 13px 24px;
  border-radius: var(--border-radius-base);
}

.promoted__link + .promoted__link {
  margin-top: 6px;
}

.promoted__link span {
  display: block;
}

/* CTA */
.cta {
  padding: 72px 0;
  border-top: var(--border-width) solid var(--border-color);
  text-align: center;
}

.cta__title {
  margin: 0 0 12px;
}

.cta__subtitle {
  display: block;
  font-size: 20px;
  color: var(--secondary-text-color);
  margin-bottom: 32px;
}

.cta__link {
  text-decoration: underline;
}

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

@media (max-width: 575px) {
  .cta {
    padding: 48px 0;
  }

  .cta__subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }
}

/* Footer */
.footer {
  padding-bottom: 18px;
}

.footer--single {
  padding: 18px 0;
  border-top: var(--border-width) solid var(--border-color);
}

.soc {
  font-size: 18px;
}

.soc a + a {
  margin-left: 12px;
}

/* Section */
.section {
  padding: 72px 0;
}

@media (max-width: 767px) {
  .section {
    padding: 42px 0;
  }
}

.inner-page-heading {
  padding: 32px 0;
  background-color: var(--secondary-bg-color);
}

/* Category tree */
.category-tree__section {
  margin-bottom: 42px;
}

.category-tree__section-name {
  display: block;
  margin-bottom: 12px;
  color: var(--primary-text-color);
}

.category-tree__subsections,
.category-tree__articles {
  display: block;
  margin-bottom: 12px;
}

.category-tree__subsection {
  display: block;
  background-color: var(--secondary-bg-color);
  border-radius: var(--border-radius-small);
  padding: 4px 12px;
}

.category-tree__subsection + .category-tree__subsection {
  margin-top: 4px;
}

.category-tree__article {
  display: block;
}

.category-tree__article + .category-tree__article {
  margin-top: 4px;
}

.comments {
  background-color: var(--secondary-bg-color);
}

.comments__container {
  border-radius: var(--border-radius-base);
}

.markdown {
  width: 100%;
  overflow: hidden;
}

.markdown pre {
  display: block;
  width: 100%;
  border-radius: var(--border-radius-base);
  background-color: var(--secondary-bg-color);
  font-size: 14px;
  padding: 12px;
  overflow-x: auto;
}

[dir] zd-autocomplete-title-multibrand,
[dir] zd-autocomplete-header {
  font-family: var(--heading-font-family);
  font-size: var(--text-font-size);
  line-height: 1.5;
  color: var(--link-color);
  margin-bottom: 8px;
}

[dir] zd-autocomplete-multibrand,
[dir] zd-autocomplete-option {
  font-family: var(--text-font-family);
  line-height: 1.5;
  font-size: var(--heading-6-font-size);
  color: var(--link-color);
  border-color: var(--border-color);
  transition: all var(--duration) var(--timing-function);
}

[dir] zd-autocomplete-multibrand:last-child,
[dir] zd-autocomplete-option:last-child {
  border-radius: 0;
}

[dir] zd-autocomplete-multibrand:hover,
[dir] zd-autocomplete-multibrand[aria-selected="true"],
[dir] zd-autocomplete-option:hover,
[dir] zd-autocomplete-option[aria-selected="true"] {
  background-color: var(--secondary-bg-color);
}

[dir] zd-autocomplete-multibrand:last-child,
[dir] zd-autocomplete-option:last-child {
  border-bottom: none !important;
}

[dir] zd-autocomplete-breadcrumbs-multibrand {
  color: var(--secondary-text-color) !important;
}

.my-activities__filter {
  display: flex;
  align-items: flex-end;
  margin-top: 12px;
  margin-bottom: 32px;
}

.my-activities__filter > * + * {
  margin-left: 8px;
}

.my-activities__filter label[for] {
  margin-bottom: 4px;
}

.my-activities__search {
  width: 50%;
  position: relative;
}

.my-activities__search input[type="search"] {
  padding-left: 42px;
}

.my-activities__search::before{
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  font-size: 14px;
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  content: "\f002";
  left: 15px;
  color: var(--secondary-text-color);
}

@media (max-width: 575px) {
  .my-activities__filter {
    flex-direction: column;
  }

  .my-activities__filter > * {
    width: 100%;
  }

  .my-activities__filter > * + * {
    margin-left: 0;
    margin-top: 8px;
  }
}

.markdown > * {
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

/* Content Newsletter form embedded from HubSpot */
.hsfc-Step .hsfc-Step__Content {
  padding: 0px !important;
}

/* =====================================================================
   TRANSITION RELEASE: New to GeoGebra bar, community card, site footer
   ===================================================================== */

/* ---------- "New to GeoGebra" bar ---------- */

.newtogg {
  margin: 24px 0 40px;
  display: block;
}

.newtogg .container {
  display: block;
}

.newtogg__bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  background-color: #F1EFFB;
  background-image: none;
  color: #38337A;
  border: 1px solid #E3E0F5;
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: none;
  box-sizing: border-box;
}

.newtogg__icon {
  width: 34px;
  height: 34px;
  background: #ffffff;
  border-radius: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  font-size: 16px;
  color: #38337A;
}

.newtogg__icon img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
  object-fit: contain;
}

.newtogg__text {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 220px;
  flex: 1 1 220px;
  min-width: 0;
}

.newtogg__title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: #1C1C1F;
}

.newtogg__desc {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  color: #1C1C1F;
  opacity: 1;
  margin-top: 1px;
}

.newtogg__ctas {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  width: 100%;
  margin-top: 2px;
  padding-left: 48px;
}

.newtogg__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
  background: #6557d2;
  color: #ffffff !important;
  padding: 9px 18px;
  border: 1.5px solid #6557d2;
  border-radius: 22px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-transition: transform 150ms ease;
  transition: transform 150ms ease;
}

.newtogg__cta:hover,
.newtogg__cta:focus,
.newtogg__cta:active {
  -webkit-transform: translateX(2px);
  transform: translateX(2px);
  text-decoration: none !important;
}

.newtogg__cta:hover,
.newtogg__cta:focus { background: #4c3ec0; border-color: #4c3ec0; }

.newtogg__cta .fas {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.newtogg__cta--ghost {
  background: #F1EFFB;
  color: #6557d2 !important;
  border: 1.5px solid #6557d2;
  padding: 9px 18px;
}

.newtogg__cta--ghost:hover,
.newtogg__cta--ghost:focus { background: #F1EFFB; border-color: #6557d2; }

@media (max-width: 575px) {
  .newtogg__bar {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  .newtogg__icon {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
  .newtogg__text {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
  }
  .newtogg__ctas {
    padding-left: 0;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    width: 100%;
  }
  .newtogg__cta {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
  }
}

/* ---------- Browse by topic ---------- */

.topics {
  margin-bottom: 40px;
}

.topics__heading {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--primary-text-color);
}

.topics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 576px) {
  .topics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .topics__grid--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topics__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: var(--border-width) solid #e3e0ee;
  border-radius: 8px;
  background: var(--primary-bg-color);
  height: 100%;
  text-decoration: none !important;
  -webkit-transition: border-color var(--duration) var(--timing-function);
  transition: border-color var(--duration) var(--timing-function);
}

.topics__card:hover,
.topics__card:focus,
.topics__card:active {
  border-color: var(--primary-color);
}

.topics__icon {
  width: 36px;
  height: 36px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: block;
}

.topics__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.topics__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-text-color);
}

.topics__description {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--secondary-text-color);
}


/* ---------- Ask the community card (helper 3 slot) ---------- */

.helpers__item--external .helpers__title .fas {
  font-size: 0.6em;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Site footer ---------- */

.footer__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 24px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding-bottom: 16px;
}

.footer__logo {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.footer__logo img {
  height: 20px;
  width: auto;
  display: block;
}

.footer__links {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 6px;
}

.footer__col a {
  font-size: 14px;
  color: #191919;
  text-decoration: none;
}

.footer__col a:hover {
  text-decoration: underline;
}

.footer__bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #dcdcdc;
  padding-top: 14px;
}

.footer__copyright {
  font-size: 13px;
}

.footer .soc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  line-height: 1;
}

.footer .soc a {
  color: #6557d2;
  display: block;
  line-height: 1;
}

.footer .soc__x {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

@media (max-width: 767px) {
  .footer__logo,
  .footer__links {
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    max-width: 100%;
  }
  .footer__links {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Search focus dimming */
.search-dim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: rgba(38, 38, 56, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--timing-function), visibility var(--duration) var(--timing-function);
}

body.is-search-focused .search-dim {
  opacity: 1;
  visibility: visible;
}

body.is-search-focused .welcome__search {
  position: relative;
  z-index: 101;
}

body.is-search-focused.is-search-focused--header .header {
  z-index: 101;
}

/* Article sidebar — articles in this section */
.section-nav {
  display: block;
}

.section-nav__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 20px;
  font-family: var(--heading-font-family);
  font-size: var(--heading-4-font-size);
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-text-color);
  list-style: none;
  cursor: default;
}

.section-nav__title::-webkit-details-marker {
  display: none;
}

.section-nav__title::after {
  content: "\f107";
  display: none;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  color: var(--primary-color);
  transition: transform .2s ease;
}

.section-nav__list {
  display: block;
  margin: 0;
  padding: 0 12px 0 0;
  max-height: 520px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.section-nav__list::-webkit-scrollbar {
  width: 6px;
}

.section-nav__list::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: var(--border-color);
}

.section-nav__item {
  position: relative;
  display: block;
  margin: 0;
  padding: 7px 0 7px 20px;
  list-style: none;
  line-height: 1.45;
}

.section-nav__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

[dir=rtl] .section-nav__item {
  padding: 7px 20px 7px 0;
}

[dir=rtl] .section-nav__item::before {
  left: auto;
  right: 0;
}

.section-nav__item.is-current > a {
  font-weight: 700;
  color: var(--primary-text-color);
}

@media (min-width: 768px) {
  .inner-page__sidebar {
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }
}

@media (max-width: 767px) {
  .inner-page__sidebar {
    margin-top: 32px;
  }

  .inner-page__sidebar .inner-page__rightbar {
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--border-radius-base);
    padding: 4px 20px;
  }

  .section-nav__title {
    margin: 0;
    padding: 14px 0;
    min-height: 44px;
    cursor: pointer;
  }

  .section-nav__title::after {
    display: block;
  }

  .section-nav[open] .section-nav__title {
    border-bottom: var(--border-width) solid var(--border-color);
  }

  .section-nav[open] .section-nav__title::after {
    transform: rotate(180deg);
  }

  .section-nav__list {
    padding: 8px 0 16px;
    max-height: none;
  }
}

.fallback-notice { margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid #6557d2; background: #f3f2fc; }
.fallback-notice.is-flash { animation: fallback-flash 0.8s ease 2; }
@keyframes fallback-flash { 50% { background: #e0dcfa; } }

/* ==============================================================================
   GGB ARTICLE COMPONENTS — opt-in: ggb- classes, or content inside .ggb-article
   Font is inherited from the theme (Text font setting).
   ============================================================================== */

/* --- Base --- */
.ggb-article { color: #2F2F33; font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.ggb-article h2 { margin: 0 0 16px; font-size: 28px; font-weight: 800; color: #38337A; letter-spacing: -0.02em; }
.ggb-article strong { font-weight: 700; color: #1C1C1F; }
.ggb-link { color: #574FB5; font-style: italic; text-decoration: underline; text-decoration-color: #57D9CA; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ggb-link:hover { text-decoration-color: #574FB5; }
.ggb-article .ggb-link strong { color: inherit; }
.ggb-subhead { margin: 0 0 12px; font-size: 17px; font-weight: 800; color: #1C1C1F; }
.ggb-article .ggb-icon { display: inline-block; width: 20px; height: 20px; margin: 0 3px; vertical-align: middle; }
.ggb-cmd { background: #F1EFFB; color: #38337A; border-radius: 5px; padding: 1px 6px; font-family: ui-monospace, monospace; font-size: .92em; }

/* --- Lede: first sentence / value proposition only --- */
.ggb-lede { margin: 0 0 28px; font-size: 26px; line-height: 1.35; font-weight: 800; color: #38337A; border-left: 5px solid #57D9CA; padding-left: 18px; }

/* --- Collapsibles: "In this article" (toc) and content fold --- */
.ggb-toc, .ggb-fold { border: 1px solid #E3E0F5; border-radius: 12px; background: #FAFAFD; }
.ggb-toc { margin: 0 0 32px; }
.ggb-fold { margin: 0 0 28px; }
.ggb-toc > summary, .ggb-fold > summary { list-style: none; cursor: pointer; padding: 14px 20px 14px 44px; position: relative; border-radius: 12px; font-weight: 800; color: #38337A; }
.ggb-toc > summary { font-size: 17px; }
.ggb-fold > summary { font-size: 19px; letter-spacing: -.01em; }
.ggb-toc > summary::-webkit-details-marker, .ggb-fold > summary::-webkit-details-marker { display: none; }
.ggb-toc > summary::before, .ggb-fold > summary::before { content: ""; position: absolute; left: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid #38337A; border-bottom: 2px solid #38337A; transform: rotate(45deg); transition: transform .15s ease; }
.ggb-toc[open] > summary::before, .ggb-fold[open] > summary::before { transform: rotate(-135deg); margin-top: -2px; }
.ggb-toc > summary:focus-visible, .ggb-fold > summary:focus-visible { outline: 2px solid #38337A; outline-offset: 2px; }
.ggb-toc-body { padding: 0 20px 16px 20px; }
.ggb-toc ul { margin: 0; padding: 0; list-style: none; }
.ggb-toc li { position: relative; padding-left: 22px; margin: 8px 0; font-size: 16px; }
.ggb-toc li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: #38337A; }
.ggb-toc ul ul { margin: 6px 0 0; padding-left: 20px; }
.ggb-toc ul ul li::before { background: #C9C2EE; }
.ggb-fold-body { padding: 4px 20px 4px 20px; background: #fff; border-radius: 0 0 12px 12px; }
.ggb-fold-body > p:first-child { margin-top: 0; padding-top: 12px; }

/* --- Indented cross-reference --- */
.ggb-xref { margin: -18px 0 28px 22px; padding-left: 14px; border-left: 3px solid #E3E0F5; font-size: 16px; color: #6E6D73; }

/* --- Question / bullet list (teal dots) --- */
.ggb-questions { margin: 0 0 32px; padding: 0; list-style: none; }
.ggb-questions li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.ggb-questions li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: #57D9CA; }

/* --- Numbered steps (grey, neutral — not a callout) --- */
.ggb-steps { margin: 0 0 44px; padding: 0; list-style: none; counter-reset: ggbstep; }
.ggb-steps li { position: relative; counter-increment: ggbstep; background: #FAFAFD; border: 1px solid #ECEAF6; border-radius: 12px; padding: 11px 18px 11px 58px; margin-bottom: 9px; }
.ggb-steps li::before { content: counter(ggbstep); position: absolute; left: 18px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: #38337A; color: #fff; font-weight: 800; font-size: 14px; line-height: 26px; text-align: center; }
.ggb-steps li p { margin: 0 0 8px; }
.ggb-steps li p:last-child { margin-bottom: 0; }

/* --- Reflection question: step-card shape with a "?" marker --- */
.ggb-question { position: relative; background: #fff; border: 1px solid #E3E0F5; border-radius: 12px; padding: 14px 20px 14px 58px; margin: 0 0 20px; font-size: 16px; }
.ggb-question::before { content: "?"; position: absolute; left: 18px; top: 15px; width: 26px; height: 26px; border-radius: 50%; background: #57D9CA; color: #1C1C1F; font-weight: 800; font-size: 15px; line-height: 26px; text-align: center; }

/* --- Content cards: optional number, optional use-line --- */
.ggb-cards { margin: 0 0 40px; padding: 0; list-style: none; display: grid; gap: 12px; }
.ggb-cards li { background: #FAFAFD; border: 1px solid #ECEAF6; border-radius: 12px; padding: 16px 18px; font-size: 16px; }
.ggb-cards strong { display: flex; align-items: baseline; gap: 10px; margin-bottom: 2px; color: #38337A; font-weight: 800; }
.ggb-card-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #57D9CA; color: #1C1C1F; font-size: 14px; line-height: 26px; text-align: center; }
.ggb-card-use { display: block; margin-top: 6px; color: #6E6D73; font-style: italic; }

/* --- Example: badge heading + steps + applet --- */
.ggb-example { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 36px 0 12px; font-size: 21px; font-weight: 800; color: #38337A; letter-spacing: -.01em; }
.ggb-example-num { flex: none; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1C1C1F; background: #57D9CA; border-radius: 999px; padding: 5px 13px; }

/* --- Applet frame + source credit --- */
.ggb-applet { border: 1px solid #E6E4F0; border-radius: 16px; padding: 10px; background: #fff; box-shadow: 0 6px 24px rgba(129,114,247,.10); margin: 0 0 12px; overflow: hidden; }
.ggb-applet iframe { border: 0; display: block; width: 100%; max-width: 100%; border-radius: 8px; }
.ggb-source { margin: 0 0 40px; font-size: 15px; color: #6E6D73; }

/* --- Video (16:9) --- */
.ggb-video { position: relative; padding-top: 56.25%; border-radius: 16px; overflow: hidden; border: 1px solid #E6E4F0; box-shadow: 0 6px 24px rgba(129,114,247,.10); margin: 0 0 40px; background: #1C1C1F; }
.ggb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Comparison table (sticky first column) --- */
.ggb-table-wrap { margin: 0 0 40px; min-width: 0; overflow-x: auto; border: 1px solid #E6E4F0; border-radius: 16px; background: #fff; }
.ggb-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.ggb-table th, .ggb-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid #F0EEF9; }
.ggb-table thead th { background: #F5F4FC; color: #38337A; font-size: 14px; font-weight: 800; line-height: 1.25; vertical-align: bottom; border-bottom: 2px solid #E3E0F5; }
.ggb-table thead th:first-child { text-align: left; background: #F5F4FC; }
.ggb-table th:first-child { position: sticky; left: 0; z-index: 2; }
.ggb-table tbody th { text-align: left; font-weight: 700; color: #1C1C1F; background: #fff; box-shadow: 1px 0 0 #E6E4F0; }
.ggb-table tbody tr:nth-child(even) th, .ggb-table tbody tr:nth-child(even) td { background: #FAFAFD; }
.ggb-table tbody tr:last-child th, .ggb-table tbody tr:last-child td { border-bottom: 0; }
.ggb-yes { color: #38337A; font-weight: 800; }

/* --- Inline notes: coloured line, no fill --- */
.ggb-note, .ggb-note-warn, .ggb-note-a11y { margin: 0 0 16px; padding: 2px 0 2px 16px; border-left: 3px solid #57D9CA; font-size: 16px; }
.ggb-note-warn { border-left-color: #E8A33D; }
.ggb-note-a11y { border-left-color: #1B5E9E; }
.ggb-note strong:first-child { color: #38337A; }
.ggb-note-warn strong:first-child { color: #8A5A00; }
.ggb-note-a11y strong:first-child { color: #1B5E9E; }
.ggb-steps .ggb-note, .ggb-steps .ggb-note-warn, .ggb-steps .ggb-note-a11y { margin: 8px 0; }

/* --- Note box: TEAL FILL = standalone general note (scoped: generic class name) --- */
.ggb-article .note-note { margin: 0 0 44px; padding: 16px 20px; background: #EDFBF9; border-radius: 12px; font-size: 16px; color: #2F2F33; }
.ggb-article .note-note strong:first-child { color: #38337A; }

/* --- Tip box: OUTLINED, no fill = standalone tip (scoped: generic class name) --- */
.ggb-article .tip-box { margin: 0 0 44px; padding: 16px 20px; background: #FFFFFF; border: 1px solid #E3E0F5; border-radius: 12px; font-size: 16px; color: #2F2F33; }
.ggb-article .tip-box strong:first-child { color: #38337A; }

/* --- Accessibility box: LIGHT BLUE = accessibility only --- */
.ggb-a11y { background: #EAF3FC; border: 1px solid #C9DFF5; border-radius: 14px; padding: 18px 22px; margin: 0 0 40px; }
.ggb-a11y p { margin: 0; font-size: 16px; color: #2F2F33; }
.ggb-a11y strong:first-child { color: #1B5E9E; }

/* --- Help box: outlined, no fill = help and resources --- */
.ggb-help-card { border: 1px solid #E3E0F5; border-radius: 16px; padding: 22px 26px; margin: 0 0 40px; }
.ggb-article .ggb-help-card h2.ggb-help-label { margin: 0 0 10px; font-size: clamp(24px, 5vw, 28px); font-weight: 800; letter-spacing: -.02em; text-transform: none; color: #38337A; }
.ggb-help-card p { margin: 0; font-size: 16px; color: #2F2F33; }


/* --- Split card: description on top, meta strip below (white body, grey footer) --- */
.ggb-cards > li:has(> .ggb-meta), .ggb-cards--split > li { padding: 16px 18px 0; background: #fff; border-color: #E3E0F5; overflow: hidden; }
.ggb-cards > li:has(> .ggb-meta) > p, .ggb-cards--split > li > p { margin: 0 0 8px; }
.ggb-cards > li:has(> .ggb-meta) strong, .ggb-cards--split > li strong { display: inline; margin: 0; }
.ggb-cards .ggb-note { margin: 8px 0; }
.ggb-cards .ggb-meta { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); margin: 14px -18px 0; padding: 0; list-style: none; background: #FAFAFD; border-top: 1px solid #ECEAF6; }
.ggb-cards .ggb-meta > li { margin: 0; padding: 10px 18px; background: none; border: 0; border-radius: 0; font-size: 15px; line-height: 1.5; color: #6E6D73; }
.ggb-cards .ggb-meta > li + li { border-inline-start: 1px solid #ECEAF6; }
.ggb-cards .ggb-meta strong { font-weight: 700; color: #38337A; }


/* --- Footer nav: previous outlined, next purple-filled --- */
.ggb-artnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 44px 0 0; padding: 0; list-style: none; }
.ggb-artnav li:only-child { grid-column: 1 / -1; }
.ggb-artnav a { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; border: 1px solid #E3E0F5; border-radius: 16px; padding: 18px 22px; text-decoration: none !important; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease; }
.ggb-artnav a:hover, .ggb-artnav a:focus-visible { border-color: #C9C2EE; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(129,114,247,.14); }
.ggb-artnav a:focus-visible { outline: 2px solid #38337A; outline-offset: 2px; }
.ggb-artnav-next a,
.ggb-artnav li:last-child:not(:only-child) a { background: #F5F4FC; }
.ggb-artnav-next a:hover, .ggb-artnav-next a:focus-visible,
.ggb-artnav li:last-child:not(:only-child) a:hover,
.ggb-artnav li:last-child:not(:only-child) a:focus-visible { background: #EFEDFA; }
.ggb-artnav-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #38337A; }
.ggb-artnav-prev .ggb-artnav-label::before,
.ggb-artnav li:first-child:not(:only-child) .ggb-artnav-label::before { content: "\2190"; content: "\2190" / ""; color: #57D9CA; font-size: 15px; }
.ggb-artnav-next .ggb-artnav-label::after,
.ggb-artnav li:last-child:not(:only-child) .ggb-artnav-label::after { content: "\2192"; content: "\2192" / ""; color: #57D9CA; font-size: 15px; }
.ggb-artnav-desc:empty { display: none; }
.ggb-artnav-title { font-size: 17px; font-weight: 800; color: #38337A; letter-spacing: -.01em; }
.ggb-artnav-desc { font-size: 15px; font-weight: 400; color: #6E6D73; }

/* --- Restored from the inline article style (missing in style.css) --- */
.ggb-values { display: inline-flex; flex-wrap: wrap; gap: 0.75em; }
.ggb-article h3 { margin: 28px 0 12px; font-size: 21px; font-weight: 800; color: #38337A; letter-spacing: -.01em; }
.ggb-article h4 { margin: 24px 0 10px; font-size: 18px; font-weight: 800; color: #1C1C1F; }
.ggb-article h4:not(.ggb-example) { padding: 2px 0 2px 16px; border-left: 3px solid #38337A; color: #1C1C1F; }
.ggb-article h4.ggb-example { color: #38337A; }
.ggb-toc .ggb-toc-ex li::before { background: #C9C2EE; }
.ggb-toc .ggb-toc-topic { color: #6E6D73; }
.ggb-example-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 36px 0 12px; font-size: 17px; font-weight: 400; color: #2F2F33; }
.ggb-example-line .ggb-example-title { font-size: 21px; font-weight: 800; color: #38337A; letter-spacing: -.01em; }
.ggb-example-line .ggb-example-num { font-size: 14px; letter-spacing: .06em; padding: 5px 14px; }
.ggb-article .ggb-steps + .note-note, .ggb-article .ggb-steps + .tip-box,
.ggb-article .note-note + .note-note, .ggb-article .note-note + .tip-box,
.ggb-article .tip-box + .tip-box, .ggb-article .tip-box + .note-note,
.ggb-article .ggb-note-a11y + .note-note, .ggb-article .ggb-note-a11y + .tip-box,
.ggb-article .note-note + .ggb-a11y, .ggb-article .tip-box + .ggb-a11y { margin-top: -28px; }
.ggb-steps + .ggb-question { margin-top: -35px; }
.ggb-article .ggb-question + .note-note, .ggb-article .ggb-question + .tip-box { margin-top: 0; }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .ggb-toc > summary::before, .ggb-fold > summary::before, .ggb-artnav a { transition: none; }
  .ggb-artnav a:hover, .ggb-artnav a:focus-visible { transform: none; }
}

/* --- Mobile --- */
@media (max-width: 700px) {
  .ggb-lede { font-size: 22px; }
  .ggb-article h2 { font-size: 24px; }
  .ggb-table { font-size: 14px; }
  .ggb-table th, .ggb-table td { padding: 8px 10px; }
  .ggb-table thead th { font-size: 13px; }
  .ggb-artnav { grid-template-columns: 1fr; }
  .ggb-cards .ggb-meta { grid-template-columns: 1fr; }
  .ggb-cards .ggb-meta > li + li { border-inline-start: 0; border-top: 1px solid #ECEAF6; }

}
/* ============================ END GGB ARTICLE COMPONENTS ============================ */
