@charset "UTF-8";
/***** Normalize.css *****/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

@font-face {
  font-family: 'Wonder Regular';
  font-style: normal;
  font-weight: 400;
  src: url('$assets-wonder-regular-eot'); /* IE9 Compat Modes */
  src: url('$assets-wonder-regular-eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/hc/theming_assets/01JX8CEAN3XTFMHN2P7D18595E') format('woff2'), /* Super Modern Browsers */
       url('/hc/theming_assets/01JX8CDR77SYXTER4CXCCAZMYR') format('woff'), /* Modern Browsers */
       url('/hc/theming_assets/01JV837TWRTBKA0BYPDYVNDVJA') format('truetype'), /* Safari, Android, iOS */
       url('$assets-wonder-regular-svg#WonderRegular') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Wonder Bold';
  font-style: normal;
  font-weight: 700;
  src: url('$assets-wonder-bold-eot'); /* IE9 Compat Modes */
  src: url('$assets-wonder-bold-eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('/hc/theming_assets/01JX8CE53J12WSR4PEYV2T7NZZ') format('woff2'), /* Super Modern Browsers */
       url('/hc/theming_assets/01JX8CDJDGD998W9N2YRDWNGNF') format('woff'), /* Modern Browsers */
       url('$assets-wonder-bold-ttf') format('truetype'), /* Safari, Android, iOS */
       url('$assets-wonder-bold-svg#WonderBold') format('svg'); /* Legacy iOS */
}

/* =========================================================
   SHARED-LOCALIZATION.CSS
   Centralized image mappings and visibility controls
   Default locale: en-us (United States)
   ========================================================= */

/* =========================================================
   1. ROOT DEFINITIONS (en-us defaults)
   All default images and visibility states for US market
   ========================================================= */
:root {
  /* ===== TONIEBOX PRODUCTS ===== */
  --toniebox-1-icon: url('/hc/theming_assets/01K2ZBVGN4Q9NJY671AV6EE3XX');
  --toniebox-2-icon: url('/hc/theming_assets/01K2QRJY13EDR5E5VSADCDECP4');
  
  /* ===== TONIES COLLECTIONS ===== */
  --all-tonies-icon: url('/hc/theming_assets/01K38DN59FHVA6GDPMYVG0Z84H');
  --classic-tonies-icon: url('/hc/theming_assets/01K2QRR1VSDM9F7CBT812SD34M');
  --creative-tonies-icon: url('/hc/theming_assets/01K3SF9TFWGSA80CJ819KGZ172');
  --clever-tonies-icon: url('/hc/theming_assets/01K36TNQ4BV1ZTBF3SXSJTJ856');
  --audiobooks-icon: url('/hc/theming_assets/01JXKRBXB0078SW1J9J7SKSKKJ');
  --my-first-tonies-icon: url('/hc/theming_assets/01JX8ZNC18GC8E62RTA6HH4C1V');
  --sleepy-friends-icon: url('/hc/theming_assets/01K389Z9S4GK9QGP05YFZPWV29');
  --plush-tonies-icon: url('/hc/theming_assets/01K35WNJYZ7H9CTK7MXT5A898Q');
  
  /* ===== ACCESSORIES ===== */
  --headphones-icon: url('/hc/theming_assets/01K36TYAEHXHFJ6ZCVHRZ4RHG7');
  --sleeves-icon: url('/hc/theming_assets/01JX9BMVERR6182XWBMRFJRVCY');
  --tonieplay-icon: url('/hc/theming_assets/01K2QSP0CCKPWS4DKPZ3JWJ3YD');
  --bags-cases-icon: url('/hc/theming_assets/01K2QT3NCSS49W75AJYJD6WC7A');
  --charger-icon: url('/hc/theming_assets/01K2XKKZ09JBJNRXWCWDETC50M');
  --shelves-icon: url('/hc/theming_assets/01K36ADN3AXB1FZZ2ET132Y2ER');
  
  /* ===== SUPPORT/HELP ICONS ===== */
  --getting-started-icon: url('/hc/theming_assets/01K2QW6E88KXMQGKM3FPEWQP15');
  --orders-returns-icon: url('/hc/theming_assets/01K2QWR70W6E3WPPGMMBSPYBHR');
  --account-icon: url('/hc/theming_assets/01K335Z6HEZNYQ62EFKQ8ARGXA');
  --mobile-app-icon: url('/hc/theming_assets/01K2QWR57MRBNHDFMWN7JQH2WS');
  --audio-library-icon: url('/hc/theming_assets/01K36EPG26WBBM9W6H2NMZHP5Q');
  --all-other-articles-icon: url('/hc/theming_assets/01K36EPSQPE0SJRS9RBYZ21XZY');
  --repair-service-icon: url('/hc/theming_assets/01K489TXYBXRBJNSTSW3MV7V3V');
  --legal-and-compliance-icon: url('/hc/theming_assets/01K8K47CT43V6Q94MBHRWDBNNA');
  
  /* ===== REGIONAL ITEMS (with defaults) ===== */
  --coloring-books-icon: url('/hc/theming_assets/01K36ACS1PE3K9QVA71FS70ZDJ'); /* German as default per Zendesk requirement */
  
  /* ===== DEFAULT VISIBILITY STATES ===== */
  --clever-tonies-display: block;
  --audiobooks-display: block;
  --my-first-tonies-display: block;
  --shelves-display: block;
  --coloring-books-display: none;
  --section-29036413171602-display: none;
  /*--category-29036383619858-display: none;*/
}

html[lang="en-us"] [data-section-id="29036388005010"], 
html[lang="en-us"] [data-section-id="29036413171602"],
/*html[lang="en-us"] [data-category-id="29036383619858"]*/ {
  display: none;
}

/* =========================================================
   2. GERMAN LOCALIZATION (lang="de")
   DACH region (Germany, Austria, Switzerland)
   ========================================================= */
html[lang="de"] {
  /* Image overrides */
  --all-tonies-icon: url('/hc/theming_assets/01K36T4XB4YTY5S5HZ2AXJK287');
  /* Inherits German coloring book from root - no override needed */
  
  /* Visibility overrides */
  --coloring-books-display: block; /* Visible for German users */
  --section-29036413171602-display: block; /* Visible for German users */
}

html[lang="de"] [data-section-id="29036387853074"], 
html[lang="de"] [data-section-id="29036413242258"] {
  display: none;
}

/* =========================================================
   3. FRENCH - FRANCE LOCALIZATION (lang="fr-fr")
   ========================================================= */
html[lang="fr-fr"] {
  /* Image overrides */
  --all-tonies-icon: url('/hc/theming_assets/01K38AYMT3TX4EPKM2ZVPS4R00');
  --coloring-books-icon: url('/hc/theming_assets/01K36AFFFG5NXYNCQZ3C8CT8YV');
  
  /* Visibility overrides */
  --coloring-books-display: block; /* Visible for French users */
}

html[lang="fr-fr"] [data-section-id="29036383864850"],
html[lang="fr-fr"] [data-section-id="29036413171602"],
html[lang="fr-fr"] [data-section-id="29036387853074"] {
  display: none;
}

/* =========================================================
   4. UK LOCALIZATION (lang="en-gb")
   ========================================================= */
html[lang="en-gb"] {
  /* Image overrides */
  --all-tonies-icon: url('/hc/theming_assets/01K3SH1DRPAWY2TP7A8R47FGDP');
  
}
  /* Visibility overrides */
html[lang="en-gb"] [data-section-id="29036388005010"],
html[lang="en-gb"] [data-section-id="29036413171602"] {
  display: none;
}

/* =========================================================
   5. EU/IRELAND LOCALIZATION (lang="en-150")
   ========================================================= */
html[lang="en-150"] {
  /* Image overrides */
  --all-tonies-icon: url('/hc/theming_assets/01K36S7HTV6FHEY8G6R338YR05');
  --shelves-icon: url('/hc/theming_assets/01K36AD987MYB6KE5J2WAV6BJ8');
}

  /* Visibility overrides */
html[lang="en-150"] [data-section-id="29036413242258"],
html[lang="en-150"] [data-section-id="29036388005010"],
html[lang="en-150"] [data-section-id="29036413171602"],
html[lang="en-150"] [data-section-id='29036387853074'],
html[lang="en-150"] [data-section-id='29036400285842'],
html[lang="en-150"] [data-section-id='29036371429010']{
  display: none;
}

/* =========================================================
   6. AUSTRALIAN LOCALIZATION (lang="en-au")
   ========================================================= */
html[lang="en-au"] {
  /* Image overrides */
  --all-tonies-icon: url('/hc/theming_assets/01K38AYMT3TX4EPKM2ZVPS4R00');
}
/* Visibility overrides */

html[lang="eu-au"] [data-section-id="29036413251730"],
html[lang="en-au"] [data-section-id="29036383864850"],
html[lang="en-au"] [data-section-id="29036388005010"],
html[lang="en-au"] [data-section-id="29036413171602"] {
  display: none;
}
/* =========================================================
   7. CANADIAN ENGLISH LOCALIZATION (lang="en-ca")
   ========================================================= */
  
  /* Visibility overrides */

html[lang="en-ca"] [data-section-id="29036388005010"],
html[lang="en-ca"] [data-section-id="29036413171602"] {
  display: none;
}

/* =========================================================
   8. CANADIAN FRENCH LOCALIZATION (lang="fr-ca")
   ========================================================= */

  /* Visibility overrides */

html[lang="fr-ca"] [data-section-id="29036388005010"],
html[lang="fr-ca"] [data-section-id="29036413171602"] {
  display: none;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: 'Wonder Regular';
  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: 'Wonder Regular';
  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: 'Wonder Regular';
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

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

body {
  background-color: rgba(244, 241, 237, 1);
  color: rgba(51, 51, 51, 1);
  font-family: 'Wonder Regular';
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) {
  body > main {
    min-height: 65vh;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Wonder Bold';
  margin-top: 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
}

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

h4 {
  font-size: 16px;
}

a {
  color: rgba(87, 93, 96, 1);
  text-decoration: none;
}
a:visited {
  color: rgba(51, 51, 51, 1);
}
a:hover, a:active, a:focus {
  text-decoration: underline;
}

.hbs-form input,
.hbs-form textarea, .search input,
.search textarea {
  color: #000;
  font-size: 14px;
}
.hbs-form input, .search input {
  max-width: 100%;
  box-sizing: border-box;
  transition: border 0.12s ease-in-out;
  /* We use the :where selector to not increase the specificity of the selector */
}
.hbs-form input:where(:not([type=checkbox])), .search input:where(:not([type=checkbox])) {
  outline: none;
}
.hbs-form input:where(:not([type=checkbox])):focus, .search input:where(:not([type=checkbox])):focus {
  border: 1px solid rgba(210, 0, 15, 1);
}
.hbs-form input[disabled], .search input[disabled] {
  background-color: #ddd;
}
.hbs-form select, .search 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%;
}
.hbs-form select:focus, .search select:focus {
  border: 1px solid rgba(210, 0, 15, 1);
}
.hbs-form select::-ms-expand, .search select::-ms-expand {
  display: none;
}
.hbs-form textarea, .search textarea {
  border: 1px solid #87929D;
  border-radius: 2px;
  resize: vertical;
  width: 100%;
  outline: none;
  padding: 10px;
}
.hbs-form textarea:focus, .search textarea:focus {
  border: 1px solid rgba(210, 0, 15, 1);
}

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

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

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

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

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

/***** Buttons *****/
.button, .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(210, 0, 15, 1);
  border-radius: 4px;
  color: rgba(210, 0, 15, 1);
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  line-height: 2.34;
  margin: 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: 100%;
  -webkit-touch-callout: none;
}
.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(210, 0, 15, 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(210, 0, 15, 1);
  color: rgba(244, 241, 237, 1);
  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: #6c0008;
  border-color: #6c0008;
}
.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, .hbs-form input[type=submit] {
  cursor: pointer;
  background-color: rgba(210, 0, 15, 1);
  border: 0;
  border-radius: 4px;
  color: rgba(244, 241, 237, 1);
  font-size: 14px;
  line-height: 2.72;
  min-width: 190px;
  padding: 0 1.9286em;
  width: 100%;
}

.button-large:visited, .hbs-form input[type=submit]:visited {
  color: rgba(244, 241, 237, 1);
}
.button-large:hover, .button-large:active, .button-large:focus, .hbs-form input[type=submit]:hover, .hbs-form input[type=submit]:active, .hbs-form input[type=submit]:focus {
  background-color: #6c0008;
}
.button-large[disabled], .hbs-form input[type=submit][disabled] {
  background-color: #ddd;
}

.button-secondary {
  color: #666;
  border: 1px solid #87929D;
  background-color: transparent;
}
.button-secondary:visited {
  color: #666;
}
.button-secondary:hover, .button-secondary:focus, .button-secondary:active {
  color: rgba(51, 51, 51, 1);
  border: 1px solid #87929D;
  background-color: #eeeae4;
}

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

.split-button button {
  background-color: rgba(210, 0, 15, 1);
  border: 0;
  color: rgba(244, 241, 237, 1);
  height: 32px;
  line-height: 16px;
  outline-color: rgba(210, 0, 15, 1);
}

[dir=rtl] .split-button button:not(:only-child):first-child {
  border-left: 1px solid rgba(244, 241, 237, 1);
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}
[dir=ltr] .split-button button:not(:only-child):first-child {
  border-right: 1px solid rgba(244, 241, 237, 1);
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}
.split-button button:not(:only-child):last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  padding: 0;
}
[dir=rtl] .split-button button:not(:only-child):last-child {
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}
[dir=ltr] .split-button button:not(:only-child):last-child {
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}

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

.table th,
.table th a {
  color: #666;
  font-size: 13px;
  text-align: left;
}
[dir=rtl] .table th,
[dir=rtl] .table th a {
  text-align: right;
}
.table tr {
  border-bottom: 1px solid #ddd;
  display: block;
  padding: 20px 0;
}

.table td {
  display: block;
}

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


/***** 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(210, 0, 15, 1);
}

.form-field input[type=text] {
  border: 1px solid #87929D;
  border-radius: 4px;
}
.form-field input[type=text]:focus {
  border: 1px solid rgba(210, 0, 15, 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(210, 0, 15, 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(210, 0, 15, 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: #666;
  margin-left: 4px;
}

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

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

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

.form .suggestion-list {
  font-size: 13px;
  margin-top: 30px;
}
.form .suggestion-list label {
  border-bottom: 1px solid #ddd;
  display: block;
  padding-bottom: 5px;
}
.form .suggestion-list li {
  padding: 10px 0;
}
.form .suggestion-list li a:visited {
  color: rgba(51, 51, 51, 1);
}


/* Header layout with proper flexbox */
.header.header {
  width: 100%;
  max-width: none;
  top: 0;
  z-index: 999 !important;
  position: fixed !important;
  justify-content: space-between;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  background-color: #F4F1ED;
  height: 65px;
  border-radius: 0 0 48px 48px;
}

.header.header > * {
  padding: 0 5%;
  padding-bottom: 15px;
}

body:has(.banner-container-true) .header.header {
  top: 55px !important;
}

.logo {
  justify-self: start;
  min-width: 0;
	background: transparent !important;
}



.header-center-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 1;
  width: 250px;
  background: transparent !important;
}

.submit-request-icon {
  background-image: url('/hc/theming_assets/01K2RN57V394ZWKKME3K66XHNS');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.header-center-content a {
  color: #d2000f;
  text-decoration: none;
  font-weight: 650;
  font-size: 18px;
  white-space: nowrap;
}

.header-center-content a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header-center-content {
    width: 32px !important;
    margin-left: auto;
    margin-right: 8px;
  }
  
  .header-center-content a {
    font-size: 0 !important;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='%23d2000f' d='M112 128C85.5 128 64 149.5 64 176C64 191.1 71.1 205.3 83.2 214.4L291.2 370.4C308.3 383.2 331.7 383.2 348.8 370.4L556.8 214.4C568.9 205.3 576 191.1 576 176C576 149.5 554.5 128 528 128L112 128zM64 260L64 448C64 483.3 92.7 512 128 512L512 512C547.3 512 576 483.3 576 448L576 260L377.6 408.8C343.5 434.4 296.5 434.4 262.4 408.8L64 260z'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
  }
  
  .submit-request-icon {
    display: none;
  }
}

/* Right column container */
.header-right-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 1;
  min-width: 0;
  background: transparent !important;
}

/* Individual elements in the right column */
.footer-language-selector {
  flex-shrink: 1; /* Allow language selector to shrink */
  min-width: 0;
  background: transparent !important;
}

.header-search-wrapper {
  flex-shrink: 1; /* Allow search to shrink */
  min-width: 0;
  max-width: 150px; /* Smaller max width */
  width: 150px;
}

.nav-wrapper-desktop,
.nav-wrapper-mobile {
  flex-shrink: 0; /* Keep navigation at normal size */
}

/* Search styling */
.header-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-compact {
  height: 32px !important;
  width: 100%;
  min-width: 120px; /* Minimum usable width */
}

.search-compact input[type=search] {
  height: 32px !important;
  font-size: 12px !important;
  padding-left: 30px !important;
  padding-right: 15px !important;
}

.header-search-wrapper .search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 12px;
  height: 12px;
  color: #777;
  pointer-events: none;
}

/* Navigation styling - more compact */
.user-nav {
  flex-shrink: 0;
}

.user-nav-list {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.user-nav-list li {
  margin: 0 8px !important; /* Reduced margin */
}

.user-nav-list li a {
  font-size: 14px; /* Slightly smaller font */
  white-space: nowrap; /* Prevent text wrapping */
}

/* User info dropdown */
.user-info {
  flex-shrink: 0;
}

.language-selector {
  position: relative;
  cursor: pointer;
  z-index: 999;
}

.language-toggle {
  display: none;
}

.dropdown-trigger {
  cursor: pointer;
  display: inline-block;
  padding: 8px 12px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 180px;
  overflow: hidden;
  z-index: 999;
}

/* Show dropdown when checkbox is checked */
.language-toggle:checked + .dropdown-trigger + .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background-color: #f8fafc;
}

/* Mobile styles */
@media (max-width: 480px) {
  .language-toggle:checked + .dropdown-trigger + .dropdown-menu {
    position: fixed;
    top: 60px;
    right: 20px;
    left: auto;
    width: 180px;
    max-width: calc(100vw - 40px);
    max-height: 400px;
    overflow-y: auto;
    animation: slideInFromRight 0.3s ease;
  }
  
  /* Add backdrop */
  .language-toggle:checked + .dropdown-trigger::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
}

@keyframes slideInFromRight {
  from {
    right: -320px;
    opacity: 0;
  }
  to {
    right: 20px;
    opacity: 1;
  }
}

/* Hide original hero search */
.hero .search {
  display: none !important;
}

/* Logo styling */
.logo {
  flex-shrink: 0;
}

/* Mobile navigation button */
.menu-button-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-right-content {
    gap: 12px;
  }
  
  .header-search-wrapper {
    max-width: 130px;
    width: 130px;
  }
  
  .header-search-wrapper:focus-within {
    max-width: 220px !important;
    width: 220px !important;
  }
  
  .user-nav-list li {
    margin: 0 6px !important;
  }
}

@media (max-width: 768px) {
  .header-search-wrapper {
    display: none; /* Hide search on mobile */
  }
  
  .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #ffffff;
        border-bottom: 1px solid #e5e5e5;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
    }
    .mobile-menu-button {
      width: 40px;
      height: 40rongx;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: none;
      cursor: pointer;
      border-radius: 8px;
      transition: background-color 0.2s;
  }

  .mobile-menu-button:hover {
      background-color: #f5f5f5;
  }

  .mobile-menu-button svg {
      width: 24px;
      height: 24px;
      color: #333;
      transition: transform 0.3s;
  }

  .mobile-menu-button.active svg {
      transform: rotate(90deg);
  }

  /* Mobile Dropdown Menu */
  .mobile-dropdown {
      position: fixed;
      top: 60px;
      right: 0;
      background: #ffffff;
      border: 1px solid #e5e5e5;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      min-width: 200px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
      z-index: 999;
      margin: 8px;
  }

  .mobile-dropdown.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }

  /* Menu Items */
  .mobile-menu-items {
      list-style: none;
      padding: 8px 0;
  }

  .mobile-menu-item {
      margin: 0;
  }

  .mobile-menu-item a,
  .mobile-menu-item button {
      display: flex;
      align-items: center;
      width: 100%;
      padding: 12px 16px;
      background: transparent;
      border: none;
      color: #333;
      text-decoration: none;
      font-size: 15px;
      cursor: pointer;
      transition: background-color 0.2s;
      text-align: left;
  }

  .mobile-menu-item a:hover,
  .mobile-menu-item button:hover {
      background-color: #f5f5f5;
  }

  .mobile-menu-item svg {
      width: 20px;
      height: 20px;
      margin-right: 12px;
      color: #666;
  }

  /* Divider */
  .menu-divider {
      height: 1px;
      background-color: #e5e5e5;
      margin: 8px 0;
  }

  /* Language Submenu */
  .language-submenu {
      display: none;
      background: #f9f9f9;
      border-top: 1px solid #e5e5e5;
  }

  .language-submenu.active {
      display: block;
  }

  .language-option {
      display: block;
      padding: 10px 16px 10px 48px;
      color: #555;
      text-decoration: none;
      font-size: 14px;
      transition: background-color 0.2s;
  }

  .language-option:hover {
      background-color: #f0f0f0;
  }

  .language-option.selected {
      font-weight: 600;
      color: #007bff;
  }

  /* Overlay */
  .mobile-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.3);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s, visibility 0.3s;
      z-index: 998;
  }

  .mobile-overlay.active {
      opacity: 1;
      visibility: visible;
  }
}

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

.logo span {
  margin: 0 10px;
  color: rgba(210, 0, 15, 1);
}

.logo a {
  display: inline-block;
}

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

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

.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 (min-width: 1024px) {
  .nav-wrapper-desktop {
    display: inline-block;
  }
}
.nav-wrapper-desktop a {
  border: 0;
  color: rgba(87, 93, 96, 1);
  display: none;
  font-size: 14px;
  padding: 0 20px 0 0;
  width: auto;
}

[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: rgba(87, 93, 96, 1);
  text-decoration: underline;
}

@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: 0.1px solid #ddd;
  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: rgba(51, 51, 51, 1);
  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: rgba(51, 51, 51, 1);
}
.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;
}

.user-info > button {
  border: 0;
  color: rgba(87, 93, 96, 1);
  min-width: 0;
  padding: 0;
  white-space: nowrap;
}
.user-info > button:hover, .user-info > button:focus {
  color: rgba(87, 93, 96, 1);
  background-color: transparent;
}
.user-info > button::after {
  color: rgba(87, 93, 96, 1);
  padding-right: 15px;
}
[dir=rtl] .user-info > button::after {
  padding-left: 15px;
  padding-right: 0;
}

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

#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(210, 0, 15, 1);
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: -4px;
  background-color: rgba(244, 241, 237, 1);
  font-size: 17px;
  height: 17px;
  line-height: 17px;
  position: absolute;
  right: -2px;
  text-align: center;
  width: 17px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

/* Target the main content area */
.main-content,
main,
.container,
[role="main"] {
  flex: 1;
}


/***** Footer *****/
.footer {
  border-top: 1px solid #ddd;
  margin-top: 60px;
  padding: 30px 0;
  flex-shrink: 0;
}
.footer a {
  color: #666;
}
.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: #666;
  display: inline-block;
}

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

/***** Breadcrumbs *****/
.breadcrumbs {
  margin: 0 0 15px 0;
  padding: 0;
  padding-left: 20px;
  display: flex;
}

.breadcrumbs li {
  color: #666;
  font-size: 13px;
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumbs li + li::before {
  content: ">";
  margin: 0 4px;
}
.breadcrumbs li a:visited {
  color: rgba(87, 93, 96, 1);
}

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

.search {
  border-color: #87929D;
  border-radius: 30px;
  border-style: solid;
  border-width: 1px;
  display: flex;
  position: relative;
  transition: border 0.12s ease-in-out;
}
.search:focus-within {
  border-color: rgba(210, 0, 15, 1);
}
.search input[type=search],
.search .clear-button {
  background-color: #fff;
  border-radius: 30px;
  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: 40px;
  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(210, 0, 15, 1);
  color: #fff;
}
.search .clear-button:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(210, 0, 15, 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(210, 0, 15, 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(210, 0, 15, 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(210, 0, 15, 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(210, 0, 15, 1);
}

.search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 35px; /* Reduced from 15px to move it slightly right */
  z-index: 1;
  width: 12px; /* Match the SVG width from your HTML */
  height: 12px; /* Match the SVG height from your HTML */
  color: #777;
  pointer-events: none;
}

[dir=rtl] .search-icon {
  left: auto;
  right: 12px; /* Also adjust for RTL */
}


/***** Hero component *****/
.hero {
  background-image: url($assets-homeherobanner2-webp);
  background-position: center;
  background-size: cover;
  height: 500px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
}
.hero-inner {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 610px;
  margin: 0 auto;
}

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

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

.page-header h1 {
  flex-grow: 1;
  margin-bottom: 10px;
}
.page-header-description {
  font-style: italic;
  margin: 0 0 30px 0;
  word-break: break-word;
}
@media (min-width: 1024px) {
  .page-header-description {
    flex-basis: 100%;
  }
}
.page-header .icon-lock {
  height: 20px;
  width: 20px;
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.sub-nav {
  align-items: baseline;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 15px 30px;
  justify-content: space-between;
  margin-bottom: 55px;
}

.sub-nav .breadcrumbs {
  margin: 0;
}
.sub-nav .search-container {
  max-width: 300px;
  width: 100%;
}

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

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

.blocks-item {
  border: 1px solid rgba(210, 0, 15, 1);
  border-radius: 4px;
  box-sizing: border-box;
  color: rgba(210, 0, 15, 1);
  display: flex;
  flex: 1 0 340px;
  margin: 0 0 30px;
  max-width: 100%;
  text-align: center;
}

.blocks-item:hover, .blocks-item:focus, .blocks-item:active {
  background-color: rgba(210, 0, 15, 1);
}
.blocks-item:hover *, .blocks-item:focus *, .blocks-item:active * {
  color: rgba(244, 241, 237, 1);
  text-decoration: none;
}
.blocks-item-internal {
  background-color: transparent;
  border: 1px solid #ddd;
}
.blocks-item-internal .icon-lock {
  height: 15px;
  width: 15px;
  bottom: 5px;
  position: relative;
}
.blocks-item-internal a {
  color: rgba(51, 51, 51, 1);
}
.blocks-item-link {
  color: rgba(210, 0, 15, 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(210, 0, 15, 1);
  text-decoration: none;
}
.blocks-item-title {
  margin-bottom: 0;
  font-size: 16px;
}
.blocks-item-description {
  margin: 0;
}
.blocks-item-description:not(:empty) {
  margin-top: 10px;
}

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


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

/***** Promoted articles *****/
.promoted-articles {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
@media (min-width: 1024px) {
  .promoted-articles {
    flex-direction: row;
  }
}
.promoted-articles-item {
  flex: 1 0 auto;
}
@media (min-width: 1024px) {
  .promoted-articles-item {
    align-self: flex-end;
    flex: 0 0 auto;
    padding-right: 30px;
    width: 33%; /* Three columns on desktop */
  }
  [dir=rtl] .promoted-articles-item {
    padding: 0 0 0 30px;
  }
}
.promoted-articles-item:nth-child(3n) {
  padding-right: 0;
}
.promoted-articles-item a {
  display: block;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}
.promoted-articles-item .icon-lock {
  vertical-align: baseline;
}
.promoted-articles-item:last-child a {
  border: 0;
}
@media (min-width: 1024px) {
  .promoted-articles-item:last-child a {
    border-bottom: 1px solid #ddd;
  }
}

/***** Community section in homepage *****/
.community {
  text-align: center;
}
.community-image {
  min-height: 300px;
  margin-top: 32px;
  background-image: url(/hc/theming_assets/01J3M8K61XWE05XJD8F66CFYXV);
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100%;
}
.community a {
  color: rgba(87, 93, 96, 1);
  text-decoration: underline;
}
.community a:visited {
  color: rgba(51, 51, 51, 1);
}
.community a:hover, .community a:active, .community a:focus {
  color: #0F3554;
}

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

/***** Recent activity *****/
.recent-activity-header {
  margin-bottom: 10px;
  text-align: center;
}
.recent-activity-list {
  padding: 0;
}
.recent-activity-item {
  border-bottom: 1px solid #ddd;
  overflow: auto;
  padding: 20px 0;
}
.recent-activity-item 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%;
}

.recent-activity-item-link {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-activity-item-meta {
  color: rgba(51, 51, 51, 1);
  margin: 15px 0 0 0;
  float: none;
}

.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: rgba(87, 93, 96, 1);
  text-decoration: underline;
}
.recent-activity-controls a:visited {
  color: rgba(51, 51, 51, 1);
}
.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(210, 0, 15, 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;
}

/***** Category pages *****/
.category-container {
  display: flex;
  justify-content: flex-end;
}
.category-content {
  flex: 1;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .category-content {
    flex: 0 0 80%;
  }
}

/* Global Accordion Styles (replaces mobile-accordion) */
.global-accordion {
  display: block;
  margin: 0 auto; /* Changed from margin: 0 */
  width: 800px;
}

.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background-color: #f8f9fa;
}

.accordion-header[aria-expanded="true"] {
  background-color: #f0f7ff;
}

/* Enhanced header layout for desktop and mobile */
.accordion-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.accordion-title-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.accordion-category-icon {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.accordion-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.accordion-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.accordion-article-count {
  font-size: 14px;
  color: #666;
  background: #f0f0f0;
  padding: 4px 8px;
  border-radius: 12px;
}

.accordion-icon {
  font-size: 16px;
  color: #666;
  transition: transform 0.2s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content[aria-expanded="true"] {
  max-height: 1000px; /* Adjust based on your content */
}

.accordion-body {
  padding: 0 20px 20px 20px;
}

.accordion-description {
  font-size: 14px;
  color: #666;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.accordion-articles-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #333;
}

.accordion-articles-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.accordion-article-item {
  margin-bottom: 8px;
}

.accordion-article-link {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
}

.accordion-article-link:hover {
  text-decoration: underline;
}

.accordion-no-articles {
  font-size: 14px;
  color: #666;
  margin: 0 0 16px 0;
  font-style: italic;
}

.accordion-cta {
  border-top: 1px solid #e0e0e0;
  padding-top: 12px;
}

.accordion-browse-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.accordion-browse-link:hover {
  text-decoration: underline;
}

/* Hide the old mobile-accordion and treemap grid */
.mobile-accordion,
.accessories-treemap-grid {
  display: none !important;
}



/* Keep your existing styles */
.article-content {
  padding-right: 0;
}

.article-promoted-badge {
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
}

.article-promoted-badge svg {
  width: 14px;
  height: 14px;
}

/***** 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 Hero Styles *****/
.section-hero {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 500px;
  overflow: visible;
  margin-bottom: 0;
}

.hero-banner-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Mobile-specific images */
.hero-banner-image[data-category-id="29036383531154"] {
  background-image: url('/hc/theming_assets/01K325MR1AGJBSAS2Z2GH49ACW') !important;
}
.hero-banner-image[data-category-id="29036387422354"] {
  background-image: url('/hc/theming_assets/01K326EFA2ERRBBK0P4SJSJH19') !important;
}
.hero-banner-image[data-category-id="29036358528530"] {
  background-image: url('/hc/theming_assets/01K2XPR1ZNT4TREB8BBTYAK5WX') !important;
}
.hero-banner-image[data-category-id="29036358593298"] {
  background-image: url('/hc/theming_assets/01K36AH3C2AB09CX1X7N7TTEYE') !important;
}
.hero-banner-image[data-category-id="29036383581714"] {
  background-image: url('/hc/theming_assets/01K2ZA7C7R7RHTWHH0NGDR4BX8') !important;
}

.hero-desktop {
  display: block;
}

.hero-mobile {
  display: none;
}

.section-hero-default {
  background: #d2000f;
  color: white;
  padding: 80px 40px;
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Hero Image Container */
.hero-image-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Hero Title Overlay */
.hero-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: white;
}

.section-hero-description {
  font-size: 1.2rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  color: white;
}

.subsections-title,
.articles-title {
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
  display: block;
  clear: both;
}

/* Ensure the container doesn't interfere but allows 3D effect */
.section-container {
  display: block;
  width: 100vwS;
}

.section-top-articles {
  padding: 110px 0 0 0; 
  background: #f4f1ed;
  position: relative;
  z-index: 1;
  margin-top: -100px;
}

.section-top-articles .section-articles-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 20px;
  flex-wrap: wrap;
  clear: both;
}

.section-top-articles .section-article-item {
  background: transparent;
  border-radius: 16px;
  overflow: visible !important;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  min-height: 200px;
  max-height: 200px;
  min-width: 135px;
  max-width: 125px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.section-top-articles .section-article-item:hover {
  transform: scale(1.05) translateY(-5px);
  z-index: 999999 !important;
}

.section-top-articles .section-article-image {
  flex: 0 0 50px;
  background: #f4f1ed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-top-articles .section-article-icon {
  width: 32px;
  height: 32px;
}

.section-top-articles .section-article-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-top-articles .section-article-title {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.section-top-articles .section-article-excerpt {
  margin-bottom: 12px;
  font-size: 0.85rem;
  line-height: 1.4;
}

/***** Regular Articles Section *****/
.section-all-articles {
  background: #f4f1ed;
  position: relative;
}

.articles-list-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.articles-list-item {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.articles-list-item:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.articles-list-item:last-child {
  margin-bottom: 0;
}

/* Promoted Article Styling */
.articles-list-item.article-promoted {
  border-color: #ffc107;
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.articles-list-item.article-promoted:hover {
  border-color: #ffb302;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.article-promoted-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #ffc107;
  color: #856404;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-promoted-badge svg {
  width: 16px;
  height: 16px;
}

/* Article Content */
.article-content {
  flex: 1;
  padding-right: 40px; /* Space for promoted badge */
}

.article-title {
  color: #d2000f;
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.article-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-title a:hover {
  color: #d2000f;
  text-decoration: underline;
}

.article-title a:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
  border-radius: 2px;
}

.article-excerpt {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Article Meta Information */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #6c757d;
  border-top: 1px solid #f1f3f4;
  padding-top: 12px;
}

.article-author {
  font-weight: 500;
}

.article-date {
  font-style: italic;
}

.article-author::before {
  content: "👤 ";
  opacity: 0.7;
}

.article-date::before {
  content: "📅 ";
  opacity: 0.7;
}

/* Simple hover effect for better interaction */
.articles-list-item:hover .article-title a {
  color: #d2000f;
}

/* Focus styles for accessibility */
.articles-list-item:focus-within {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Empty State (keep existing) */
.section-empty-state {
  padding: 100px 0;
  text-align: center;
  background: #f4f1ed;
  margin-top: -100px;
  padding-top: 200px;
}

.section-empty-content h2 {
  color: #6c757d;
  margin-bottom: 15px;
  font-size: 2rem;
}

.section-empty-content p {
  color: #adb5bd;
  font-size: 1.1rem;
}

/***** Breadcrumb *****/
.section-breadcrumb {
  background: #2c3e50;
  padding: 15px 0;
  position: relative;
  z-index: 2;
}

.section-breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.section-breadcrumb-item {
  color: #bdc3c7;
}

.section-breadcrumb-item a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.section-breadcrumb-item a:hover {
  color: white;
}

.section-breadcrumb-item:not(:last-child)::after {
  content: '>';
  margin-left: 10px;
  color: #7f8c8d;
}

.section-breadcrumb-active {
  color: white;
  font-weight: 500;
}

.hero-spacer {
  height: 20px;
  background: #f4f1ed;
  position: relative;
  width: 100vw;
  z-index: 1;
}

.hero-breadcrumbs-spacer {
  height: 40px;
  background: #f4f1ed;
  position: relative;
  width: 100vw;
  z-index: 1;
}

.hero-breadcrumbs-spacer .breadcrumbs {
  margin: 15px 0 15px 0;
  padding: 0;
  padding-left: 30px;
  display: flex;
}

.hero-article-breadcrumbs-spacer {
  height: 50px;
  margin-top: 100px;
  background: #f4f1ed;
  position: relative;
  width: 100vw;
  z-index: 1;
}

.hero-article-breadcrumbs-spacer .breadcrumbs {
  margin: 15px 0 15px 0;
  position: bottom;
  padding-left: 0px;
  display: flex;
}

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

/* ================================================
   DESKTOP STYLES - Simplified and Responsive
   ================================================ */
@media (min-width: 1025px) {

    html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .article-container {
    display: grid;
    /* Increase sidebar widths from 180px to 220px */
    grid-template-columns: 260px 1fr 260px;
    gap: 30px; /* Keep gap or reduce if needed */
    align-items: start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
  }
  
  /* Update sidebar constraint */
  .article-sidebar {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    max-width: 260px; /* Match new grid width */
    border: 0;
    height: auto;
  }
  
  /* Position TOC in the third column with proper sticky behavior */
  .toc-navigation {
    grid-column: 3;
    width: 300px;
    position: relative;
    height: fit-content; /* Important for sticky behavior */
    margin-left: 30px;
    z-index: 50;
  }

  .toc-container {
    position: fixed;
    top: 100px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    width: 300px;
    max-height: calc(100vh - 40px); /* Don't exceed viewport height */
    overflow-y: auto; /* Scroll if content is too long */
    z-index: 10; /* Stay above other content */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
  }
  
  .article {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-wrap: break-word;
  }
    
  .toc-navigation-mobile,
  .toc-mobile-container {
    display: none !important;
  }
  
  .article-return-to-top {
    display: none;
  }
}
  
.article-header {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
  margin-top: 20px;
}

.article-avatar {
  margin-right: 10px;
}
.article-author {
  margin-bottom: 10px;
}
.article-title {
  overflow: none;
  text-overflow: ellipsis;
  max-width: 100%;
}

.article-title .icon-lock {
  position: relative;
  left: -5px;
  vertical-align: baseline;
}
.article [role=button] {
  flex-shrink: 0; /*Avoid collapsing elements in Safari (https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored)*/
  width: 100%;
}

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

.article-body h1 {
  color: #d2000f;
  font-size: 1.8rem;
  margin: 35px 0 20px 0;
  padding: 15px 0 15px 20px;
  position: relative;
}

.article-body h2 {
  color: #333;
  font-size: 1.4rem;
  margin: 30px 0 15px 0;
  padding: 12px 0 12px 15px;
}

.article-body h3 {
  color: #555;
  font-size: 1.2rem;
  margin: 25px 0 12px 0;
  padding: 10px 15px;
}


.article-body a {
  color: rgba(87, 93, 96, 1);
  text-decoration: underline;
}
.article-body a:visited {
  color: rgba(51, 51, 51, 1);
}
.article-body a:hover, .article-body a:active, .article-body a:focus {
  color: #0F3554;
}
.article-body img {
  height: auto;
  max-width: 100%;
}
.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 auto;
}
.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: #eae5dd;
}
.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: #eeeae4;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}
.article-body pre {
  background: #eeeae4;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}
.article-body blockquote {
  border-left: 1px solid #ddd;
  color: #666;
  font-style: italic;
  padding: 0 15px;
}
.article-body > p:last-child {
  margin-bottom: 0;
}
.article-content {
  line-height: 1.6;
  margin: 40px 0;
  word-wrap: break-word;
}
.article-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}
.article-comment-count {
  color: #666;
}
.article-comment-count:hover {
  text-decoration: none;
}
.article-comment-count-icon {
  vertical-align: middle;
  color: rgba(210, 0, 15, 1);
  width: 18px;
  height: 18px;
}

@media (min-width: 1024px) {
  .article-sidebar {
    border: 0;
    height: auto;
  }
}
.article-relatives {
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

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

.article-votes {
  border-top: 1px solid #ddd;
  padding: 30px 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 {
  margin: 10px 0 20px;
  text-align: center;
}
.article-more-questions a {
  color: rgba(87, 93, 96, 1);
  text-decoration: underline;
}
.article-more-questions a:visited {
  color: rgba(51, 51, 51, 1);
}
.article-more-questions a:hover, .article-more-questions a:active, .article-more-questions a:focus {
  color: #0F3554;
}
.article-return-to-top {
  border-top: 1px solid #87929D;
}
@media (min-width: 1024px) {
  .article-return-to-top {
    display: none;
  }
}
.article-return-to-top a {
  color: rgba(51, 51, 51, 1);
  display: block;
  padding: 20px 0;
}
.article-return-to-top a:hover, .article-return-to-top a:focus {
  text-decoration: none;
}
.article-return-to-top-icon {
  transform: rotate(0.5turn);
}
.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;
}
.sidenav-item {
  display: block;
  margin-top: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.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: rgba(51, 51, 51, 1);
  left: 0;
  position: absolute;
  top: 5px;
}
[dir=rtl] .attachments .attachment-item {
  padding-left: 0;
  padding-right: 20px;
}
[dir=rtl] .attachments .attachment-item .attachment-icon {
  left: auto;
  right: 0;
}

.upload-dropzone span {
  color: #666;
}

/***** 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: #666;
}
.share a:hover {
  text-decoration: none;
  color: rgba(210, 0, 15, 1);
}
.share a svg {
  height: 18px;
  width: 18px;
  display: block;
}

/***** Comments *****/
/* Styles comments inside articles, posts and requests */
.comment {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}
.comment-heading, .recent-articles-title,
.related-articles-title {
  margin-bottom: 5px;
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
}
.comment-overview {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  padding: 20px 0;
}
.comment-overview p {
  margin-top: 0;
}
.comment-callout {
  color: #666;
  display: inline-block;
  font-size: 13px;
  margin-bottom: 0;
}
.comment-callout a {
  color: rgba(87, 93, 96, 1);
  text-decoration: underline;
}
.comment-callout a:visited {
  color: rgba(51, 51, 51, 1);
}
.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: #666;
  font-size: 13px;
}
[dir=rtl] .comment-sorter {
  float: left;
}
.comment-wrapper {
  display: flex;
  position: relative;
}
.comment-wrapper.comment-official {
  border: 1px solid rgba(210, 0, 15, 1);
  padding: 40px 20px 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;
}

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

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

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

.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(210, 0, 15, 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: 'Wonder Regular';
  line-height: 1.6;
  overflow-x: auto;
}
.comment-body a {
  color: rgba(87, 93, 96, 1);
  text-decoration: underline;
}
.comment-body a:visited {
  color: rgba(51, 51, 51, 1);
}
.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: #eae5dd;
}
.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: #eeeae4;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}
.comment-body pre {
  background: #eeeae4;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}
.comment-body blockquote {
  border-left: 1px solid #ddd;
  color: #666;
  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: #666;
  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(210, 0, 15, 1);
}

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

.vote-voted {
  color: rgba(210, 0, 15, 1);
}

.vote-voted:hover {
  color: #6c0008;
}

/***** 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/01J3M8K5MB8GKSXPNKNPAT0EPB);
  margin-bottom: 10px;
}
.community-footer {
  padding-top: 50px;
  text-align: center;
}
.community-footer-title {
  font-size: 16px;
  margin-bottom: 20px;
}
.community-featured-posts .title {
  font-size: 18px;
  font-weight: 600;
}
.community-featured-posts, .community-activity {
  padding-top: 40px;
  width: 100%;
}
.community-header {
  margin-bottom: 30px;
}
.community-header .title {
  margin-bottom: 0;
  font-size: 16px;
}

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

/* Community topics grid */
.topics {
  max-width: none;
  width: 100%;
}
.topics-item .meta-group {
  justify-content: center;
  margin-top: 20px;
}

/* Community topic page */
.topic-header {
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}
.topic-header .dropdown {
  display: block;
  border-top: 1px solid #ddd;
  padding: 10px 0;
}

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

/* Topic, post and user follow button */
.community-follow {
  margin-bottom: 10px;
  width: 100%;
}

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

.community-follow button:hover {
  background-color: rgba(210, 0, 15, 1);
}
.community-follow button:hover::after, .community-follow button:focus::after {
  border-color: rgba(244, 241, 237, 1);
  color: rgba(244, 241, 237, 1);
}
.community-follow button[data-selected=true] {
  background-color: rgba(210, 0, 15, 1);
  color: rgba(244, 241, 237, 1);
}
.community-follow button[data-selected=true]::after {
  border-left: 1px solid rgba(244, 241, 237, 1);
  color: rgba(244, 241, 237, 1);
}
.community-follow button[data-selected=true]:hover {
  background-color: #6c0008;
  border-color: #6c0008;
}
.community-follow button::after {
  border-left: 1px solid rgba(210, 0, 15, 1);
  content: attr(data-follower-count);
  color: rgba(210, 0, 15, 1);
  display: inline-block;
  font-family: 'Wonder Bold';
  margin-left: 15px;
  padding-left: 10px;
  position: absolute;
  right: 10px;
}

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

/***** Striped list *****/
/* Used in community posts list and requests list */
.striped-list {
  padding: 0;
}
.striped-list-item {
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 0;
}

.striped-list-info {
  flex: 2;
}
.striped-list-title {
  color: rgba(87, 93, 96, 1);
  margin-bottom: 10px;
  margin-right: 5px;
}
.striped-list-title:hover, .striped-list-title:focus, .striped-list-title:active {
  text-decoration: underline;
}
.striped-list-title:visited {
  color: rgba(51, 51, 51, 1);
}
.striped-list .meta-group {
  margin: 5px 0;
}
.striped-list-count {
  color: #666;
  font-size: 13px;
  justify-content: flex-start;
  text-transform: capitalize;
}

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

.striped-list-count-item:last-child::after {
  display: none;
}
.striped-list-number {
  text-align: center;
}


/***** 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(210, 0, 15, 1);
}
.status-label-official {
  border-radius: 0;
  margin-right: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 100%;
}

[dir=rtl] .status-label-official {
  left: 30px;
  right: auto;
}
.status-label-not-planned, .status-label-closed {
  background-color: #e9ebed;
  color: #666;
}
.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;
}


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

.post-header .status-label {
  vertical-align: super;
}
.post-title {
  margin-bottom: 20px;
  width: 100%;
}

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

.post-author {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}
.post-avatar {
  margin-bottom: 30px;
}
.post-content {
  font-family: 'Wonder Regular';
  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: rgba(87, 93, 96, 1);
  text-decoration: underline;
}
.post-body a:visited {
  color: rgba(51, 51, 51, 1);
}
.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: #eae5dd;
}
.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: #eeeae4;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}
.post-body pre {
  background: #eeeae4;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}
.post-body blockquote {
  border-left: 1px solid #ddd;
  color: #666;
  font-style: italic;
  padding: 0 15px;
}
.post-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}
.post-comment-count {
  color: #666;
}
.post-comment-count:hover {
  text-decoration: none;
}
.post-comment-count .icon-comments {
  color: rgba(210, 0, 15, 1);
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 5px;
  vertical-align: middle;
}
.post-sidebar {
  border-top: 1px solid #ddd;
  flex: 1;
  padding: 30px 0;
  text-align: center;
}
@media (min-width: 1024px) {
  .post-sidebar {
    border: 0;
    flex: 1 0 30%;
    padding: 0 0 0 50px;
    text-align: initial;
  }
  [dir=rtl] .post-sidebar {
    padding: 0 50px 0 0;
  }
}
.post-sidebar-title {
  font-size: 18px;
  font-weight: 600;
}
.post-comments {
  margin-bottom: 20px;
}
@media (min-width: 1024px) {
  .post-comments {
    margin-bottom: 0;
  }
}

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

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

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

[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(210, 0, 15, 1);
}

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

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

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

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

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

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

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

/* Sidebar navigation that collapses on mobile */
.collapsible-sidebar {
  flex: 1;
  max-height: 45px;
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}
@media (min-width: 1024px) {
  .collapsible-sidebar {
    max-height: none;
    padding: 0;
  }
}
.collapsible-sidebar-title {
  margin-top: 0;
}
.collapsible-sidebar-toggle {
  position: absolute;
  top: 22.5px;
  transform: translateY(-50%);
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}
@media (min-width: 1024px) {
  .collapsible-sidebar-toggle {
    display: none;
  }
}
[dir=rtl] .collapsible-sidebar-toggle {
  left: 0;
  right: auto;
}
.collapsible-sidebar-toggle-icon {
  display: none;
}
.collapsible-sidebar-toggle[aria-expanded=false] .chevron-icon {
  display: inline-block;
}
.collapsible-sidebar-toggle[aria-expanded=true] .x-icon {
  display: inline-block;
}
.collapsible-sidebar-toggle:focus {
  outline: none;
  border: 1px solid rgba(210, 0, 15, 1);
}
.collapsible-sidebar-body {
  display: none;
}
@media (min-width: 1024px) {
  .collapsible-sidebar-body {
    display: block;
  }
}
.collapsible-sidebar[aria-expanded=true] {
  max-height: none;
}
.collapsible-sidebar[aria-expanded=true] .collapsible-sidebar-body {
  display: block;
}

/***** My activities *****/
.my-activities-nav {
  background-color: #eae5dd;
  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;
}
.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;
}


/* Requests table */
.requests-search {
  width: 100%;
}
.requests-table-toolbar {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

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

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

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

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


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

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

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

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


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

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


.no-activities {
  color: #666;
}

/***** Request *****/
.request-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .request-container {
    align-items: flex-start;
    flex-direction: row;
  }
}
.request-container .comment-container {
  min-width: 0;
}
.request-breadcrumbs {
  margin-bottom: 40px;
}
@media (min-width: 1024px) {
  .request-breadcrumbs {
    margin-bottom: 60px;
  }
}
.request-main {
  flex: 1 0 auto;
  order: 1;
}
.request-main .comment-fields, .request-main .request-submit-comment {
  display: none;
}
.request-main .comment-fields.shown {
  display: block;
}
.request-main .request-submit-comment.shown {
  display: inline;
}
@media (min-width: 1024px) {
  .request-main {
    flex: 0 0 66%;
    order: 0;
    min-width: 0;
  }
}
.request-main .comment-form-controls {
  display: block;
}
.request-main .comment-ccs {
  display: block;
}
.request-main .comment-show-container {
  border-radius: 2px;
  border: 1px solid #ddd;
  color: #666;
  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(210, 0, 15, 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(210, 0, 15, 1);
}
.request-main input#mark_as_solved {
  display: none;
}
.request-title {
  width: 100%;
}
@media (min-width: 1024px) {
  .request-title {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    max-width: 66%;
    padding-bottom: 20px;
  }
}
.request-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  order: 0;
}
@media (min-width: 1024px) {
  .request-sidebar {
    background-color: #eeeae4;
    border: 0;
    font-size: 13px;
    flex: 0 0 auto;
    padding: 0 20px;
    width: 30%;
  }
}
.request-sidebar h2 {
  font-size: 15px;
  font-weight: 600;
  position: relative;
}
@media (min-width: 1024px) {
  .request-sidebar h2 {
    display: none;
  }
}
.request-details {
  border-bottom: 1px solid #ddd;
  font-size: 0;
  margin: 0;
  padding-bottom: 20px;
}
.request-details:last-child {
  border: 0;
}
.request-details dt, .request-details dd {
  display: inline-block;
  vertical-align: top;
  font-size: 13px;
  margin: 20px 0 0 0;
}
.request-details dd {
  padding: 0 10px;
  width: 60%;
}
.request-details dd::after {
  content: "\a";
  white-space: pre;
}
.request-details dt {
  line-break: strict;
  color: #666;
  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: #666;
  font-size: 13px;
}
.meta-data:not(:last-child)::after {
  content: "·";
  margin: 0 5px;
}

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

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


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

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

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


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

@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: 1024px) {
  .profile-stats-counters .stat {
    flex-direction: row;
  }
}


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

.profile-private-badge {
  flex-basis: 100%;
  border: solid 1px rgba(210, 0, 15, 1);
  border-radius: 4px;
  color: rgba(210, 0, 15, 1);
  padding: 5px 20px;
  font-size: 12px;
  text-align: center;
}
.profile-private-badge .profile-private-icon {
  margin-left: 5px;
  line-height: 15px;
}

.profile-nav {
  background-color: #eae5dd;
  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: #666;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


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

.profile-badges-items {
  margin-top: 25px;
}
.profile-badges-item {
  border-top: 1px solid #ddd;
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: flex-start;
  padding: 27px 12px;
}
.profile-badges-item > div {
  padding-right: 12px;
  padding-left: 12px;
}
.profile-badges-item-image {
  height: 40px;
  width: 40px;
  margin-right: 12px;
}
.profile-badges-item-image img {
  max-height: 40px;
}
[dir=rtl] .profile-badges-item-image {
  margin-left: 12px;
  margin-right: 0;
}
.profile-badges-item-title, .profile-badges-item-metadata-title {
  font-size: 15px;
  margin-bottom: 10px;
}
.profile-badges-item-title {
  font-weight: 600;
}
.profile-badges-item-description, .profile-badges-item-metadata-description {
  color: #666;
  font-size: 13px;
  margin: 0;
}
.profile-badges-item-metadata {
  margin-left: auto;
  text-align: right;
}
[dir=rtl] .profile-badges-item-metadata {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

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

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

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

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

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


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

.profile-contribution-icon {
  left: 0;
  position: absolute;
  color: #ccc;
  line-height: 25px;
}
[dir=rtl] .profile-contribution-icon {
  right: 0;
}
.profile-contribution-icon svg {
  vertical-align: middle;
}

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


.profile-comments .profile-contribution-breadcrumbs {
  margin-left: 30px;
}
[dir=rtl] .profile-comments .profile-contribution-breadcrumbs {
  padding-right: 30px;
  padding-left: 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;
}

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

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

.profile-activity-icon {
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-color: rgba(244, 241, 237, 1);
  background-position: 50% 50%;
  text-align: center;
  color: #ccc;
}
[dir=rtl] .profile-activity-icon {
  right: 0;
}

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

/***** Search results *****/
.search-results {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}
@media (min-width: 1024px) {
  .search-results {
    flex-direction: row;
  }
}
.search-results-column {
  flex: 1;
}
@media (min-width: 1024px) {
  .search-results-column {
    flex: 0 0 75%;
  }
}
.search-results-sidebar {
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}
@media (min-width: 1024px) {
  .search-results-sidebar {
    border: 0;
    flex: 0 0 20%;
    height: auto;
  }
}
.search-results-sidebar .sidenav-item {
  border-radius: 4px;
  padding: 10px 36px;
  margin-bottom: 4px;
  color: rgba(51, 51, 51, 1);
}
.search-results-sidebar .sidenav-item:hover, .search-results-sidebar .sidenav-item.current {
  background-color: #e9ebed;
  text-decoration: none;
}
.search-results-sidebar .sidenav-subitem {
  unicode-bidi: embed;
}
.search-results-sidebar .sidenav-tag {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-grow: 0;
}
.search-results-sidebar .sidenav-tag .content-tag {
  background: #E9EBED;
  border-radius: 4px;
  padding: 4px 12px;
  text-decoration: none;
}
.search-results-sidebar .sidenav-tag .content-tag .label {
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  letter-spacing: -0.000427656px;
  color: #49545C;
  flex-grow: 0;
  vertical-align: middle;
  display: inline-block;
}
.search-results-sidebar .sidenav-tag .content-tag .close-icon {
  color: #555555;
  vertical-align: middle;
  display: inline-block;
}
.search-results-sidebar .collapsible-sidebar {
  margin-bottom: 30px;
}
.search-results-sidebar .collapsible-sidebar[aria-expanded=false] .multibrand-filter-list {
  display: none;
}
@media (min-width: 1024px) {
  .search-results-sidebar .collapsible-sidebar[aria-expanded=false] .multibrand-filter-list {
    display: block;
  }
}
.search-results-sidebar .multibrand-filter-list--collapsed li:nth-child(1n+6) {
  display: none;
}
.search-results-sidebar .multibrand-filter-list .doc-count {
  color: #666;
}
.search-results-sidebar .see-all-filters {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  padding: 10px;
  color: rgba(87, 93, 96, 1);
}
.search-results-sidebar .see-all-filters[aria-hidden=true] {
  display: none;
}
.search-results-sidebar .see-all-filters:hover {
  text-decoration: underline;
}
.search-results-sidebar .see-all-filters::after {
  content: " ⌄";
  font-weight: bold;
}
.search-results-subheading {
  font-size: 18px;
  font-weight: 600;
}
.search-results-list {
  margin-bottom: 25px;
}
.search-results-list > li {
  padding: 20px 0;
}
.search-results-list > li:first-child {
  border-top: 1px solid #ddd;
}
.search-results .no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
}
.search-results .no-results .headline {
  color: #2F3941;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.45px;
}
.search-results .no-results .action-prompt {
  color: #68737D;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.154px;
}
.search-results .no-results .action-prompt a {
  color: rgba(87, 93, 96, 1);
}
.search-results .no-results .action-prompt a:visited {
  color: rgba(87, 93, 96, 1);
}

.search-result-title-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-result-title {
  font-size: 16px;
  margin-bottom: 0;
}
.search-result-votes, .search-result-meta-count {
  color: #666;
  font-size: 13px;
}
.search-result-votes-icon, .search-result-meta-count-icon {
  color: rgba(210, 0, 15, 1);
  vertical-align: middle;
  width: 13px;
  height: 13px;
}
[dir=ltr] .search-result-votes, [dir=ltr] .search-result-meta-count {
  margin-left: 20px;
}
[dir=rtl] .search-result-votes, [dir=rtl] .search-result-meta-count {
  margin-right: 20px;
}
.search-result-meta-container {
  color: #666;
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .search-result-meta-container {
    flex-direction: row;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .search-result-meta-container nav {
    flex: 1;
  }
}
@media (min-width: 1024px) {
  [dir=ltr] .search-result-meta-container .meta-data {
    margin-left: 20px;
  }
}
@media (min-width: 1024px) {
  [dir=rtl] .search-result-meta-container .meta-data {
    margin-right: 20px;
  }
}
.search-result-meta-container .meta-data::after {
  content: none;
}
.search-result-breadcrumbs {
  margin: 0;
}
.search-result-description {
  margin-top: 10px;
  margin-bottom: 0;
  word-break: break-word;
}

/* 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: 'Wonder Regular';
  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 #d8dcde;
  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 #e9ebed;
  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 #C2C8CC;
  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;
}

/***** Summary component *****/
zd-summary-block {
  background: #f3f6f6;
}
[dir=ltr] zd-summary-block {
  border-left-color: #859fa1;
}
[dir=rtl] zd-summary-block {
  border-right-color: #859fa1;
}

/* Tonie Contact Reasons Guide Styles */
.tonie-guide-container {
    max-width: 1000px;
    margin: 20px auto;
    background: #f4f1ed;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    font-family: 'Wonder Regular';
}

.tonie-guide-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.tonie-guide-header h1 {
    color: #d2000f;
    font-size: 2em;
    margin-bottom: 5px;
    font-weight: 300;
}

.tonie-guide-header p {
    color: #666;
    font-size: 1em;
}

.tonie-stats-strip {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f94d32, #d2000f);
    border-radius: 15px;
    color: white;
    flex-wrap: wrap;
}

.tonie-stat {
    text-align: center;
}

.tonie-stat h3 {
    font-size: 1.8em;
    margin-bottom: 5px;
}

.tonie-stat p {
    opacity: 0.9;
    font-size: 0.9em;
}

.tonie-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.tonie-product-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #9c0000;
    transition: all 0.3s ease;
}

.tonie-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tonie-product-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tonie-product-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: white;
}

.tonie-icon-onlineshop { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.tonie-icon-toniebox { background: linear-gradient(135deg, #667eea, #764ba2); }
.tonie-icon-tonie { background: linear-gradient(135deg, #f093fb, #f5576c); }
.tonie-icon-digital { background: linear-gradient(135deg, #4ecdc4, #44a08d); }
.tonie-icon-accessories { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.tonie-icon-other { background: linear-gradient(135deg, #a8edea, #fed6e3); }

.tonie-product-title h3 {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 3px;
}

.tonie-product-title span {
    color: #666;
    font-size: 0.85em;
}

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

.tonie-issue-item {
    border-bottom: 1px solid #eee;
}

.tonie-issue-item:last-child {
    border-bottom: none;
}

.tonie-issue-header {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tonie-issue-header:hover {
    background-color: rgba(102, 126, 234, 0.05);
    margin: 0 -8px;
    padding: 8px;
    border-radius: 6px;
}

.tonie-issue-name {
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tonie-expand-icon {
    font-size: 0.8em;
    color: #fc8a8a;
    transition: transform 0.3s ease;
    width: 12px;
    text-align: center;
}

.tonie-expand-icon.expanded {
    transform: rotate(90deg);
}

.tonie-issue-count {
    background: #fc8a8a;
    color: white;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.75em;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

.tonie-sub-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(102, 126, 234, 0.02);
    margin: 0 -8px;
    border-radius: 0 0 6px 6px;
}

.tonie-sub-items.expanded {
    max-height: 400px;
    padding: 8px 16px 12px 16px;
}

.tonie-sub-item {
    padding: 6px 8px;
    font-size: 0.8em;
    color: #555;
    border-left: 2px solid #f94d32;
    margin: 4px 0;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
}

.tonie-sub-item:hover {
    background-color: rgba(102, 126, 234, 0.08);
    color: #333;
}

.tonie-summary-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.tonie-summary-section h2 {
    margin-bottom: 15px;
    font-size: 1.4em;
}

.tonie-top-issues {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.tonie-top-issue {
    background: rgba(255,255,255,0.2);
    padding: 12px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.tonie-top-issue h4 {
    font-size: 0.9em;
    margin-bottom: 5px;
}

.tonie-top-issue p {
    font-size: 0.8em;
    opacity: 0.9;
}

.tonie-summary-card {
    font-size: 0.9em;
    color: #555;
}

.tonie-summary-item {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.tonie-summary-item:last-child {
    border-bottom: none;
}


/* Hide original blocks styling */
.blocks-list {
  display: none;
}

.section.knowledge-base {
  text-align: center;
  display: block;
  height: auto;
  justify-content: unset;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.category-icon-container {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0 auto;
}

.category-icon-container .section-card {
    min-width: 150px;
}

.category-icon-container .product-title {
    color: black;
}

.product-card {
  background: white;
  border-radius: 24px !important;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  height: 200px; /* Changed from fixed height */
  /* Removed width: 220px and height: 220px */
}

.section-icon {
  width: 150px;  /* Reduced from 200px */
  height: 150px; /* Reduced from 200px */
  margin-bottom: 8px;
  border-radius: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

html {
    overflow-y: scroll; /* Forces scrollbar to always show */
}

.sections-container {
    transition: opacity 0.3s ease-in-out;
    min-height: 250px;
}

.sections-container.hidden {
    opacity: 0;
}

/* Home page sections with tabs */
.categories.products-grid .sections-container[style*="display: grid"] {
  display: flex !important;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  overflow-x: auto;
  overflow-y: hidden;
}



/* Category page sections */
.category-sections-grid .sections-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
}

/* Fix for single section in category */
.sections-container[style*="display"]:has(.section-card:only-child) {
    justify-content: center;
    align-items: center;
}

.sections-container[style*="display"] .section-card:only-child {
    margin: 0 auto;
}

/* Category icon container for category pages */
.category-icon-container {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0 auto;
}

.category-icon-container .section-card {
  min-width: 150px;
}

.category-icon-container .product-title {
  color: black;
}

/* Product/Section cards */
.product-card {
  background: white;
  border-radius: 24px !important;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  justify-content: center;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: #D2000F;
  text-decoration: none;
}

/* Section icons */
.section-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 8px;
  border-radius: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Product title */
.product-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-top: 10px;
}

/* Make cards fixed width in the flex container */
.sections-container[style*="display: grid"] .product-card {
  flex: 0 0 220px; /* Fixed width, won't shrink */
}

/* Hide scrollbar but keep functionality (optional) */
.sections-container[style*="display: grid"]::-webkit-scrollbar {
  height: 8px;
}

.sections-container[style*="display: grid"]::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.sections-container[style*="display: grid"]::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.sections-container[style*="display: grid"]::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Responsive design */
@media (max-width: 1024px) {
  .sections-container[style*="display: grid"] {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .sections-container[style*="display: grid"] {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .sections-container[style*="display: grid"] {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ========================================
   ICON BACKGROUNDS BY SECTION ID
   Keep your existing icon CSS as-is
   ======================================== */


/* Toniebox 1 */
[data-section-id="29036371188498"] .section-icon {
  background-image: var(--toniebox-1-icon);
  background-color: transparent;
}

[data-section-id="29036371188498"] .section-icon::before {
  display: none;
}

/* Toniebox 2 */
[data-section-id="29036371272594"] .section-icon {
  background-image: var(--toniebox-2-icon);
  background-color: transparent;
}

[data-section-id="29036371272594"] .section-icon::before {
  display: none;
}

/* All Tonies */
[data-section-id="29036387585426"] .section-icon {
  background-image: var(--all-tonies-icon);
  background-color: transparent;
}

[data-section-id="29036387585426"] .section-icon::before {
  display: none;
}

/* Classic Tonies */
[data-section-id="29036371208850"] .section-icon {
  background-image: var(--classic-tonies-icon);
  background-color: transparent;
}

[data-section-id="29036371208850"] .section-icon::before {
  display: none;
}

/* Creative Tonies */
[data-section-id="29036413076754"] .section-icon {
  background-image: var(--creative-tonies-icon);
  background-color: transparent;
}

[data-section-id="29036413076754"] .section-icon::before {
  display: none;
}

/* Clever Tonies */
[data-section-id="29036387853074"] .section-icon {
  background-image: var(--clever-tonies-icon);
  background-color: transparent;
}

[data-section-id="29036387853074"] .section-icon::before {
  display: none;
}

/* Audiobooks */
[data-section-id="29036383864850"] .section-icon {
  background-image: var(--audiobooks-icon);
  background-color: transparent;
}

[data-section-id="29036383864850"] .section-icon::before {
  display: none;
}

/* My First Tonies */
[data-section-id="29036413242258"] .section-icon {
  background-image: var(--my-first-tonies-icon);
  background-color: transparent;
}

[data-section-id="29036413242258"] .section-icon::before {
  display: none;
}

/* Headphones */
[data-section-id="29036358737682"] .section-icon {
  background-image: var(--headphones-icon);
  background-color: transparent;
}

[data-section-id="29036358737682"] .section-icon::before {
  display: none;
}

/* Sleeves */
[data-section-id="29036371429010"] .section-icon {
  background-image: var(--sleeves-icon);
  background-color: transparent;
}

[data-section-id="29036371429010"] .section-icon::before {
  display: none;
}

/* Sleepy Friends Tonies */
[data-section-id="29036400285842"] .section-icon {
  background-image: var(--sleepy-friends-icon);
  background-color: transparent;
}

[data-section-id="29036400285842"] .section-icon::before {
  display: none;
}

/* Cuddle Tonies */
[data-section-id="29036413251730"] .section-icon {
  background-image: var(--plush-tonies-icon);
  background-color: transparent;
}

[data-section-id="29036413251730"] .section-icon::before {
  display: none;
}

/* Tonieplay */
[data-section-id="29036400009490"] .section-icon {
  background-image: var(--tonieplay-icon);
  background-color: transparent;
  background-size: 70%;
  background-position: center center;
}

[data-section-id="29036400009490"] .section-icon::before {
  display: none;
}

/* Bags and Cases */
[data-section-id="29036412986258"] .section-icon {
  background-image: var(--bags-cases-icon);
  background-color: transparent;
}

[data-section-id="29036412986258"] .section-icon::before {
  display: none;
}

/* Charger */
[data-section-id="29036358903058"] .section-icon {
  background-image: var(--charger-icon);
  background-color: transparent;
}

[data-section-id="27366441819538"] .section-icon::before {
  display: none;
}

/* Shelves */
[data-section-id="29036400256018"] .section-icon {
  background-image: var(--shelves-icon);
  background-color: transparent;
}

/* Getting Started */
[data-section-id="29036358700434"] .section-icon {
  background-image: var(--getting-started-icon);
  background-color: #d2000f;
	background-size: 100px;
}

[data-section-id="29036358700434"] .section-icon::before {
  display: none;
}

/* Orders and Returns */
[data-section-id="29157131034514"] .section-icon {
  background-image: var(--orders-returns-icon);
  background-color: #d2000f;
  background-size: 100px;
}

[data-section-id="29036387760018"] .section-icon::before {
  display: none;
}

/* Account */
[data-section-id="29036387798930"] .section-icon {
  background-image: var(--account-icon);
  background-color: #d2000f;
  background-size: 100px;
}

[data-section-id="29036387798930"] .section-icon::before {
  display: none;
}

/* Mobile App */
[data-section-id="29036387840274"] .section-icon {
  background-image: var(--mobile-app-icon);
  background-color: #d2000f;
  background-size: 100px;
}

[data-section-id="29036387840274"] .section-icon::before {
  display: none;
}

/* Audio Library */
[data-section-id="29036387933970"] .section-icon {
  background-image: var(--audio-library-icon);
  background-color: #d2000f;
  background-size: 100px;
}

[data-section-id="29036387933970"] .section-icon::before {
  display: none;
}

/* Repair Service */
[data-section-id="29036413171602"] .section-icon {
  background-image: var(--repair-service-icon);
  background-color: #d2000f;
  background-size: 100px;
}

[data-section-id="29036413171602"] .section-icon::before {
  display: none;
}

/* Coloring Books */
[data-section-id="29036388005010"] .section-icon {
  background-image: var(--coloring-books-icon);
  background-size: 100px;
}

[data-section-id="29036388005010"] .section-icon::before {
  display: none;
}

/* All Other Articles*/
[data-section-id="29036359077778"] .section-icon {
  background-image: var(--all-other-articles-icon);
  background-color: #d2000f;
  background-size: 100px;
}

[data-section-id="29036359077778"] .section-icon::before {
  display: none;
}

/*Legal and Compliance*/
[data-section-id="29911785957650"] .section-icon {
  background-image: var(--legal-and-compliance-icon);
  background-color: #d2000f;
  background-size: 100px;
}

[data-section-id="29911785957650"] .section-icon::before {
  display: none;
}

/* Text styling */
.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: black;
  margin-bottom: 8px;
  text-align: center !important;
}

.product-subtitle {
  font-size: 0.9rem;
  color: #666;
}

/* Navigation tabs */
.nav-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-tab {
  padding: 8px 16px;
  border-radius: 20px;
  background-color: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.nav-tab.active {
  background-color: #dc3545;
  color: white;
}

.nav-tab:hover:not(.active) {
  background-color: #f8f9fa;
  color: #333;
}

/* Simple Topics Grid - No Carousel */
.topics-simple-grid {
  display: flex; /* Use flex instead of grid */
  gap: 20px;
  margin-bottom: 32px;
  margin-top: 20px;
  justify-content: center; /* Center the row */
}

/* Topics grid cards - same styling as your main product cards */
.topics-grid-card {
  flex: 1; /* Equal width for all cards */
  max-width: 250px; /* Prevent them from getting too wide */
  min-width: 180px; /* Prevent them from getting too narrow */
  background: #D2000F;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.topics-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: #D2000F;
  text-decoration: none;
}

.topics-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 16px;
  color: #f4f1ed;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.topics-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

/* See All Topics Button */
.see-all-topics {
  text-align: center;
  margin-top: 24px;
}

.see-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #333333 !important;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none !important;
}

.see-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-decoration: none;
  color: white;
}

.see-all-btn:active {
  transform: translateY(0);
}


.topics-icon.topics-icon-1 {
  background-image: url('/hc/theming_assets/01K2QW6E88KXMQGKM3FPEWQP15');
  background-color: transparent;
}

.topics-icon.topics-icon-2 {
  background-image: url('/hc/theming_assets/01K2QWR70W6E3WPPGMMBSPYBHR');
  background-color: transparent;
}

.topics-icon.topics-icon-3 {
  background-image: url('/hc/theming_assets/01K335Z6HEZNYQ62EFKQ8ARGXA');
  background-color: transparent;
}

.topics-icon.topics-icon-4 {
  background-image: url('/hc/theming_assets/01K2QWR57MRBNHDFMWN7JQH2WS');
  background-color: transparent;
}

.topics-icon.topics-icon-5 {
  background-image: url('/hc/theming_assets/01K36EPG26WBBM9W6H2NMZHP5Q');
  background-color: transparent;
}

/* Subsections title */
.subsections-title,
.articles-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 32px;
}

/* Promoted articles styling */
.article-promoted {
  border-color: #f39c12 !important;
  background: linear-gradient(145deg, #fff9e6 0%, #ffffff 100%) !important;
}

/* Fix for section pages - just add this to your existing CSS */
.section-all-articles .section-container {
  display: block !important;
  columns: unset !important;
  column-count: unset !important;
}

.see-all-sections {
  clear: both;
  display: block;
  width: 100%;
}

.search-section {
  border-top: 1px solid #e9ecef;
  padding: 60px 0;
  margin-top: 40px;
}

.search-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.search-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 12px;
  line-height: 1.3;
}

.search-subtitle {
  font-size: 1.1rem;
  color: #636e72;
  margin-bottom: 32px;
  line-height: 1.5;
}

.search-form-wrapper {
  margin-bottom: 24px;
}

.search-input-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 16px 60px 16px 20px;
  font-size: 16px;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  background: white;
  transition: all 0.3s ease;
  outline: none;
}

.search-input:focus {
  border-color: #667eea;
}

.search-input::placeholder {
  color: #adb5bd;
}

.search-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #333333;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.search-button:hover {
  background: #D2000f;
  transform: translateY(-50%) scale(1.05);
}

.search-button:active {
  transform: translateY(-50%) scale(0.95);
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 20px;
}

.popular-label {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
  margin-right: 8px;
}

.popular-link {
  display: inline-block;
  padding: 6px 12px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  color: #495057;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.popular-link:hover {
  background: #333333;
  color: white;
  border-color: #667eea;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Override the global clear button styles for our custom search */
.search-section .search-form .clear-button {
  display: none !important;
}

.search-section .search-has-value .clear-button {
  display: none !important;
}

/* Ensure our search input doesn't get modified by the global search styles */
.search-section .search-input {
  border-radius: 50px !important;
  border-right-color: #e9ecef !important;
}

.search-section .search-input:focus {
  border-right-color: #667eea !important;
}

.hero-static-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 0 0 48px 48px;
  overflow: hidden;
}

.hero-static-container .hero-static-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background: #d2000f;
  padding: 120px 40px 60px 40px;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}

.hero-static-image-cutout {
  background-image: url('/hc/theming_assets/01KVAACDQ7H7QRR717FC9GBEVK') !important;
  background-repeat: no-repeat !important;
  background-size: 850px auto !important;
  background-position: 104.5% -35% !important;
  background-repeat: no-repeat !important;
}

.hero-static-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 60px;
}
  
.hero-static-text-section {
  max-width: 600px;
  width: 100%;
  text-align: left;
  color: white;
}

.hero-static-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  margin-top: -50px;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-static-title-2 {
  font-size: 1.5rem;
  font-weight: 200;
  margin-bottom: 10px;
  margin-top: 10px;
  line-height: 1.1;
}

.hero-static-subtitle {
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  width: 500px;
}

.hero-static-ctas {
 display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary, .cta-tertiary {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.cta-primary {
  background: rgba(255, 255, 255, 0.95);
  color: #2d3436;
}


.cta-secondary, .cta-tertiary {
  background: rgba(255, 255, 255, 0.2);
  color: white !important;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

/* Mobile Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
  
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  * {
    box-sizing: border-box;
  }
  
  /* Base Container */
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Hero Section - Tablet */
  .hero-static-container {
    height: 450px;
  }
  
  .hero-static-content-wrapper {
    margin-top: -50px !important;
  }
  
  .hero-static-title {
    font-size: 2rem !important;
    margin-bottom: 20px;
  }
  
  .hero-static-subtitle {
    font-size: 1rem !important;
    margin-bottom: 30px;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .hero-static-ctas {
    gap: 12px;
  }
  
  .cta-primary, .cta-secondary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  
  /* Products Grid - Tablet */
  .section-view {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 0 20px;
  }
  
  .product-card {
    width: 180px;
    height: 180px;
    padding: 20px;
  }
  
  .section-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
  }
  
  .product-title {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .product-subtitle {
    font-size: 0.85rem;
  }
  
  /* Navigation Tabs - Tablet */
  .nav-tabs {
    gap: 15px;
    margin-bottom: 25px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .nav-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .nav-tab {
    padding: 10px 20px;
    font-size: 15px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  /* Topics Section - Tablet */
  .topics-simple-grid {
    gap: 16px;
    padding: 0 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .topics-grid-card {
    min-width: 160px;
    max-width: 200px;
    padding: 20px;
  }
  
  .topics-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }
  
  .topics-title {
    font-size: 16px;
  }
  
  /* AI Chat Banner - Tablet */
  .ai-chat-content {
    padding: 35px 40px;
    flex-direction: row;
    gap: 30px;
  }
  
  .ai-chat-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }
  
  .ai-chat-subtitle {
    font-size: 1.1rem;
    margin-bottom: 28px;
  }
  
  .toni-character {
    width: 200px;
    height: 200px;
  }
  
  .chat-now-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  /* Search Section - Tablet */
  .search-container {
    padding: 0 30px;
  }
  
  .search-title {
    font-size: 1.8rem;
  }
  
  .search-subtitle {
    font-size: 1.05rem;
  }
  
  .search-input {
    padding: 15px 55px 15px 20px;
  }
}

/* AI Chat Banner Section */
.ai-chat-banner {
    background: #005463;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.ai-chat-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 60px;
    min-height: 200px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.ai-chat-text {
    flex: 1;
    max-width: 600px;
    color: white;
}

.ai-chat-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ai-chat-subtitle {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 32px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.ai-chat-visual {
    flex: 0 0 auto;
    margin-left: 40px;
    position: relative;
}

.toni-character {
    width: 350px;
    height: 350px;
    background-image: url('/hc/theming_assets/01K2QXQWQQSN6H70NSXQNCN271');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Chat Now Button */
.chat-now-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #d2000f;
    border: 2px solid rgba(255, 255, 255, 0.95);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-now-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: #d2000f;
    border-color: white;
}

.chat-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.gradient-banner {
  width: 100%;
  height: 16px;
  background: url('$assets-gradientbanner-png');
  z-index: 1000;
}


.toc-container.scrolled {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.toc-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e74c3c;
}

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

.toc-menu-item {
  margin-bottom: 6px;
}

.toc-menu-link {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.4;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.toc-menu-link:hover {
  background: #e74c3c;
  color: white;
  text-decoration: none;
  transform: translateX(3px);
}

.toc-menu-link.active {
  background: #e74c3c;
  color: white;
  font-weight: 500;
  border-left-color: #c0392b;
  transform: translateX(3px);
}

/* Nested heading levels */
.toc-menu-item.level-1 .toc-menu-link {
  font-weight: 500;
  font-size: 0.9rem;
}

.toc-menu-item.level-2 .toc-menu-link {
  padding-left: 20px;
  font-size: 0.8rem;
}

.toc-menu-item.level-3 .toc-menu-link {
  padding-left: 28px;
  font-size: 0.75rem;
}

.toc-menu-item.level-4 .toc-menu-link {
  padding-left: 36px;
  font-size: 0.75rem;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Add scroll offset for headings */
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  scroll-margin-top: 40px; /* Increased offset */
  padding-top: 10px; /* Add some breathing room */
}
.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e74c3c;
}

.toc-header .toc-heading {
  margin: 0; /* Remove margin since it's now in a flex container */
  padding-bottom: 0; /* Remove padding since border is on parent */
  border-bottom: none; /* Remove border since it's on parent */
}

.toc-toggle {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  color: #6c757d;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.toc-toggle:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.toc-toggle:focus {
  outline: 2px solid #e74c3c;
  outline-offset: 2px;
}

.toc-toggle-icon {
  font-weight: bold;
  font-size: 0.8rem;
}

/* Main TOC Menu Collapse */
.toc-menu.collapsed {
  max-height: 0 !important;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* TOC Item Wrapper for main headings with section toggles */
.toc-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Update main heading links to work in wrapper */
.toc-item-wrapper .toc-menu-link {
  flex: 1; /* Take up remaining space */
}

/* Section Toggle Buttons (for subsections) */
.toc-section-toggle {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.toc-section-toggle:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.toc-section-toggle:focus {
  outline: 2px solid #e74c3c;
  outline-offset: 1px;
}

.toc-section-toggle-icon {
  font-size: 0.7rem;
  font-weight: bold;
  color: #6c757d;
  transition: transform 0.3s ease;
}

.toc-section-toggle[aria-expanded="true"] .toc-section-toggle-icon {
  transform: rotate(45deg);
}

/* Submenus (collapsible subsections) with enhanced auto-behavior */
.toc-submenu {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease; /* Slightly slower for auto-behavior */
  background: rgba(248, 249, 250, 0.5);
  border-radius: 6px;
}

.toc-submenu.expanded {
  padding: 8px 0;
}

.toc-submenu .toc-menu-item {
  margin-bottom: 2px;
}

.toc-submenu .toc-menu-link {
  margin: 0 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  padding: 6px 12px;
  transition: all 0.3s ease; /* Smooth transitions for auto-highlighting */
}

/* Enhanced active link highlighting in submenus */
.toc-submenu .toc-menu-link.active {
  background: #e74c3c;
  color: white;
  transform: translateX(6px); /* Slightly more emphasis for sub-items */
  box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
}

/* Visual feedback for auto-expanding sections */
.toc-submenu.auto-expanded {
  background: rgba(102, 126, 234, 0.08); /* Subtle blue tint for auto-expanded */
  border: 1px solid rgba(102, 126, 234, 0.2);
}

/* Section toggle icons with enhanced states */
.toc-section-toggle-icon {
  font-size: 0.7rem;
  font-weight: bold;
  color: #6c757d;
  transition: transform 0.4s ease, color 0.3s ease; /* Smoother icon transitions */
}

.toc-section-toggle[aria-expanded="true"] .toc-section-toggle-icon {
  transform: rotate(45deg);
  color: #e74c3c; /* Red when expanded */
}

/* Auto-expanded section styling */
.toc-section-toggle.auto-expanded {
  border-color: rgba(102, 126, 234, 0.3);
  background: rgba(102, 126, 234, 0.05);
}

.toc-section-toggle.auto-expanded .toc-section-toggle-icon {
  color: #667eea; /* Blue for auto-expanded */
}

/* Enhanced styling for items with children */
.toc-menu-item.has-children {
  margin-bottom: 8px;
}

.toc-menu-item.has-children > .toc-item-wrapper .toc-menu-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: #495057;
}

/* Animation for submenu expansion */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toc-submenu.expanded {
  animation: slideDown 0.3s ease forwards;
}

/* Update responsive design to account for new elements */
@media (max-width: 1200px) {
  .toc-toggle {
    font-size: 0.7rem;
    padding: 3px 6px;
  }
  
  .toc-section-toggle {
    width: 20px;
    height: 20px;
  }
  
  .toc-section-toggle-icon {
    font-size: 0.6rem;
  }
}


/* ============================================
   TONIES SECTION PAGE - CLEANED CSS
   ============================================ */

/* Container */
.tonies-section-page {
    width: 100%;
}

/* Header */
.tonies-section-page .tsp-header {
    background: white;
    padding: 16px 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tonies-section-page .tsp-logo {
    color: #d2000f;
    font-weight: bold;
    font-size: 18px;
}

.tonies-section-page .tsp-user-menu {
    display: flex;
    gap: 20px;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.tonies-section-page a:visited {
    color: white;
}

/* Keep button text white */
.tsp-read-full-btn:visited,
.tsp-view-all-btn:visited {
    color: white;
}

/* Hero Section - Base styles */
.tonies-section-page .tsp-hero {
    background: #d2000f;
    color: white;
    background-repeat: no-repeat;
    background-size: cover; /* Changed from 600px auto to cover */
    background-position: center center; /* Centers the image */
    padding: 120px 40px 60px 40px;
    border-radius: 0 0 30px 30px;
    height: 500px;
    overflow: hidden;
    position: relative; /* Added for better control */
}

/* Toniebox 1 */
.tonies-section-page .tsp-hero[data-section-id="29036371188498"] {
    background-image: var(--toniebox-1-icon);
  	background-position: 115% 0% !important;
  	background-size: 800px auto !important;
}

/* Toniebox 2 */
.tonies-section-page .tsp-hero[data-section-id="29036371272594"] {
    background-image: var(--toniebox-2-icon);
  	background-position: 110% -10% !important;
  	background-size: 800px auto !important;
}

/* All Tonies */
.tonies-section-page .tsp-hero[data-section-id="29036387585426"] {
    background-image: var(--all-tonies-icon);
  	background-position: 100% 200% !important;
    background-size: 500px auto !important;
}

/* Classic Tonies */
.tonies-section-page .tsp-hero[data-section-id="29036371208850"] {
    background-image: url('/hc/theming_assets/01K2VA98F2SZKVVWBMP3CKMMS0');
  	background-position: 110% -10% !important;
  	background-size: 600px auto !important;
}

/* Creative Tonies */
.tonies-section-page .tsp-hero[data-section-id="29036413076754"] {
    background-image: var(--creative-tonies-icon);
  	background-size: 550px auto !important;
  	background-position: 110% -90% !important;
}

/* Clever Tonies */
.tonies-section-page .tsp-hero[data-section-id="29036387853074"] {
    background-image: var(--clever-tonies-icon);
		background-position: 110% 200% !important;
  	background-size: 600px auto !important;
}

/* Audiobooks */
.tonies-section-page .tsp-hero[data-section-id="29036383864850"] {
    background-image: var(--audiobooks-icon);
  	background-position: 110% -300% !important;
  	background-size: 700px auto !important;
}

/* Night Light */
.tonies-section-page .tsp-hero[data-section-id="29036400285842"] {
    background-image: var(--sleepy-friends-icon);
  	background-size: 350px auto !important;
  	background-position: 100% 150% !important;
}

/* Plush Tonies */
.tonies-section-page .tsp-hero[data-section-id="29036413251730"] {
    background-image: var(--plush-tonies-icon);
  	background-size: 650px auto !important;
  	background-position: 120% -450% !important;
}

.tonies-section-page .tsp-hero[data-section-id="29036413242258"] {
    background-image: var(--my-first-tonies-icon);
  	background-position: 110% 500% !important;
  	background-size: 650px auto !important;
}

.tonies-section-page .tsp-hero[data-section-id="29036400009490"] {
    background-image: var(--tonieplay-icon);
  	background-size: 500px auto !important;
  	background-position: 110% -360% !important;
  	
}

.tonies-section-page .tsp-hero[data-section-id="29036358737682"] {
    background-image: var(--headphones-icon);
  	background-position: 100% -200% !important;
		background-size: 400px auto !important;
}

.tonies-section-page .tsp-hero[data-section-id="29036412986258"] {
    background-image: var(--bags-cases-icon);
  	background-position: 110% -10% !important;
  	background-size: 600px auto !important;
}

.tonies-section-page .tsp-hero[data-section-id="29036358903058"] {
    background-image: var(--charger-icon);
  	background-position: 105% 115% !important;
  	background-size: 800px auto !important;
}

.tonies-section-page .tsp-hero[data-section-id="29036400256018"] {
    background-image: var(--shelves-icon);
  	background-position: 105% 100% !important;
  	background-size: 700px auto !important;
}

.tonies-section-page .tsp-hero[data-section-id="29036371429010"] {
    background-image: var(--sleeves-icon);
  	background-position: 110% 200% !important;
  	background-size: 600px auto !important;
}

/* Getting Started */
.tonies-section-page .tsp-hero[data-section-id="29036358700434"] {
    background-image: url('/hc/theming_assets/01K32YK5YGKTX1BWDTXET2J8JT');
}

/* Orders and Returns */
.tonies-section-page .tsp-hero[data-section-id="29157131034514"] {
    background-image: url('/hc/theming_assets/01K32YEZTYF324M88QZ3QGSEX6');
}

/* Account */
.tonies-section-page .tsp-hero[data-section-id="29036387798930"] {
  background-image: url('/hc/theming_assets/01K32YB305GK1PR3HCVJRHGWQT');
}

/* Mobile App and Website */
.tonies-section-page .tsp-hero[data-section-id="29036387840274"] {
  background-image: url('/hc/theming_assets/01K32Y4GNDMCEQ54305MQYY2TE');
}

/* Audio Library */
.tonies-section-page .tsp-hero[data-section-id="29036387933970"] {
  background-image: url('/hc/theming_assets/01K3SHBKKD190S33F4PKF56CW2');
}

/* Legal and Compliance */
.tonies-section-page .tsp-hero[data-section-id="29036359077778"] {
  background-image: url('/hc/theming_assets/01K8K47CT43V6Q94MBHRWDBNNA');
}

.tonies-section-page .tsp-hero-text h1 {
    font-size: 56px;
    margin-bottom: 16px;
    font-weight: 700;
}

.tonies-section-page .tsp-hero-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
    max-width: 60% !important;
}

.tonies-section-page .tsp-hero-text a {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
}

.tonies-section-page .tsp-checklist {
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
}

.tonies-section-page .tsp-hero-image {
    width: 300px;
    height: 300px;
    position: relative;
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.tonies-section-page .tsp-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.tonies-section-page .tsp-split-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.tonies-section-page .tsp-sidebar {
    background: white;
    border-radius: 20px;
    padding: 28px;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    position: sticky;
    top: 20px;
}

.tonies-section-page .tsp-sidebar-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f4f1ed;
}

.tonies-section-page .tsp-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.tonies-section-page .tsp-sidebar-subtitle {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* Topics List */
.tonies-section-page .tsp-guides-section {
    margin-bottom: 24px;
}

.tonies-section-page .tsp-guides-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    margin-bottom: 16px;
}

.tonies-section-page .tsp-guides-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tonies-section-page .tsp-guide-item {
    display: block;
    padding: 14px 16px;
    background: #f8f8f8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.tonies-section-page .tsp-guide-item:hover {
    background: #f0f0f0;
    border-left-color: #d2000f;
    transform: translateX(3px);
}

.tonies-section-page .tsp-guide-item.active {
    background: #d2000f;
    color: white;
    border-left-color: #900;
}

.tonies-section-page .tsp-guide-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: color 0.2s ease;
}

.tonies-section-page .tsp-guide-item.active .tsp-guide-name,
.tonies-section-page .tsp-guide-item:hover .tsp-guide-name {
    color: #d2000f;
}

.tonies-section-page .tsp-guide-item.active .tsp-guide-name {
    color: white;
}

@media (max-width: 768px) {
    .tsp-mobile-dropdown {
        background: white;
        border: 2px solid #d2000f;
        border-radius: 8px;
        margin: 10px;
        position: relative;
    }
    
    .tsp-mobile-dropdown-toggle {
        padding: 15px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .tsp-mobile-dropdown-toggle::after {
        content: '▼';
        color: #d2000f;
    }
    
    .tsp-mobile-dropdown-menu {
        display: none;
        border-top: 2px solid #d2000f;
    }
    
    .tsp-mobile-dropdown.active .tsp-mobile-dropdown-menu {
        display: block;
    }
    
    .tsp-mobile-dropdown-item {
        padding: 12px 15px;
        cursor: pointer;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .tsp-mobile-dropdown-item.active {
        background: #d2000f;
        color: white;
    }
      .tsp-guides-list {
        display: none !important;
    }
    
    /* Also hide the guides title if you want */
    .tsp-guides-title {
        display: none !important;
    }
}

@media (min-width: 768px) {  /* Adjust breakpoint as needed */
    .tsp-mobile-dropdown {
        display: none !important;
    }
}

/* ============================================
   PREVIEW PANEL - SIMPLIFIED LIST VIEW
   ============================================ */
.tonies-section-page .tsp-preview-panel {
    background: white;
    border-radius: 20px;
    padding: 32px;
}

/* Section Container */
.tonies-section-page .tsp-section-view {
    display: none;
}

.tonies-section-page .tsp-section-view.active,
.tonies-section-page .tsp-section-view:first-child {
    display: block;
}

/* Section Header */
.tonies-section-page .tsp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.tonies-section-page .tsp-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.tonies-section-page .tsp-article-count {
    background: #f3f4f6;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

/* ============================================
   ARTICLES LIST - SIMPLIFIED
   ============================================ */
.tonies-section-page .tsp-articles-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual Article Preview */
.tonies-section-page .tsp-article-preview {
  	display: block !important;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
  	margin-bottom: 16px; 	
}

.tsp-article-preview[data-article-id="30575421479954"] {
    display: none !important;
}

.tonies-section-page .tsp-article-preview:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Article Header */
.tonies-section-page .tsp-article-header {
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 1px solid #e5e7eb;
}

.tonies-section-page .tsp-article-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 6px 0;
}

.tonies-section-page .tsp-article-meta {
    font-size: 12px;
    color: #666;
    display: flex;
    gap: 12px;
}

/* ============================================
   ARTICLE CONTENT WRAPPER - GRID LAYOUT
   ============================================ */
.tonies-section-page .tsp-article-content-wrapper {
    display: grid;
    grid-template-columns: 5fr 1fr;
    height: 150px;
    background: white;
}

.tonies-section-page .tsp-article-body {
    padding: 20px;
    overflow: hidden;  /* Hide both scrollbars */
    border-right: 1px solid #e5e7eb;
}

.tonies-section-page .tsp-article-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 4;  /* Adjust number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Loading State */
.tonies-section-page .tsp-loading-preview {
    color: #999;
    font-style: italic;
}

/* Preview Text */
.tonies-section-page .tsp-preview-text p {
    margin: 0;
    line-height: 1.6;
}

/* Article Actions (Right Column - 1/6) */
.tonies-section-page .tsp-article-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
}

/* Read More Button */
.tonies-section-page .tsp-read-full-btn {
    padding: 10px 20px;
    background: #d2000f;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tonies-section-page .tsp-read-full-btn:hover {
    background: #b30010;
    transform: scale(1.05);
}

.tonies-section-page .tsp-view-all-btn {
    display: inline-block;
    padding: 12px 32px;
    background: white;
    color: #d2000f;
    border: 2px solid #d2000f;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tonies-section-page .tsp-view-all-btn:hover {
    background: #d2000f;
    color: white;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.tonies-section-page .tsp-no-articles {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tonies-section-page .tsp-preview-loaded .tsp-article-excerpt {
    animation: fadeIn 0.3s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .tonies-section-page .tsp-split-layout {
        grid-template-columns: 300px 1fr;
        gap: 20px;
    }
}


@keyframes spin {
    to { transform: rotate(360deg); }
}

.tsp-empty-articles {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.tsp-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.tsp-error {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Buttons */
.tsp-read-more-btn,
.tsp-read-full-btn {
    padding: 12px 24px;
    background: #d2000f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    display: inline-block;
}

.tsp-view-all-btn {
    padding: 12px 24px;
    background: #d2000f;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    display: block; /* Change from inline-block to block */
    margin: 0 auto; /* Centers the button */
    width: fit-content; /* Prevents button from stretching full width */
}

.tsp-read-more-btn:hover,
.tsp-read-full-btn:hover,
.tsp-view-all-btn:hover {
    background: #b30010;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 0, 15, 0.3);
}

.tsp-browse-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 20px;
    background: #d2000f;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.tsp-browse-btn:hover {
    background: #b30010;
    transform: translateY(-2px);
}

.tsp-extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    border-radius: 12px;
    max-width: 100%; /* Prevent overflow */
    overflow-x: auto; /* Allow scroll if needed */
}

/* Individual Column Styling */
.tsp-extras-column {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

/* Column Headers */
.tsp-column-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.tsp-column-icon {
    font-size: 20px;
}

.tsp-column-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* ============================================
   COLUMN 1: AT A GLANCE STYLES
   ============================================ */
.tsp-at-glance-content strong {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tsp-coverage-list {
    margin: 0;
    padding-left: 20px;
    list-style-type: none;
}

.tsp-coverage-list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.tsp-coverage-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* ============================================
   COLUMN 2: KEYWORDS STYLES
   ============================================ */
.tsp-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tsp-keyword-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tsp-keyword-tag:hover {
    background: #1976d2;
    color: white;
    transform: scale(1.05);
}

/* ============================================
   COLUMN 3: KEY CONCEPTS STYLES
   ============================================ */
.tsp-concepts-list {
    margin: 0;
    padding-left: 20px;
    list-style-type: none;
}

.tsp-concepts-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 24px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.tsp-concepts-list li:before {
    content: "💡";
    position: absolute;
    left: 0;
    font-size: 14px;
}

/* ============================================
   RELATED ARTICLES SECTION
   ============================================ */
.tsp-related-articles-section {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tsp-related-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.tsp-related-header h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.tsp-no-related {
    text-align: center;
    padding: 20px;
}

.tsp-no-related p {
    color: #666;
    margin-bottom: 12px;
}

.tsp-browse-section-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #d2000f;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tsp-browse-section-btn:hover {
    background: #b30010;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(210, 0, 15, 0.3);
}

/* ============================================
   LOADING STATES
   ============================================ */
.tsp-extras-column.loading {
    opacity: 0.6;
}

.tsp-extras-column.loading .tsp-coverage-list li,
.tsp-extras-column.loading .tsp-keyword-tag,
.tsp-extras-column.loading .tsp-concepts-list li {
    background: #f0f0f0;
    color: transparent;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet - 2 columns with concepts spanning full width */
@media (min-width: 769px) and (max-width: 1024px) {
    .tsp-extras-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tsp-concepts-column {
        grid-column: 1 / -1;
    }
}

/* Color Classes */
.guide-color-0 { background: linear-gradient(135deg, #4ECDC4, #6eddd5); }
.guide-color-1 { background: linear-gradient(135deg, #FF6B6B, #ff8787); }
.guide-color-2 { background: linear-gradient(135deg, #95E77E, #a8ec93); }
.guide-color-3 { background: linear-gradient(135deg, #FFD93D, #ffe05a); }
.guide-color-4 { background: linear-gradient(135deg, #A8E6CF, #bbecd9); }

.quick-icon-0 { background: linear-gradient(135deg, #4169E1, #6495ED); }
.quick-icon-1 { background: linear-gradient(135deg, #FF6B6B, #ff8787); }
.quick-icon-2 { background: linear-gradient(135deg, #95E77E, #a8ec93); }
.quick-icon-3 { background: linear-gradient(135deg, #FFD93D, #ffe05a); }

@media (max-width: 1024px) {
    .tonies-section-page .tsp-content-layout {
        grid-template-columns: 1fr;
    }
    
    .tonies-section-page .tsp-sidebar {
        position: static;
        margin-bottom: 32px;
    }
    
    .tonies-section-page .tsp-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tonies-section-page .tsp-hero-image {
        display: none;
    }
}

/* Additional Content Sections */
.section-heading {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 0px;
}

/* Quick Setup Guide */
.quick-guide-section {
  margin: 80px 0;
}

.setup-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.setup-step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #d2000f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.setup-step h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.setup-step p {
  font-size: 14px;
  color: #666;
}

/* LED Guide */
.led-guide-section {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 48px 32px;
  margin: 80px 0;
}

.led-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.led-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 20px;
  border-radius: 12px;
}

.led-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.led-indicator.green { background: #4CAF50; }
.led-indicator.orange { background: #FF9800; }
.led-indicator.red { background: #f44336; }
.led-indicator.blue { background: #2196F3; }

.led-indicator.pulsing {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.led-info strong {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
}

.led-info p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* Comparison Section */
.comparison-section {
  margin: 80px 0;
}

.comparison-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.comparison-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.content-type { background: linear-gradient(135deg, #FFD93D, #ffe05a); }
.creative-type { background: linear-gradient(135deg, #A8E6CF, #bbecd9); }
.clever-type { background: linear-gradient(135deg, #B39BC8, #c7b3d8); }

.comparison-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.comparison-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}

.comparison-features li {
  padding: 8px 0;
  color: #666;
  font-size: 14px;
}

.comparison-link {
  color: #d2000f;
  font-weight: 600;
  text-decoration: none;
}

/* Featured Accessories */
.featured-accessories {
  margin: 80px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.featured-accessory {
  text-align: center;
}

.featured-image {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  margin-bottom: 20px;
}

.headphones-bg { background: linear-gradient(135deg, #9370DB, #a88ee3); }
.cases-bg { background: linear-gradient(135deg, #20B2AA, #4bc7bf); }
.storage-bg { background: linear-gradient(135deg, #48D1CC, #6ddad6); }

.featured-accessory h3 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.featured-accessory p {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.featured-link {
  color: #d2000f;
  font-weight: 600;
  text-decoration: none;
}

/* Support CTA Section */
.support-cta-section {
  background: linear-gradient(135deg, #d2000f 0%, #ff3333 100%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: white;
  margin-top: 80px;
}

.support-cta-content h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.support-cta-content p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.support-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: white;
  color: #d2000f;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.help-center-wrapper {
    width: 100%;
}

/* Base styles */
.sonos-hero-section {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 0 0 48px 48px;
  overflow: hidden;
  background: #d2000f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sonos-hero-static-container {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: 0 0 48px 48px;
  overflow: hidden;
}

.hero-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 1;
}

.sonos-hero-section h1 {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  font-size: 48px;
  padding: 0 20px;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Mobile styles and images */
@media (max-width: 768px) {
  .sonos-hero-section {  
    height: 400px !important;
  }
  
  .sonos-hero-section h1 {
    font-size: 2.5rem !important;
    margin-top: 100px;
  }
  
  .hero-banner-image {
    z-index: 2; /* Higher z-index on mobile if needed */
  }
  
  /* Mobile-specific images */
  .hero-banner-image[data-category-id="29036383531154"] {
    background-image: url('/hc/theming_assets/01K3H6BN739RYJHJD7XGXXFGEZ') !important;
  }
  .hero-banner-image[data-category-id="29036387422354"] {
    background-image: url('/hc/theming_assets/01K3J6EY5PMSEBDTRFKXHX5QMT') !important;
  }
  .hero-banner-image[data-category-id="29036358528530"] {
    background-image: url('/hc/theming_assets/01K3J86G6WX5RHHDN8BMC2TYGR') !important;
  }
  .hero-banner-image[data-category-id="29036358593298"] {
    background-image: url('/hc/theming_assets/01K3J8MHGDKXN4C3CVQ8VACGGS') !important;
  }
  .hero-banner-image[data-category-id="29036383581714"] {
    background-image: url('/hc/theming_assets/01K3J9AS6KB9TYBRZYA44GX6NP') !important;
  }
}


.promoted-articles-banner {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.promoted-articles-banner h3 {
    margin: 0 0 15px 0;
    color: #856404;
}

.promoted-item {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    color: #856404;
    text-decoration: none;
    font-weight: 500;
}

.promoted-item:hover {
    text-decoration: underline;
}

/* Hide duplicate promoted articles if using both methods */
.hero-article-link.promoted-fallback {
    display: none;
}

/* Show promoted fallback only if no featured articles exist */
.featured-articles-container:not(:has(.hero-article-link:not(.promoted-fallback))) .promoted-fallback {
    display: inline-flex;
}

/* Limit to 3 articles */
.hero-article-link:nth-child(n+4) {
    display: none !important;
}

.footer {
  background: white;
  color: #d2000f;
  padding: 20px 0;
  margin-top: 60px;
  border-radius: 48px 48px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand a {
  color: #d2000f;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

.footer-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
  align-items: center;
}

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  color: #d2000f;
  text-decoration: none;
  transition: color 0.3s ease;
}


.footer-copyright {
  color: #d2000f;
  font-size: 14px;
}

.footer-language-selector .dropdown-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #d2000f;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tablet styles (768px and below) */
@media (max-width: 768px) {
  .footer {
    padding: 30px 0;
    margin-top: 40px;
    border-radius: 32px 32px 0 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
  }

  /* Center each footer section */
  .footer-brand,
  .footer-copyright,
  .footer-language-selector {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 20px;
    width: 100%;
  }

  .footer-brand {
    order: -1;
  }

  .footer-copyright {
    order: 3;
    margin-top: 10px;
  }

  .footer-language-selector .dropdown-toggle {
    margin: 0 auto;
  }
}

/* Mobile styles (480px and below) */
@media (max-width: 480px) {
  .footer {
    padding: 25px 0;
    margin-top: 30px;
    border-radius: 24px 24px 0 0;
    /* Remove: position: center !important; - this isn't valid CSS */
  }
  
  .footer-inner {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important; /* This should be 0, not 0 20px */
    width: 100% !important; /* Add this */
    display: block !important; /* Ensure it's not constraining content */
  }
  
  .footer-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    text-align: center !important;
    padding: 0 15px !important; /* Move padding here if you need spacing from edges */
    width: 100% !important;
  }
  
  /* Ensure all direct children are centered */
  .footer-content > * {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-brand a {
    font-size: 16px;
    display: inline-block;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: center !important;
    justify-content: center !important; /* ADD THIS */
    margin: 0; /* Reset any margins */
    padding: 0; /* Reset any padding */
  }
  
  .footer-nav li {
    width: 100%;
    text-align: center !important;
  }
  
  .footer-nav a {
    padding: 5px 10px;
    display: inline-block;
  }
  
  .footer-copyright {
    font-size: 12px;
    padding: 0 10px;
    text-align: center !important; /* ADD THIS */
    width: 100%;
  }
  
  .footer-language-selector {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .footer-language-selector .dropdown-toggle {
    padding: 10px 16px;
    font-size: 14px;
    width: auto;
    max-width: 200px;
    margin: 0 auto;
    justify-content: center;
  }
}

/* Hover states only for non-touch devices */
@media (hover: hover) {
  .footer-nav a:hover {
    color: #a00009;
    text-decoration: underline;
  }
  
  .footer-language-selector .dropdown-toggle:hover {
    border-color: #d2000f;
    background: rgba(210, 0, 15, 0.05);
  }
}

/* Hide all sections and sidebar items initially to prevent flash */
.tsp-guide-item,
.tsp-section-view {
    display: none !important;
}

/* Show only sections/items we've verified have content */
.tsp-guide-item.has-content {
    display: block !important;
}

.tsp-section-view.has-content {
    display: none; /* Still hidden by default, shown via JS when clicked */
}

.tsp-section-view.has-content.active {
    display: block !important;
}

/* Hide sections initially to prevent flash */
.tsp-guide-item {
    display: none !important;
}

.tsp-guide-item.has-content {
    display: block !important;
}

.tsp-section-view.has-content {
    /* Keep hidden initially, will be shown via JS */
}

/* Force active sections to display */
.tsp-section-view.active {
    display: block !important;
}

/* For sections without subsections */
.tsp-section-view.direct-articles {
    display: block !important;
}

.category-faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.category-faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

.faq-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.faq-article-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.faq-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.faq-article-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.faq-article-card a {
    color: #333;
    text-decoration: none;
}

.faq-article-card a:hover {
    color: #d2000f;
}

.popular-articles-section {
    margin-top: 20px !important;
    padding: 15px !important;
    /* Hidden by default */
    display: none;
    /* Animation properties */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Active state for animation */
.popular-articles-section.show {
    opacity: 1;
    transform: translateY(0);
}

.popular-articles-section h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

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

.popular-articles-list li {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

/* Stagger the animation for each list item */
.popular-articles-list li:nth-child(1) { animation-delay: 0.1s; }
.popular-articles-list li:nth-child(2) { animation-delay: 0.2s; }
.popular-articles-list li:nth-child(3) { animation-delay: 0.3s; }
.popular-articles-list li:nth-child(4) { animation-delay: 0.4s; }
.popular-articles-list li:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(5px);
    }
}

.popular-articles-list a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.popular-articles-list a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Optional: Limit the width on very wide screens */
@media (min-width: 1200px) {
    .popular-articles-section {
        max-width: 600px;
    }
}

/* Category page specific - don't hide the outer container */
.category-sections-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Category page section cards */
.category-sections-grid .section-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-sections-grid .section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* FAQ Section Styles */
.category-faq-section {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.category-faq-section h2 {
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}

/* Grid layout for FAQ cards */
.faq-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    align-items: start; /* Align cards to top */
}

/* Force 3 columns on larger screens */
@media (min-width: 1200px) {
    .faq-articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FAQ Card */
.faq-article-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: fit-content; /* Allow cards to expand independently */
}

.faq-article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-article-card.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

/* Section Label */
.faq-section-label {
    background: #f5f5f5;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e0e0e0;
}

/* FAQ Header (clickable area) */
.faq-header {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    user-select: none;
    transition: background-color 0.2s ease;
    min-height: 80px; /* Consistent height for headers */
}

.faq-header:hover {
    background-color: #f9f9f9;
}

.faq-header h3 {
    margin: 0;
    font-size: 15px;
    color: #333;
    flex: 1;
    padding-right: 15px;
    line-height: 1.4;
}

/* Toggle Icon */
.faq-toggle-icon {
    color: #007bff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-top: 2px;
}

.faq-article-card.active .faq-toggle-icon {
    transform: rotate(180deg);
}

/* FAQ Content */
.faq-content {
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-article-card.active .faq-content {
    max-height: 800px; /* Adjust based on your content */
    overflow-y: auto; /* Add scroll for long content */
}

.faq-article-body {
    padding: 15px;
    color: #555;
    line-height: 1.6;
    font-size: 13px;
}

/* Compact styles for article content in grid */
.faq-article-body h1,
.faq-article-body h2,
.faq-article-body h3,
.faq-article-body h4 {
    margin-top: 15px;
    margin-bottom: 8px;
    color: #333;
}

.faq-article-body h1 { font-size: 18px; }
.faq-article-body h2 { font-size: 16px; }
.faq-article-body h3 { font-size: 14px; }
.faq-article-body h4 { font-size: 13px; }

.faq-article-body p {
    margin-bottom: 12px;
}

.faq-article-body ul,
.faq-article-body ol {
    margin-bottom: 12px;
    padding-left: 25px;
}

.faq-article-body li {
    margin-bottom: 4px;
}

.faq-article-body img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 4px;
}

/* Loading state */
.faq-loading {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* Error state */
.faq-error {
    padding: 15px;
    text-align: center;
    color: #d32f2f;
    font-size: 13px;
}

.faq-error a {
    color: #007bff;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
}

/* ============================================
   MOBILE RESPONSIVE CSS - RESTRUCTURED
   ============================================ */

/* Base styles remain unchanged - keeping all your existing styles above 768px */

/* ============================================
   LARGE TABLETS (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  
  /* Base Container */
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  * {
    box-sizing: border-box;
  }
  
  .container {
    max-width: 100%;
    overflow-x: hidden;
    padding: 0 30px;
  }
  
  /* Header Adjustments */
  .header.header {
    padding: 12px 15px;
    height: 70px;
    z-index: 9999 !important;
  }
  
  .header-search-wrapper {
    max-width: 130px;
    width: 130px;
  }
  
  .header-search-wrapper:focus-within {
    max-width: 220px !important;
    width: 220px !important;
  }
  
  .user-nav-list li {
    margin: 0 6px !important;
  }
  
  /* Hero Section */
  .hero-static-container {
    height: 450px;
  }
  
  .hero-static-content-wrapper {
    padding: 0 40px;
  }
  
  .hero-static-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }
  
  .hero-static-subtitle {
    font-size: 1.15rem;
    margin-bottom: 30px;
  }
  
  .hero-static-image-cutout {
    background-size: 500px auto !important;
    background-position: 110% 30% !important;
  }
  
  /* Products Grid */
  .section-view,
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 0 20px;
  }
  
  .product-card {
    width: 180px;
    height: 180px;
    padding: 20px;
  }
  
  .section-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
  }
  
  .product-title {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .product-subtitle {
    font-size: 0.85rem;
  }
  
  /* Navigation Tabs */
  .nav-tabs {
    gap: 15px;
    margin-bottom: 25px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .nav-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .nav-tab {
    padding: 10px 20px;
    font-size: 15px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  /* Topics Section */
  .topics-simple-grid {
    gap: 16px;
    padding: 0 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .topics-grid-card {
    min-width: 160px;
    max-width: 200px;
    padding: 20px;
  }
  
  .topics-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }
  
  .topics-title {
    font-size: 16px;
  }
  
  /* AI Chat Banner */
  .ai-chat-content {
    padding: 35px 40px;
    flex-direction: row;
    gap: 30px;
  }
  
  .ai-chat-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }
  
  .ai-chat-subtitle {
    font-size: 1.1rem;
    margin-bottom: 28px;
  }
  
  .toni-character {
    width: 200px;
    height: 200px;
  }
  
  .chat-now-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  /* Search Section */
  .search-container {
    padding: 0 30px;
  }
  
  .search-title {
    font-size: 1.8rem;
  }
  
  .search-subtitle {
    font-size: 1.05rem;
  }
  
  .search-input {
    padding: 15px 55px 15px 20px;
  }
  
  /* Article Container - Desktop Layout Preserved */
  .article-container {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 30px;
  }
  
  .article {
    grid-column: 2;
    max-width: 650px;
    padding: 0 20px;
  }
  
  .toc-navigation {
    display: block;
    grid-column: 3;
    width: 220px;
  }
  
  .toc-navigation-mobile {
    display: none;
  }
  
  /* Section Pages */
  .section-hero {
    height: 400px;
  }

  .section-top-articles {
    padding: 80px 0 50px 0;
    margin-top: -70px;
  }
  
  .section-all-articles {
    padding: 80px 0 50px 0;
    margin-top: -70px;
  }
  
  /* Tonies Section Page */
  .tonies-section-page .tsp-split-layout {
    grid-template-columns: 280px 1fr;
    gap: 25px;
  }
  
  .tonies-section-page .tsp-hero-text h1 {
    font-size: 45px;
  }
  
  .tonies-section-page .tsp-hero-text p {
    max-width: 70% !important;
  }
}

/* ============================================
   TABLETS & SMALL LAPTOPS (768px - 1023px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  
  /* Navigation adjustments */
  .nav-wrapper-desktop {
    display: none;
  }
  
  .nav-wrapper-mobile {
    display: block;
  }
  
  /* User navigation in header */
  .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;
  }
  
  /* Article layout adjustments */
  .article-header {
    flex-direction: row;
    margin-top: 0;
  }
  
  .article-title {
    flex-basis: 100%;
  }
  
  .article-info {
    margin: 0;
  }
  
  /* Meta groups */
  .meta-group {
    flex-direction: row;
  }
  
  /* Forms */
  .button, .pagination-next-link, .pagination-prev-link, 
  .pagination-first-link, .pagination-last-link {
    width: auto;
  }
  
  .button-large, .hbs-form input[type=submit] {
    width: auto;
  }
  
  /* Tables */
  .table tr {
    display: table-row;
  }
  
  .table td {
    display: table-cell;
    padding: 10px 20px;
    height: 60px;
  }
  
  /* Breadcrumbs */
  .breadcrumbs {
    margin: 0;
  }
  
  /* Page headers */
  .page-header {
    align-items: baseline;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
  }
  
  .page-header .section-subscribe {
    margin-bottom: 0;
  }
}

iframe {
  width: 100%;
  height: auto; /* Or 100% if within a container that defines height */
  aspect-ratio: 16 / 9; /* Example for 16:9 aspect ratio */
}

/* ============================================
   MOBILE LANDSCAPE & SMALL TABLETS (480px - 767px)
   ============================================ */
@media (max-width: 767px) {
  
  /* Base container adjustments */
  .container {
    padding: 0 20px;
    max-width: 100%;
  }
  
    html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  * {
    box-sizing: border-box;
  }
  
  /* Header container */
  .header {
    padding: 12px 16px !important;
    height: auto !important;
    min-height: 60px;
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  /* Logo section */
  .logo {
    flex: 0 0 auto;
    max-width: 150px;
  }
  
  .logo img {
    max-height: 32px;
    width: auto;
  }
  
  .logo span {
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
  }
  
  /* Right side content */
  .header-right-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }
  
  /* Language selector - simplified for mobile */
  .dev-language-switcher {
    display: none; /* Hide on very small screens, can be accessed via mobile menu */
  }
  
  /* Desktop navigation - hide completely */
  .nav-wrapper-desktop {
    display: none !important;
  }
  
  /* Mobile navigation wrapper */
  .nav-wrapper-mobile {
    display: flex !important;
    align-items: center;
  }
  
  /* Mobile menu button */
  .menu-button-mobile {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }
  
  .menu-button-mobile:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  .menu-button-mobile .user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
  }
  
  .menu-button-mobile .icon-menu {
    width: 20px;
    height: 20px;
  }
  
  /* Mobile menu dropdown */
  .menu-list-mobile {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 8px;
    display: none;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .menu-list-mobile[aria-expanded="true"] {
    display: block;
  }
  
  /* Mobile menu items */
  .menu-list-mobile-items {
    list-style: none;
    margin: 0;
    padding: 8px 0;
  }
  
  .menu-list-mobile-items .item {
    margin: 0;
  }
  
  .menu-list-mobile-items .item a,
  .menu-list-mobile-items .item button {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    line-height: 1.4;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .menu-list-mobile-items .item a:hover,
  .menu-list-mobile-items .item button:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  /* User profile item in mobile menu */
  .user-avatar-item .my-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
  }
  
  .menu-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .menu-profile-name {
    flex: 1;
  }
  
  .menu-profile-name > div:first-child {
    font-weight: 500;
    font-size: 14px;
  }
  
  .my-profile-tooltip {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 2px;
  }
  
  /* Dividers in mobile menu */
  .nav-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 8px 16px;
  }
  
  /* Base containers */
  .container {
    padding: 0 16px;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Optional: Add a subtle animation for menu opening */
  .menu-list-mobile {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  
  .menu-list-mobile[aria-expanded="true"] {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Hero adjustments */
  .hero-static-container {
    height: 400px;
  }
  
  .hero-static-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .hero-static-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-static-image-cutout {
    background-size: 350px auto !important;
    background-position: 120% 60% !important;
  }
  
  .product-card {
    width: 100%;
    height: 140px;
    padding: 12px;
    border-radius: 12px;
  }
  
  .section-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 6px;
  }
  
  .product-title {
    font-size: 0.85rem;
    margin-bottom: 3px;
  }
  
  .product-subtitle {
    font-size: 0.7rem;
  }
  
  /* Navigation tabs */
  .nav-tabs {
    gap: 8px;
    padding: 0 15px;
    overflow-x: auto;
  }
  
  .nav-tab {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  /* Topics become horizontal cards */
  .topics-simple-grid {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  
  .topics-grid-card {
    flex-direction: row;
    text-align: left;
    gap: 12px;
    padding: 16px;
  }
  
  .topics-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .topics-title {
    font-size: 15px;
    margin-bottom: 0;
  }
  
  .ai-chat-content {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
    gap: 15px;
  }
  
  .ai-chat-visual {
    order: -1;
  }
  
  .ai-chat-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  
  .ai-chat-subtitle {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }
  
  .toni-character {
    width: 100px;
    height: 100px;
  }
  
  .chat-now-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 200px;
  }
  
  /* Search section */
  .search-section {
    padding: 30px 0;
  }
  
  .search-container {
    padding: 0 20px;
  }
  
  .search-title {
    font-size: 1.4rem;
  }
  
  .search-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .search-input {
    padding: 12px 45px 12px 16px;
    font-size: 16px;
    border-radius: 20px;
  }
  
  .search-button {
    width: 32px;
    height: 32px;
    right: 6px;
  }
  
  .popular-searches {
    gap: 6px;
    justify-content: center;
  }
  
  .popular-label {
    width: 100%;
    text-align: center;
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .popular-link {
    font-size: 12px;
    padding: 5px 10px;
  }
}

  @media (min-width: 769px) {
  .sidebar-menu-overlay,
  .sidebar-menu-overlay.active,
  .mobile-sidebar-panel,
  .sidebar-menu-trigger {
    display: none !important;
  }
}

/* ============================================
   MOBILE PORTRAIT (max 768px)
   ============================================ */
@media (max-width: 768px) {
  
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  * {
    box-sizing: border-box;
  }
  
  /* Header container - slightly smaller padding */
  .header {
    padding: 10px 12px !important;
    height: auto !important;
    min-height: 60px;
    border-radius: 0 0 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  /* Logo section - smaller on very small screens */
  .logo {
    flex: 0 0 auto;
    max-width: 120px;
  }
  
  .logo img {
    max-height: 28px;
    width: auto;
  }
  
  .logo span {
    display: none; /* Hide brand name on very small screens */
  }
  
  
  /* Right side content */
  .header-right-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }
  
  /* Language selector - hide on small screens */
  .dev-language-switcher {
    display: none;
  }
  
  /* Desktop navigation - hide completely */
  .nav-wrapper-desktop {
    display: none !important;
  }
  
  /* Mobile navigation wrapper */
  .nav-wrapper-mobile {
    display: flex !important;
    align-items: center;
  }
  
  /* Mobile menu button */
  .menu-button-mobile {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }
  
  .menu-button-mobile:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  .menu-button-mobile .user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
  }
  
  .menu-button-mobile .icon-menu {
    width: 20px;
    height: 20px;
  }
  
  /* Mobile menu dropdown */
  .menu-list-mobile {
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 8px;
    display: none;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  .menu-list-mobile[aria-expanded="true"] {
    display: block;
  }
  
  /* Mobile menu items */
  .menu-list-mobile-items {
    list-style: none;
    margin: 0;
    padding: 8px 0;
  }
  
  .menu-list-mobile-items .item {
    margin: 0;
  }
  
  .menu-list-mobile-items .item a,
  .menu-list-mobile-items .item button {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    line-height: 1.4;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .menu-list-mobile-items .item a:hover,
  .menu-list-mobile-items .item button:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  /* User profile item in mobile menu */
  .user-avatar-item .my-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
  }
  
  .menu-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .menu-profile-name {
    flex: 1;
  }
  
  .menu-profile-name > div:first-child {
    font-weight: 500;
    font-size: 14px;
  }
  
  .my-profile-tooltip {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 2px;
  }
  
  /* Dividers in mobile menu */
  .nav-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 8px 16px;
  }
  
  /* Base containers */
  .container {
    padding: 0 12px; /* Slightly smaller padding */
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Menu animations */
  .menu-list-mobile {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  
  .menu-list-mobile[aria-expanded="true"] {
    opacity: 1;
    transform: translateY(0);
  }
  
  .dev-language-switcher select {
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: white;
    min-width: 80px;
    max-width: 120px; /* Prevent it from getting too wide */
  }
  
  .hero-static-container {
    height: 550px;
    display: flex;
    align-items: flex-start; /* Align to top */
    justify-content: flex-start; /* Align to left */
  }
  
  .hero-static-content-wrapper {
    padding: 0 0 0 15px; /* Only left and top padding */
    width: 100%;
    position: absolute; /* Use absolute positioning */
    top: 0;
    left: 0;
  }
  
  .hero-static-text-section {
    width: 50%; /* Limit width to left half of screen */
    max-width: 350px; /* Cap maximum width */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    padding: 0 15px 0 0; /* Add right padding for spacing from image */
    position: relative;
    z-index: 1; /* Ensure text stays above image */
  }
  
  .hero-static-title {
    font-size: 1.6rem;
    margin: 0 0 12px 0; /* Remove top margin */
    line-height: 1.1;
    text-align: left;
    width: 100%;
  }
  
  .hero-static-title-2 {
    font-size: 1.2rem;
    margin: 0 0 8px 0; /* Remove top margin */
    text-align: left;
    width: 100%;
  }
  
  .hero-static-subtitle {
    font-size: 0.9rem;
    margin: 0 0 18px 0; /* Remove top margin */
    line-height: 1.4;
    text-align: left;
    width: 100%;
  }
  .hero-static-image-cutout {
    background-size: 280px auto !important;
    background-position: 130% 100% !important;
  }
  
  .hero-static-ctas {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  
  .cta-primary, .cta-secondary, .cta-tertiary {
    width: 100%;
    max-width: 220px;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.85rem;
  }
  
  /* Knowledge base title */
  .section.knowledge-base h1 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    padding: 0 15px;
  }
  
  /* Navigation tabs - mobile scrollable */
  .nav-tab {
    padding: 6px 12px !important; /* Smaller padding */
    font-size: 12px !important; /* Smaller text if needed */
    border: none !important; /* Remove outline/border */
    outline: none !important; /* Remove focus outline */
  }
  
  /* If the red overlay is a pseudo-element or background */
  .nav-tab.active,
  .nav-tab[aria-selected="true"],
  .nav-tab-active { /* Adjust selector based on your HTML */
    border: none !important;
    outline: none !important;
    box-shadow: none !important; /* Remove any shadow that might look like border */
  }
  
  /* Ensure the container has enough space */
  .nav-tabs-container { /* Adjust selector based on your HTML */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  
  .products-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 15px !important;
    min-height: auto !important;
    margin-bottom: 20px !important;
    height: 200px; /* or use vh units */
  	overflow-y: auto;
 		-webkit-overflow-scrolling: touch;
      
  }
  
  /* Only style VISIBLE sections containers */
  .sections-container:not([style*="display: none"]) {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 0 15px !important;
    min-height: auto !important;
  }
  
  /* Make ALL product cards horizontal, regardless of container */
  .product-card,
  .sections-container .product-card,
  .sections-container[style*="display"] .product-card {
    display: flex !important;
    flex-direction: row !important;
    height: auto !important;
    max-height: none !important;
    padding: 10px !important;
    text-align: left !important;
    gap: 12px !important;
    width: 100% !important;
    flex: none !important;
  }
  
  /* Fix icon size consistently */
  .section-icon,
  .product-card .section-icon {
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
  }
  
  /* Fix title consistently */
  .product-title,
  .product-card .product-title {
    margin: 0 !important;
    flex: 1 !important;
  }

  
  /* Topics - vertical mobile cards */
  .topics-simple-grid {
    flex-direction: column;
    gap: 8px;
    padding: 0 15px;
  }
  
  .topics-grid-card {
    max-width: 100%;
    padding: 14px;
    flex-direction: row;
    text-align: left;
    gap: 12px;
  }
  
  .topics-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .topics-title {
    font-size: 14px;
    margin-bottom: 0;
  }
  
  /* AI Chat banner - mobile */
  .ai-chat-banner {
    overflow: hidden;
    width: 100vw;
    
  }
  
  .ai-chat-content {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
    gap: 15px;
  }
  
  .ai-chat-visual {
    order: -1;
    margin-left: 0;
  }
  
  .ai-chat-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  
  .ai-chat-subtitle {
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.3;
  }
  
  .toni-character {
    width: 80px;
    height: 80px;
  }
  
  .chat-now-btn {
    padding: 10px 18px;
    font-size: 0.8rem;
    width: 100%;
    max-width: 180px;
    justify-content: center;
  }
  
  /* Search section - mobile */
  .search-section {
    padding: 25px 0;
  }
  
  .search-container {
    padding: 0 15px;
  }
  
  .search-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .search-subtitle {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }
  
  .search-input {
    padding: 10px 40px 10px 14px;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 18px;
  }
  
  .search-button {
    width: 28px;
    height: 28px;
    right: 5px;
  }
  
  .popular-searches {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
  
  .popular-label {
    width: 100%;
    margin-bottom: 6px;
    font-size: 11px;
    text-align: center;
  }
  
  .popular-link {
    padding: 4px 10px;
    font-size: 11px;
    margin: 2px;
  }
  
  /* ============================================
     MOBILE ARTICLE LAYOUT
     ============================================ */
  
  /* Transform to single column layout */
  .article-container {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  
  /* Hide desktop sidebar */
  .article-sidebar {
    display: none !important;
  }
  
  /* ============================================
     MOBILE TOC - BOTTOM POSITIONED
     ============================================ */
    
  @media (max-width: 767px) {
    .mobile-bottom-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: white;
        border-top: 1px solid #e5e7eb;
        display: flex;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    }
    
    #tocBtn {
      background: #d2000f;
      color: white;
    }
    
    #articlesBtn {
      background: #333333;
      color: white;
    }
    .menu-btn {
        flex: 1;
        border: none;
        padding: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        background: white;
        color: #6b7280;
        font-size: 11px;
        font-weight: 500;
        transition: all 0.2s;
        position: relative;
    }
    
    .menu-btn:first-child::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 24px;
        background: #e5e7eb;
    }
    
    .menu-btn.active {
        color: #d2000f;
        background: #fef2f2;
    }
    
    .menu-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .menu-panel {
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 2px solid #e5e7eb;
        max-height: 70vh;
        transition: bottom 0.3s ease;
        z-index: 999;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    }
    
    .menu-panel.active {
        bottom: 56px;
    }
    
    .panel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid #e5e7eb;
        background: #f9fafb;
        border-radius: 16px 16px 0 0;
    }
    
    .panel-header h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #111827;
    }
    
    #closePanel {
        width: 32px;
        height: 32px;
        border: none;
        background: white;
        color: #6b7280;
        font-size: 24px;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
    }
    
    #closePanel:hover {
        background: #f3f4f6;
    }
    
    #panelContent {
        padding: 0;
        overflow-y: auto;
        max-height: calc(70vh - 65px);
    }
    
    /* TOC Styling */
    .toc-list {
        list-style: none;
        padding: 8px 0;
        margin: 0;
    }
    
    .toc-list li {
        margin: 0;
    }
    
    .toc-list a {
        display: block;
        padding: 12px 20px;
        color: #4b5563;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.2s;
        border-left: 3px solid transparent;
    }
    
    .toc-list a:hover {
        background: #f9fafb;
        color: #d2000f;
        border-left-color: #d2000f;
    }
    
    .toc-list .toc-h2 {
        padding-left: 36px;
        font-size: 13px;
    }
    
    .toc-list .toc-h3 {
        padding-left: 52px;
        font-size: 12px;
        color: #6b7280;
    }
    
    /* Articles List Styling */
    .articles-list {
        list-style: none;
        padding: 8px 0;
        margin: 0;
    }
    
    .articles-list li {
        margin: 0;
    }
    
    .articles-list a {
        display: flex;
        align-items: center;
        padding: 14px 20px;
        color: #374151;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.2s;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .articles-list a:hover {
        background: #f9fafb;
        color: #d2000f;
    }
    
    .articles-list a.current {
        background: #fef2f2;
        color: #d2000f;
        font-weight: 500;
    }
    
    .articles-list a::before {
        content: '📄';
        margin-right: 10px;
        font-size: 16px;
    }
    
    .articles-list a.current::before {
        content: '📍';
    }
    
    .toc-navigation,
    .toc-container,
    .collapsible-sidebar {
        display: none !important;
    }
    
    body {
        padding-bottom: 56px !important;
    }


  /* ============================================
     MAIN ARTICLE CONTENT - MOBILE
     ============================================ */
  .article {
    display: block !important;
    order: 3;
    width: 100% !important;
    max-width: 100% !important;
    min-width: auto !important;
    padding: 0 !important;
    margin-bottom: 25px;
    grid-column: unset !important;
    flex: none !important;
  }
  
  .article-header {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
  }
  
  .article-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 12px;
    word-wrap: break-word;
  }
  
  .article-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .article-meta {
    font-size: 0.8rem;
    color: #666;
  }
  
  .article-avatar {
    margin-right: 0;
    margin-bottom: 6px;
  }
  
  /* ============================================
     ARTICLE CONTENT TYPOGRAPHY - MOBILE
     ============================================ */
  .article-content {
    margin: 20px 0;
    line-height: 1.6;
  }
  
  .article-body {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .article-body h1 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
    line-height: 1.2;
    padding: 12px 0 12px 15px;
  }
  
  .article-body h2 {
    font-size: 1.2rem;
    margin: 20px 0 12px;
    line-height: 1.3;
    padding: 10px 0 10px 12px;
  }
  
  .article-body h3 {
    font-size: 1.1rem;
    margin: 18px 0 10px;
    line-height: 1.3;
    padding: 8px 12px;
  }
  
  .article-body h4 {
    font-size: 1rem;
    margin: 15px 0 8px;
    line-height: 1.4;
  }
  
  .article-body p {
    margin-bottom: 14px;
    line-height: 1.6;
  }
  
  .article-body ul,
  .article-body ol {
    margin: 14px 0 14px 12px;
    padding-left: 12px;
  }
  
  .article-body li {
    margin-bottom: 6px;
    line-height: 1.5;
  }
  
  .article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .article-body blockquote {
    margin: 15px 0;
    padding: 12px 15px;
    background: #f8f9fa;
    border-left: 3px solid #D2000F;
    border-radius: 0 6px 6px 0;
  }
  
  .article-body pre {
    overflow-x: auto;
    padding: 12px;
    font-size: 0.85rem;
    border-radius: 6px;
  }
  
  .article-body code {
    font-size: 0.85rem;
    padding: 2px 3px;
  }
  
  /* ============================================
     ARTICLE FOOTER & INTERACTIONS - MOBILE
     ============================================ */
  .article-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
  }
  
  .article-votes {
    padding: 20px 0;
    text-align: center;
    width: 100%;
  }
  
  .article-votes-question {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  
  .article-vote {
    min-width: 80px;
    margin: 6px 8px;
    padding: 10px 16px;
    font-size: 0.85rem;
    min-height: 36px;
  }
  
  /* ============================================
     RETURN TO TOP BUTTON - MOBILE
     ============================================ */
  .article-return-to-top {
    display: block !important;
    position: fixed;
    top: 80px;
    right: 15px;
    z-index: 999;
    background: #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border-top: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
  }

  .article-return-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .article-return-to-top.auto-hidden {
    opacity: 0.3;
    transform: translateY(8px);
  }

  .article-return-to-top.auto-hidden:hover {
    opacity: 1;
    transform: translateY(0);
  }

  .article-return-to-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    font-size: 0;
    padding: 0;
  }

  .article-return-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  }
  
  /* ============================================
     SECTION PAGES - MOBILE
     ============================================ */
  .section-hero {
    height: 300px;
  }
  
  .hero-banner-image {
    height: 400px;
  }
  
  .hero-desktop {
    display: none;
  }
  
  .hero-mobile {
    display: block;
  }
  
  .section-top-articles {
    margin-top: -50px;
    padding: 80px 0 30px 0;
  }
  
  .section-all-articles {
    margin-top: -50px;
    padding: 80px 0 30px 0;
  }
  
  
  /* ============================================
     TONIES SECTION PAGES - MOBILE
     ============================================ */
  .tonies-section-page .tsp-split-layout {
    grid-template-columns: 1fr;
  }
  
  .tonies-section-page .tsp-sidebar {
    position: static;
    margin-bottom: 15px;
    padding: 20px;
  }
  
    /* Toniebox 1 */
  .tonies-section-page .tsp-hero[data-section-id="29036371188498"] {
      background-image: var(--toniebox-1-icon);
      background-size: 250px auto !important;
      background-position: 120% 110% !important;
  }

  /* Toniebox 2 */
  .tonies-section-page .tsp-hero[data-section-id="29036371272594"] {
      background-image: var(--toniebox-2-icon);
      background-size: 250px auto !important;
      background-position: 120% 110% !important;
  }

  /* All Tonies */
  .tonies-section-page .tsp-hero[data-section-id="29036387585426"] {
      background-image: var(--all-tonies-icon);
      background-size: 250px auto !important;
      background-position: 110% 110% !important;
  }

  /* Classic Tonies */
  .tonies-section-page .tsp-hero[data-section-id="29036371208850"] {
      background-image: url('/hc/theming_assets/01K2VA98F2SZKVVWBMP3CKMMS0');
      background-position: 200% 100% !important;
      background-size: 400px auto !important;
  }

  /* Creative Tonies */
  .tonies-section-page .tsp-hero[data-section-id="29036413076754"] {
      background-image: var(--creative-tonies-icon);
      background-size: 250px auto !important;
      background-position: 115% 110% !important;
  }

  /* Clever Tonies */
  .tonies-section-page .tsp-hero[data-section-id="29036387853074"] {
      background-image: var(--clever-tonies-icon);
      background-position: 125% 100% !important;
      background-size: 250px auto !important;
  }

  /* Audiobooks */
  .tonies-section-page .tsp-hero[data-section-id="29036383864850"] {
      background-image: var(--audiobooks-icon);
      background-position: 110% 100% !important;
      background-size: 250px auto !important;
  }

  /* Night Light */
  .tonies-section-page .tsp-hero[data-section-id="29036400285842"] {
      background-image: var(--sleepy-friends-icon);
      background-size: 200px auto !important;
      background-position: 100% 100% !important;
  }

  /* Plush Tonies */
  .tonies-section-page .tsp-hero[data-section-id="29036413242258"] {
      background-image: var(--plush-tonies-icon);
      background-size: 250px auto !important;
      background-position: 110% 100% !important;
  }

  .tonies-section-page .tsp-hero[data-section-id="27272247016978"] {
      background-image: var(--my-first-tonies-icon);
      background-size: 250px auto !important;
      background-position: 110% 100% !important;
  }

  .tonies-section-page .tsp-hero[data-section-id="29036400009490"] {
      background-image: var(--tonieplay-icon);
      background-size: 250px auto !important;
      background-position: 110% 100% !important;

  }

  .tonies-section-page .tsp-hero[data-section-id="29036358737682"] {
      background-image: var(--headphones-icon);
      background-size: 250px auto !important;
      background-position: 100% 100% !important;
  }

  .tonies-section-page .tsp-hero[data-section-id="29036412986258"] {
      background-image: var(--bags-cases-icon);
      background-size: 200px auto !important;
      background-position: 100% 100% !important;
  }

  .tonies-section-page .tsp-hero[data-section-id="29036358903058"] {
      background-image: var(--charger-icon);
      background-size: 250px auto !important;
      background-position: 100% 100% !important;
  }

  .tonies-section-page .tsp-hero[data-section-id="29036400256018"] {
      background-image: var(--shelves-icon);
      background-size: 250px auto !important;
      background-position: 100% 90% !important;
  }

  .tonies-section-page .tsp-hero[data-section-id="29036371429010"] {
      background-image: var(--sleeves-icon);
      background-size: 200px auto !important;
      background-position: 100% 100% !important;
  }

  /* Getting Started */
  .tonies-section-page .tsp-hero[data-section-id="29036358700434"] {
      background-image: url('/hc/theming_assets/01K32YK5YGKTX1BWDTXET2J8JT');
    	background-size: 900px auto !important;
      background-position: 90% 100% !important;
  }

  /* Orders and Returns */
  .tonies-section-page .tsp-hero[data-section-id="29157131034514"] {
      background-image: url('/hc/theming_assets/01K32YEZTYF324M88QZ3QGSEX6');
    	background-size: 900px auto !important;
      background-position: 90% 100% !important;
  }

  /* Account */
  .tonies-section-page .tsp-hero[data-section-id="29036387798930"] {
    background-image: url('/hc/theming_assets/01K32YB305GK1PR3HCVJRHGWQT');
    background-size: 900px auto !important;
  	background-position: 90% 100% !important;
  }

  /* Mobile App and Website */
  .tonies-section-page .tsp-hero[data-section-id="29036387840274"] {
    background-image: url('/hc/theming_assets/01K32Y4GNDMCEQ54305MQYY2TE');
    background-size: 900px auto !important;
  	background-position: 90% 100% !important;
  }

  /* Audio Library */
  .tonies-section-page .tsp-hero[data-section-id="29036387933970"] {
    background-image: url('/hc/theming_assets/01K3SHBKKD190S33F4PKF56CW2');
    background-size: 900px auto !important;
  	background-position: 90% 100% !important;
  }
  
  .popular-articles-section {
    margin-top: 20px !important;
    padding: 5px !important;
    display: none;
    width: 95% !important;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .popular-articles-section.show {
      opacity: 1;
      transform: translateY(0);
  }

  .popular-articles-section h3 {
      color: white;
      font-size: 18px !important;
      margin-bottom: 10px;
      font-weight: 600;
  }

  .popular-articles-list {
      width: 75% !important;
  }

  .popular-articles-list li {
      margin-bottom: 2px !important;
      padding: 2px 0 !important;
    	font-size: 16px !important;
  }

  .popular-articles-list a {
      padding: 2px 0 !important;
      line-height: 1.2 !important;
    	font-size: 16px !important;
  }

  /* Remove bottom margin from last item */
  .popular-articles-list li:last-child {
      margin-bottom: 0 !important;
  }
  
  .tonies-section-page .tsp-hero-text {
    font-size: 28px;
    
  }
  
  .tonies-section-page .tsp-hero-text h1 {
    font-size: 28px;
  }
  
  .tonies-section-page .tsp-hero-text p {
    max-width: 90% !important;
    font-size: 16px;
  }
 
  .tonies-section-page .tsp-article-content-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: 100px auto;
    height: 200px !important;
  }
  
  .tonies-section-page .tsp-article-preview {
  	display: block !important;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
  	margin-bottom: 16px;  	
}
  
  .tonies-section-page .tsp-article-body {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .tonies-section-page .tsp-article-actions {
    padding: 10px;
  }
  
  .tonies-section-page .tsp-read-full-btn {
    width: 100%;
    padding: 8px 16px;
    font-size: 12px;
  }
}
  
  .custom-chat-button {
    padding-bottom: 40px;
  }
  
  iframe {
    width: 100%;
    height: auto; /* Or 100% if within a container that defines height */
    aspect-ratio: 16 / 9; /* Example for 16:9 aspect ratio */
    }
}
@media (min-width: 1024px) {
    .mobile-bottom-menu {
        display: none !important;
    }
}
  
  /* ============================================
     AI ASSISTANT DEMO - MOBILE
     ============================================ */
  .ai-synchronized-demo-container {
    padding: 20px 10px;
  }
  
  .ai-demo-headers {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .ai-demo-panels {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .ai-chat-demo-messages {
    height: 250px;
  }
  
  .ai-compact-flow {
    width: 250px;
    height: 250px;
  }
  
  .ai-circular-step {
    width: 60px;
    height: 60px;
  }
  
  .ai-step-icon {
    font-size: 1.2rem !important;
  }
  
  .ai-main-demo-button {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  
  
  /* ============================================
     TOUCH OPTIMIZATIONS
     ============================================ */
  
  /* Larger touch targets */
  .product-card,
  .topics-grid-card,
  .nav-tab,
  .popular-link,
  .cta-primary,
  .cta-secondary,
  .chat-now-btn {
    min-height: 36px;
    min-width: 36px;
  }
  
  /* Enhanced tap feedback */
  .product-card:active,
  .topics-grid-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  
  .nav-tab:active,
  .popular-link:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
  
  /* Prevent text selection on interactive elements */
  .nav-tab,
  .product-card,
  .topics-grid-card,
  .cta-primary,
  .cta-secondary,
  .chat-now-btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Smooth scrolling for navigation tabs */
  .nav-tabs {
    scroll-behavior: smooth;
  }
  
  /* Focus styles for accessibility */
  .product-card:focus,
  .topics-grid-card:focus,
  .nav-tab:focus,
  .cta-primary:focus,
  .cta-secondary:focus,
  .chat-now-btn:focus,
  .search-input:focus,
  .search-button:focus {
    outline: 2px solid #D2000F;
    outline-offset: 2px;
  }
  
  /* ============================================
     ACCESSIBILITY & PERFORMANCE
     ============================================ */
  
  /* High contrast mode support */
  @media (prefers-contrast: high) {
    .product-card,
    .topics-grid-card {
      border-width: 2px;
    }
    
    .nav-tab.active {
      border: 2px solid white;
    }
  }
  
  /* Reduced motion support */
  @media (prefers-reduced-motion: reduce) {
    .product-card,
    .topics-grid-card,
    .nav-tab,
    .cta-primary,
    .cta-secondary,
    .chat-now-btn,
    .search-button {
      transition: none;
    }
    
    .product-card:hover,
    .topics-grid-card:hover {
      transform: none;
    }
  }
}

/* ============================================
   VERY SMALL MOBILE (under 320px)
   ============================================ */
@media (max-width: 319px) {
  
  .container {
    padding: 0 10px;
  }
  
  .hero-static-title {
    font-size: 1.4rem;
  }
  
  .hero-static-subtitle {
    font-size: 0.8rem;
  }
  
  .product-card {
    height: 100px;
    padding: 6px;
  }
  
  .section-icon {
    width: 40px;
    height: 40px;
  }
  
  .product-title {
    font-size: 0.7rem;
  }
  
  .product-subtitle {
    font-size: 0.6rem;
  }
  
  .nav-tab {
    padding: 5px 8px;
    font-size: 11px;
  }
  
  .topics-icon {
    width: 30px;
    height: 30px;
  }
  
  .topics-title {
    font-size: 12px;
  }
  
  .search-input {
    padding: 8px 35px 8px 12px;
    font-size: 14px;
  }
  
  .search-button {
    width: 24px;
    height: 24px;
  }
}

.banner-container-false {
  display: none;
}

.banner-container-true {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* Above header (header is 999) */
  width: 100%;
  border-bottom: 2px solid black !important; 
}

.alert-banner { 
  padding: 14px 20px; 
  text-align: center; 
  font-size: 18px; 
  font-weight: bold; 
}
.alert-banner-content { 
  max-width: 1200px; 
  margin: 0 auto; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 16px; 
  flex-wrap: wrap; 
}
.alert-banner-message { 
  flex: 1; 
  min-width: 200px; 
}
.alert-banner-link { 
  background: white; 
  color: inherit; 
  padding: 8px 16px; 
  border-radius: 4px; 
  text-decoration: none; 
  font-weight: 600; 
  white-space: nowrap; 
}
.alert-banner-link:hover { 
  opacity: 0.9; 
}
.alert-banner-info { 
  background: #0b5cab; 
  color: white; 
}
.alert-banner-warning { 
  background: #ff6b35; 
  color: white; 
}
.alert-banner-alert { 
  background: #cc3340; 
  color: white; 
}

/* Mobile - banner wraps to two lines */
@media (max-width: 768px) {
  body:has(.banner-container-true) .header.header {
    top: 40px !important; /* Adjust based on actual wrapped height */
  }
  
  .alert-banner {
    padding: 12px 16px; /* Reduce padding on mobile */
    font-size: 16px; /* Smaller font on mobile */
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  body:has(.banner-container-true) .header.header {
    top: 40px !important; /* Even more space if needed */
    
  }
  
  .alert-banner {
    font-size: 14px;
    padding: 10px 12px;
  }
}