@charset "UTF-8";
/***** Normalize.css *****/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/***** Base *****/
* {
  box-sizing: border-box;
}

body {
  background-color: #FFFFFF;
  color: #111827;
  font-family: "Roboto", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  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: "Roboto", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  font-weight: 400;
  margin-top: 0;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

h4 {
  font-size: 16px;
}

a {
  color: #EA580C;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  text-decoration: underline;
}

input,
textarea {
  color: #000;
  font-size: 14px;
}

input {
  font-weight: 300;
  max-width: 100%;
  box-sizing: border-box;
  transition: border .12s ease-in-out;
}

input:not([type="checkbox"]) {
  outline: none;
}

input:not([type="checkbox"]):focus {
  border: 1px solid #F97316;
}

input[disabled] {
  background-color: #ddd;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23CCC' d='M0 0h10L5 6 0 0z'/%3E%3C/svg%3E%0A") no-repeat #fff;
  background-position: right 10px center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 30px 8px 10px;
  outline: none;
  color: #555;
  width: 100%;
}

select:focus {
  border: 1px solid #F97316;
}

select::-ms-expand {
  display: none;
}

textarea {
  border: 1px solid #ddd;
  border-radius: 2px;
  resize: vertical;
  width: 100%;
  outline: none;
  padding: 10px;
}

textarea:focus {
  border: 1px solid #F97316;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

@media (min-width: 1160px) {
  .container {
    padding: 0;
    width: 90%;
  }
}

.container-divider {
  border-top: 1px solid #ddd;
  margin-bottom: 20px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.error-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

@media (min-width: 1160px) {
  .error-page {
    padding: 0;
    width: 90%;
  }
}

.visibility-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/***** Buttons *****/
.button, .split-button button, .section-subscribe button, .article-subscribe button, .community-follow button, .requests-table-toolbar .organization-subscribe button, .subscriptions-subscribe button, .pagination-next-link, .pagination-prev-link, .pagination-first-link, .pagination-last-link {
  background-color: transparent;
  border: 1px solid #F97316;
  border-radius: 4px;
  color: #F97316;
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  line-height: 2.34;
  margin: 0;
  padding: 0 20px;
  text-align: center;
  transition: background-color .12s ease-in-out, border-color .12s ease-in-out, color .15s ease-in-out;
  user-select: none;
  white-space: nowrap;
  width: 100%;
  -webkit-touch-callout: none;
}

@media (min-width: 768px) {
  .button, .split-button button, .section-subscribe button, .article-subscribe button, .community-follow button, .requests-table-toolbar .organization-subscribe button, .subscriptions-subscribe button, .pagination-next-link, .pagination-prev-link, .pagination-first-link, .pagination-last-link {
    width: auto;
  }
}

.button:hover, .split-button button:hover, .section-subscribe button:hover, .article-subscribe button:hover, .community-follow button:hover, .requests-table-toolbar .organization-subscribe button:hover, .subscriptions-subscribe button:hover, .pagination-next-link:hover, .pagination-prev-link:hover, .pagination-first-link:hover, .pagination-last-link:hover, .button:active, .split-button button:active, .section-subscribe button:active, .article-subscribe button:active, .community-follow button:active, .requests-table-toolbar .organization-subscribe button:active, .subscriptions-subscribe button:active, .pagination-next-link:active, .pagination-prev-link:active, .pagination-first-link:active, .pagination-last-link:active, .button:focus, .split-button button:focus, .section-subscribe button:focus, .article-subscribe button:focus, .community-follow button:focus, .requests-table-toolbar .organization-subscribe button:focus, .subscriptions-subscribe button:focus, .pagination-next-link:focus, .pagination-prev-link:focus, .pagination-first-link:focus, .pagination-last-link:focus, .button.button-primary, .split-button button.button-primary, .section-subscribe button.button-primary, .section-subscribe button[data-selected="true"], .article-subscribe button.button-primary, .article-subscribe button[data-selected="true"], .community-follow button.button-primary, .requests-table-toolbar .organization-subscribe button.button-primary, .requests-table-toolbar .organization-subscribe button[data-selected="true"], .subscriptions-subscribe button.button-primary, .subscriptions-subscribe button[data-selected="true"], .button-primary.pagination-next-link, .button-primary.pagination-prev-link, .button-primary.pagination-first-link, .button-primary.pagination-last-link {
  background-color: #F97316;
  color: #FFFFFF;
  text-decoration: none;
}

.button.button-primary:hover, .split-button button:hover, .section-subscribe button.button-primary:hover, .section-subscribe button:hover[data-selected="true"], .article-subscribe button.button-primary:hover, .article-subscribe button:hover[data-selected="true"], .community-follow button.button-primary:hover, .requests-table-toolbar .organization-subscribe button.button-primary:hover, .requests-table-toolbar .organization-subscribe button:hover[data-selected="true"], .subscriptions-subscribe button.button-primary:hover, .subscriptions-subscribe button:hover[data-selected="true"], .button-primary.pagination-next-link:hover, .button-primary.pagination-prev-link:hover, .button-primary.pagination-first-link:hover, .button-primary.pagination-last-link:hover, .button.button-primary:focus, .split-button button.button-primary:focus, .section-subscribe button.button-primary:focus, .section-subscribe button:focus[data-selected="true"], .article-subscribe button.button-primary:focus, .article-subscribe button:focus[data-selected="true"], .community-follow button.button-primary:focus, .requests-table-toolbar .organization-subscribe button.button-primary:focus, .requests-table-toolbar .organization-subscribe button:focus[data-selected="true"], .subscriptions-subscribe button.button-primary:focus, .subscriptions-subscribe button:focus[data-selected="true"], .button-primary.pagination-next-link:focus, .button-primary.pagination-prev-link:focus, .button-primary.pagination-first-link:focus, .button-primary.pagination-last-link:focus, .button.button-primary:active, .split-button button.button-primary:active, .section-subscribe button.button-primary:active, .section-subscribe button:active[data-selected="true"], .article-subscribe button.button-primary:active, .article-subscribe button:active[data-selected="true"], .community-follow button.button-primary:active, .requests-table-toolbar .organization-subscribe button.button-primary:active, .requests-table-toolbar .organization-subscribe button:active[data-selected="true"], .subscriptions-subscribe button.button-primary:active, .subscriptions-subscribe button:active[data-selected="true"], .button-primary.pagination-next-link:active, .button-primary.pagination-prev-link:active, .button-primary.pagination-first-link:active, .button-primary.pagination-last-link:active {
  background-color: #a54604;
  border-color: #a54604;
}

.button[data-disabled], .split-button button[data-disabled], .section-subscribe button[data-disabled], .article-subscribe button[data-disabled], .community-follow button[data-disabled], .requests-table-toolbar .organization-subscribe button[data-disabled], .subscriptions-subscribe button[data-disabled], .pagination-next-link[data-disabled], .pagination-prev-link[data-disabled], .pagination-first-link[data-disabled], .pagination-last-link[data-disabled] {
  cursor: default;
}

.button-large, input[type="submit"] {
  cursor: pointer;
  background-color: #F97316;
  border: 0;
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.72;
  min-width: 190px;
  padding: 0 1.9286em;
  width: 100%;
}

@media (min-width: 768px) {
  .button-large, input[type="submit"] {
    width: auto;
  }
}

.button-large:hover, .button-large:active, .button-large:focus, input[type="submit"]:hover, input[type="submit"]:active, input[type="submit"]:focus {
  background-color: #a54604;
}

.button-large[disabled], input[type="submit"][disabled] {
  background-color: #ddd;
}

.button-secondary {
  color: #30446e;
  border: 1px solid #ddd;
  background-color: transparent;
}

.button-secondary:hover, .button-secondary:focus, .button-secondary:active {
  color: #111827;
  border: 1px solid #ddd;
  background-color: #f7f7f7;
}

/***** Split button *****/
.split-button {
  display: flex;
}

.split-button button {
  background-color: #F97316;
  border: 0;
  color: #FFFFFF;
  height: 32px;
  line-height: 16px;
  outline-color: #F97316;
}

[dir="rtl"] .split-button button:not(:only-child):first-child {
  border-left: 1px solid #FFFFFF;
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}

[dir="ltr"] .split-button button:not(:only-child):first-child {
  border-right: 1px solid #FFFFFF;
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}

.split-button button:not(:only-child):last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  min-width: 26px;
  max-width: 26px;
  padding: 0;
}

[dir="rtl"] .split-button button:not(:only-child):last-child {
  border-top-right-radius: unset;
  border-bottom-right-radius: unset;
}

[dir="ltr"] .split-button button:not(:only-child):last-child {
  border-top-left-radius: unset;
  border-bottom-left-radius: unset;
}

/***** Tables *****/
.table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

@media (min-width: 768px) {
  .table {
    table-layout: auto;
  }
}

.table th,
.table th a {
  color: #30446e;
  font-size: 13px;
  font-weight: 300;
  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;
}

@media (min-width: 768px) {
  .table tr {
    display: table-row;
  }
}

.table td {
  display: block;
}

@media (min-width: 768px) {
  .table td {
    display: table-cell;
  }
}

@media (min-width: 1024px) {
  .table td, .table th {
    padding: 20px 30px;
  }
}

@media (min-width: 768px) {
  .table td, .table th {
    padding: 10px 20px;
    height: 60px;
  }
}

/***** Forms *****/
.form {
  max-width: 650px;
}

.form-field ~ .form-field {
  margin-top: 25px;
}

.form-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.form-field input {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
}

.form-field input:focus {
  border: 1px solid #F97316;
}

.form-field input[type="text"] {
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-field input[type="text"]:focus {
  border: 1px solid #F97316;
}

.form-field input[type="checkbox"] {
  width: auto;
}

.form-field .nesty-input {
  border-radius: 4px;
  height: 40px;
  line-height: 40px;
  outline: none;
  vertical-align: middle;
}

.form-field .nesty-input:focus {
  border: 1px solid #F97316;
  text-decoration: none;
}

.form-field .hc-multiselect-toggle:focus {
  outline: none;
  border: 1px solid #F97316;
  text-decoration: none;
}

.form-field textarea {
  vertical-align: middle;
}

.form-field input[type="checkbox"] + label {
  margin: 0 0 0 10px;
}

.form-field .optional {
  color: #30446e;
  margin-left: 4px;
}

.form-field p {
  color: #30446e;
  font-size: 12px;
  margin: 5px 0;
}

.form footer {
  margin-top: 40px;
  padding-top: 30px;
}

.form footer a {
  color: #30446e;
  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: #EA580C;
}

/***** Header *****/
/* As regras .header originais do Copenhagen foram removidas daqui.
   Estavam 100% sobrescritas pelo bloco "Header (header.hbs)" mais abaixo
   (mesma especificidade, definido depois), entao nao surtiam efeito algum
   e so atrapalhavam na hora de ajustar o cabecalho. */

.logo img {
  max-height: 37px;
  vertical-align: middle;
}

.logo span {
  margin: 0 10px;
  color: #F97316;
}

.logo a {
  display: inline-block;
}

.logo a:hover, .logo a:focus, .logo a:active {
  text-decoration: none;
}

.user-nav {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .user-nav {
    position: relative;
  }
}

.user-nav[aria-expanded="true"] {
  background-color: #fff;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15), 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  border: solid 1px #ddd;
  right: 0;
  left: 0;
  top: 71px;
  z-index: 1;
}

.user-nav[aria-expanded="true"] > a {
  display: block;
  margin: 8px;
}

.nav-wrapper a {
  border: 0;
  color: #EA580C;
  display: none;
  font-size: 14px;
  padding: 0 20px 0 0;
  width: auto;
}

@media (min-width: 768px) {
  .nav-wrapper a {
    display: inline-block;
  }
}

[dir="rtl"] .nav-wrapper a {
  padding: 0 0 0 20px;
}

.nav-wrapper a:hover, .nav-wrapper a:focus, .nav-wrapper a:active {
  background-color: transparent;
  color: #EA580C;
  text-decoration: underline;
}

.nav-wrapper a.sign-in {
  display: inline-block;
}

@media (max-width: 768px) {
  .nav-wrapper .hide-on-mobile {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
  }
}

.nav-wrapper .menu-button {
  background: none;
  border: 0;
  color: #EA580C;
  display: inline-block;
  margin-right: 10px;
  padding: 0;
  width: auto;
}

@media (min-width: 768px) {
  .nav-wrapper .menu-button {
    display: none;
  }
}

.nav-wrapper .menu-button .icon-menu {
  vertical-align: middle;
  width: 25px;
  height: 25px;
}

[dir="rtl"] .nav-wrapper .menu-button {
  margin-left: 10px;
  margin-right: 0;
}

.nav-wrapper .menu-button:hover, .nav-wrapper .menu-button:focus, .nav-wrapper .menu-button:active {
  background-color: transparent;
  color: #EA580C;
}

.skip-navigation {
  align-items: center;
  background-color: black;
  color: white;
  display: flex;
  font-size: 14px;
  justify-content: center;
  left: -999px;
  margin: 20px;
  padding: 20px;
  overflow: hidden;
  position: absolute;
  top: auto;
  z-index: -999;
}

[dir="rtl"] .skip-navigation {
  left: initial;
  right: -999px;
}

.skip-navigation:focus, .skip-navigation:active {
  left: auto;
  overflow: auto;
  text-align: center;
  text-decoration: none;
  top: auto;
  z-index: 999;
}

[dir="rtl"] .skip-navigation:focus, [dir="rtl"] .skip-navigation:active {
  left: initial;
  right: auto;
}

/***** User info in header *****/
.user-info {
  display: inline-block;
}

.user-info .dropdown-toggle::after {
  display: none;
}

@media (min-width: 768px) {
  .user-info .dropdown-toggle::after {
    display: inline-block;
  }
}

.user-info > button {
  border: 0;
  color: #EA580C;
  min-width: 0;
  padding: 0;
  white-space: nowrap;
}

.user-info > button:hover, .user-info > button:focus {
  color: #EA580C;
  background-color: transparent;
}

.user-info > button::after {
  color: #EA580C;
  padding-right: 15px;
}

[dir="rtl"] .user-info > button::after {
  padding-left: 15px;
  padding-right: 0;
}

#user #user-name {
  display: none;
  font-size: 14px;
}

@media (min-width: 768px) {
  #user #user-name {
    display: inline-block;
  }
}

#user #user-name:hover {
  text-decoration: underline;
}

/***** User avatar *****/
.user-avatar {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

.avatar {
  display: inline-block;
  position: relative;
}

.avatar img {
  height: 40px;
  width: 40px;
}

.avatar .icon-agent {
  color: #F97316;
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: -4px;
  background-color: #FFFFFF;
  font-size: 17px;
  height: 17px;
  line-height: 17px;
  position: absolute;
  right: -2px;
  text-align: center;
  width: 17px;
}

/***** Footer *****/
.footer {
  border-top: 1px solid #ddd;
  margin-top: 60px;
  padding: 30px 0;
}

.footer a {
  color: #30446e;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: center;
}

@media (min-width: 1160px) {
  .footer-inner {
    padding: 0;
    width: 90%;
  }
}

.footer-language-selector button {
  color: #30446e;
  display: inline-block;
  font-weight: 300;
}

/***** Breadcrumbs *****/
.breadcrumbs {
  margin: 0 0 15px 0;
  padding: 0;
}

@media (min-width: 768px) {
  .breadcrumbs {
    margin: 0;
  }
}

.breadcrumbs li {
  color: #30446e;
  display: inline;
  font-weight: 300;
  font-size: 13px;
  max-width: 450px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs li + li::before {
  content: ">";
  margin: 0 4px;
}

.breadcrumbs li a:visited {
  color: #EA580C;
}

/***** Search field *****/
.search {
  position: relative;
}

.search input[type="search"] {
  border: 1px solid #ddd;
  border-radius: 30px;
  box-sizing: border-box;
  color: #666;
  height: 40px;
  padding-left: 40px;
  padding-right: 20px;
  -webkit-appearance: none;
  width: 100%;
}

[dir="rtl"] .search input[type="search"] {
  padding-right: 40px;
  padding-left: 20px;
}

.search input[type="search"]:focus {
  border: 1px solid #F97316;
  color: #555;
}

.search-full input[type="search"] {
  border: 1px solid #fff;
}

.search-icon {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  left: 15px;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: #777;
}

[dir="rtl"] .search-icon {
  right: 15px;
  left: auto;
}

.search-container {
  position: relative;
}

/***** Hero component *****/
.hero {
  background-image: url(/hc/theming_assets/01M06V74XSW7S03BDDPMF3JQR4);
  background-position: center;
  background-size: cover;
  height: 300px;
  padding: 0 20px;
  text-align: center;
  width: 100%;
}

.hero-inner {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 732px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10px 0;
}

@media (min-width: 768px) {
  .page-header {
    align-items: baseline;
    flex-direction: row;
    margin: 0;
  }
}

.page-header .section-subscribe {
  flex-shrink: 0;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .page-header .section-subscribe {
    margin-bottom: 0;
  }
}

.page-header h1 {
  flex-grow: 1;
  margin-bottom: 10px;
}

.page-header-description {
  font-style: normal;
  font-weight: 300;
  margin: 0 0 30px 0;
  word-break: break-word;
}

@media (min-width: 1024px) {
  .page-header-description {
    flex-basis: 100%;
  }
}

.page-header .icon-lock {
  height: 20px;
  width: 20px;
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.sub-nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 30px;
  min-height: 50px;
  padding-bottom: 15px;
}

@media (min-width: 768px) {
  .sub-nav {
    align-items: baseline;
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .sub-nav input[type="search"] {
    min-width: 300px;
  }
}

.sub-nav input[type="search"]::after {
  font-size: 15px;
}

/***** Blocks *****/
.blocks-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
}

@media (min-width: 768px) {
  .blocks-list {
    margin: 0 -15px;
  }
}

.blocks-item {
  border: 1px solid #F97316;
  border-radius: 4px;
  box-sizing: border-box;
  color: #F97316;
  display: flex;
  flex: 1 0 340px;
  margin: 0 0 30px;
  max-width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .blocks-item {
    margin: 0 15px 30px;
  }
}

.blocks-item:hover, .blocks-item:focus, .blocks-item:active {
  background-color: #F97316;
}

.blocks-item:hover *, .blocks-item:focus *, .blocks-item:active * {
  color: #FFFFFF;
  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: #111827;
}

.blocks-item-link {
  color: #F97316;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  border-radius: inherit;
}

.blocks-item-link:hover, .blocks-item-link:active {
  text-decoration: none;
}

.blocks-item-link:focus {
  outline: 0;
  box-shadow: 0 0 0 3px #F97316;
  text-decoration: none;
}

.blocks-item-title {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: bold;
  color: black;
}

.blocks-item-description {
  font-weight: 300;
  margin: 0;
}

.blocks-item-description:not(:empty) {
  margin-top: 10px;
}

/***** Homepage *****/
.section {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .section {
    margin-bottom: 60px;
  }
}

.home-section h2 {
  margin-bottom: 10px;
  text-align: center;
}

/***** Promoted articles *****/
.promoted-articles {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .promoted-articles {
    flex-direction: row;
  }
}

.promoted-articles-item {
  flex: 1 0 auto;
}

@media (min-width: 1024px) {
  .promoted-articles-item {
    align-self: flex-end;
    flex: 0 0 auto;
    padding-right: 30px;
    width: 33%;
  }
  [dir="rtl"] .promoted-articles-item {
    padding: 0 0 0 30px;
  }
}

.promoted-articles-item:nth-child(3n) {
  padding-right: 0;
}

.promoted-articles-item a {
  display: block;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  color: #111827;
}

.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/01M06V74XSW7S03BDDPMF3JQR4);
  background-position: center;
  background-repeat: no-repeat;
  max-width: 100%;
}

.community,
.activity {
  border-top: 0px solid #ddd;
  padding: 0;
}

/***** Recent activity *****/
.recent-activity-header {
  margin-bottom: 10px;
  text-align: center;
}

.recent-activity-list {
  padding: 0;
}

.recent-activity-item {
  border-bottom: 1px solid #ddd;
  overflow: auto;
  padding: 20px 0;
}

.recent-activity-item-parent {
  font-size: 16px;
}

.recent-activity-item-parent, .recent-activity-item-link {
  margin: 6px 0;
  color: #111827;
  display: inline-block;
  width: 100%;
}

@media (min-width: 768px) {
  .recent-activity-item-parent, .recent-activity-item-link {
    width: 70%;
    margin: 0;
  }
}

.recent-activity-item-link {
  font-size: 14px;
  font-weight: 300;
}

.recent-activity-item-meta {
  margin: 15px 0 0 0;
  float: none;
}

@media (min-width: 768px) {
  .recent-activity-item-meta {
    margin: 0;
    float: right;
  }
  [dir="rtl"] .recent-activity-item-meta {
    float: left;
  }
}

.recent-activity-item-time, .recent-activity-item-comment {
  color: #30446e;
  display: inline-block;
  font-size: 13px;
  font-weight: 300;
}

.recent-activity-item-comment {
  padding-left: 5px;
}

[dir="rtl"] .recent-activity-item-comment {
  padding: 0 5px 0 0;
}

.recent-activity-item-comment::before {
  display: inline-block;
}

.recent-activity-controls {
  padding-top: 15px;
}

.recent-activity-accessibility-label {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.recent-activity-comment-icon svg {
  vertical-align: middle;
  color: #F97316;
  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;
}

@media (min-width: 1024px) {
  .category-content {
    flex: 0 0 80%;
  }
}

.section-tree {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .section-tree {
    flex-direction: row;
  }
}

.section-tree .section {
  flex: initial;
}

@media (min-width: 768px) {
  .section-tree .section {
    flex: 0 0 45%;
  }
}

.section-tree-title {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
}

.section-tree-title a {
  color: #111827;
}

.section-tree .see-all-articles {
  display: block;
  padding: 15px 0;
}

/***** Section pages *****/
.section-container {
  display: flex;
  justify-content: flex-end;
}

.section-content {
  flex: 1;
}

@media (min-width: 1024px) {
  .section-content {
    flex: 0 0 80%;
  }
}

.section-list {
  margin: 40px 0;
}

.section-list-item {
  border-bottom: 1px solid #ddd;
  font-size: 16px;
  padding: 15px 0;
}

.section-list-item:first-child {
  border-top: 1px solid #ddd;
}

.section-list-item a {
  align-items: center;
  color: #111827;
  display: flex;
  justify-content: space-between;
}

.see-all-sections-trigger {
  cursor: pointer;
  display: block;
  padding: 15px;
  text-align: center;
}

.see-all-sections-trigger[aria-hidden="true"] {
  display: none;
}

/***** Article *****/
.article {
  flex: 1 0 auto;
}

@media (min-width: 1024px) {
  .article {
    flex: 1 0 66%;
    max-width: 66%;
    min-width: 640px;
    padding: 0 30px;
  }
}

.article-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .article-container {
    flex-direction: row;
  }
}

.article-header {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .article-header {
    flex-direction: row;
    margin-top: 0;
  }
}

.article-avatar {
  margin-right: 10px;
}

.article-author {
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .article-title {
    flex-basis: 100%;
  }
}

.article-title .icon-lock {
  position: relative;
  left: -5px;
  vertical-align: baseline;
}

.article [role="button"] {
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .article [role="button"] {
    width: auto;
  }
}

.article-info {
  max-width: 100%;
}

.article-meta {
  display: inline-block;
  vertical-align: middle;
}

.article-body img {
  height: auto;
  max-width: 100%;
}

.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 a:visited {
  color: #EA580C;
}

.article-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.article-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.article-body blockquote {
  border-left: 1px solid #ddd;
  color: #30446e;
  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: #30446e;
  font-weight: 300;
}

.article-comment-count:hover {
  text-decoration: none;
}

.article-comment-count-icon {
  vertical-align: middle;
  color: #F97316;
  width: 18px;
  height: 18px;
}

.article-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  margin-bottom: 20px;
  padding: 0;
}

@media (min-width: 1024px) {
  .article-sidebar {
    border: 0;
    flex: 0 0 17%;
    height: auto;
  }
}

.article-relatives {
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

@media (min-width: 768px) {
  .article-relatives {
    flex-direction: row;
  }
}

.article-relatives > * {
  flex: 1 0 50%;
  min-width: 50%;
  overflow-wrap: break-word;
  margin-right: 0;
}

.article-relatives > *:last-child {
  padding: 0;
}

@media (min-width: 768px) {
  .article-relatives > * {
    padding-right: 20px;
  }
}

.article-votes {
  border-top: 1px solid #ddd;
  padding: 30px 0;
  text-align: center;
}

.article-vote {
  margin: 10px 5px;
  min-width: 90px;
  width: auto;
}

.article-more-questions {
  margin: 10px 0 20px;
  text-align: center;
}

.article-return-to-top {
  border-top: 1px solid #ddd;
}

@media (min-width: 1024px) {
  .article-return-to-top {
    display: none;
  }
}

.article-return-to-top a {
  color: #111827;
  display: block;
  padding: 20px 0;
}

.article-return-to-top a:hover, .article-return-to-top a:focus {
  text-decoration: none;
}

.article-return-to-top-icon {
  transform: rotate(0.5turn);
}

.sidenav-title {
  font-size: 15px;
  position: relative;
  font-weight: 600;
}

.sidenav-item {
  border-radius: 4px;
  color: #111827;
  display: block;
  font-weight: 300;
  margin-bottom: 10px;
  padding: 10px;
}

.sidenav-item.current-article, .sidenav-item:hover {
  background-color: #F97316;
  color: #FFFFFF;
  text-decoration: none;
}

.recent-articles li,
.related-articles li {
  margin-bottom: 15px;
}

/***** Attachments *****/
.attachments .attachment-item {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.attachments .attachment-item:last-child {
  margin-bottom: 0;
}

.attachments .attachment-item .attachment-icon {
  color: #111827;
  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: #30446e;
}

/***** 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: #30446e;
}

.share a:hover {
  text-decoration: none;
  color: #F97316;
}

.share a svg {
  height: 18px;
  width: 18px;
  display: block;
}

/***** Comments *****/
.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: #30446e;
  display: inline-block;
  font-weight: 300;
  font-size: 13px;
  margin-bottom: 0;
}

.comment-callout a {
  color: #F97316;
}

.comment-sorter {
  display: inline-block;
  float: right;
}

.comment-sorter .dropdown-toggle {
  color: #30446e;
  font-weight: 300;
  font-size: 13px;
}

[dir="rtl"] .comment-sorter {
  float: left;
}

.comment-wrapper {
  display: flex;
  position: relative;
}

.comment-wrapper.comment-official {
  border: 1px solid #F97316;
  padding: 40px 20px 20px;
}

@media (min-width: 768px) {
  .comment-wrapper.comment-official {
    padding-top: 20px;
  }
}

.comment-info {
  min-width: 0;
  padding-right: 20px;
  width: 100%;
}

[dir="rtl"] .comment-info {
  padding-right: 0;
  padding-left: 20px;
}

.comment-author {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .comment-author {
    justify-content: space-between;
  }
}

.comment-avatar {
  margin-right: 10px;
}

[dir="rtl"] .comment-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.comment-meta {
  flex: 1 0 auto;
}

.comment-labels {
  flex-basis: 100%;
}

@media (min-width: 768px) {
  .comment-labels {
    flex-basis: auto;
  }
}

.comment .status-label:not(.status-label-official) {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .comment .status-label:not(.status-label-official) {
    margin-top: 0;
  }
}

.comment-form {
  display: flex;
  padding-top: 30px;
  word-wrap: break-word;
}

.comment-container {
  width: 100%;
}

.comment-form-controls {
  display: none;
  margin-top: 10px;
  text-align: left;
}

@media (min-width: 768px) {
  [dir="ltr"] .comment-form-controls {
    text-align: right;
  }
}

.comment-form-controls input[type="submit"] {
  margin-top: 15px;
}

@media (min-width: 1024px) {
  .comment-form-controls input[type="submit"] {
    margin-left: 15px;
  }
  [dir="rtl"] .comment-form-controls input[type="submit"] {
    margin-left: 0;
    margin-right: 15px;
  }
}

.comment-form-controls input[type="checkbox"] {
  margin-right: 5px;
}

.comment-form-controls input[type="checkbox"] [dir="rtl"] {
  margin-left: 5px;
}

.comment-ccs {
  display: none;
}

.comment-ccs + textarea {
  margin-top: 10px;
}

.comment-attachments {
  margin-top: 10px;
}

.comment-attachments a {
  color: #F97316;
}

.comment-body {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  font-family: "Roboto", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: auto;
}

.comment-body img {
  height: auto;
  max-width: 100%;
}

.comment-body ul, .comment-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}

[dir="rtl"] .comment-body ul, [dir="rtl"] .comment-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}

.comment-body ul > ul, .comment-body ol > ol, .comment-body ol > ul, .comment-body ul > ol, .comment-body li > ul, .comment-body li > ol {
  margin: 0;
}

.comment-body ul {
  list-style-type: disc;
}

.comment-body a:visited {
  color: #EA580C;
}

.comment-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.comment-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.comment-body blockquote {
  border-left: 1px solid #ddd;
  color: #30446e;
  font-style: italic;
  padding: 0 15px;
}

.comment-mark-as-solved {
  display: inline-block;
}

/***** Vote *****/
.vote {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.vote a:active, .vote a:hover, .vote a:focus {
  text-decoration: none;
}

.vote-sum {
  color: #30446e;
  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: #F97316;
}

.vote-up, .vote-down {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  color: #30446e;
  cursor: pointer;
  min-height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vote-voted {
  color: #F97316;
}

.vote-voted:hover {
  color: #a54604;
}

/***** Actions *****/
.actions {
  text-align: center;
  flex-shrink: 0;
}

.actions button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  min-height: 35px;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/***** Community *****/
.community-hero {
  background-image: url(/hc/theming_assets/01M06V74XSW7S03BDDPMF3JQR4);
  margin-bottom: 10px;
}

.community-footer {
  padding-top: 50px;
  text-align: center;
}

.community-footer-title {
  font-size: 16px;
  margin-bottom: 20px;
}

.community-featured-posts .title {
  font-size: 18px;
  font-weight: 600;
}

.community-featured-posts, .community-activity {
  padding-top: 40px;
  width: 100%;
}

.community-header {
  margin-bottom: 30px;
}

.community-header .title {
  margin-bottom: 0;
  font-size: 16px;
}

.post-to-community {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .post-to-community {
    margin: 0;
  }
}

.topics {
  max-width: none;
  width: 100%;
}

.topics-item .meta-group {
  justify-content: center;
  margin-top: 20px;
}

.topic-header {
  border-bottom: 1px solid #ddd;
  font-size: 13px;
}

@media (min-width: 768px) {
  .topic-header {
    padding-bottom: 10px;
  }
}

.topic-header .dropdown {
  display: block;
  border-top: 1px solid #ddd;
  padding: 10px 0;
}

@media (min-width: 768px) {
  .topic-header .dropdown {
    border-top: 0;
    display: inline-block;
    margin-right: 20px;
    padding: 0;
  }
}

.no-posts-with-filter {
  margin-top: 20px;
  margin-bottom: 20px;
}

.community-follow {
  margin-bottom: 10px;
  width: 100%;
}

@media (min-width: 768px) {
  .community-follow {
    margin-bottom: 0;
    width: auto;
  }
}

.community-follow button {
  line-height: 30px;
  padding: 0 10px 0 15px;
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .community-follow button {
    width: auto;
  }
}

.community-follow button:hover {
  background-color: #F97316;
}

.community-follow button:hover::after, .community-follow button:focus::after {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.community-follow button[data-selected="true"] {
  background-color: #F97316;
  color: #FFFFFF;
}

.community-follow button[data-selected="true"]::after {
  border-left: 1px solid #FFFFFF;
  color: #FFFFFF;
}

.community-follow button[data-selected="true"]:hover {
  background-color: #a54604;
  border-color: #a54604;
}

.community-follow button::after {
  border-left: 1px solid #F97316;
  content: attr(data-follower-count);
  color: #F97316;
  display: inline-block;
  font-family: "Roboto", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  margin-left: 15px;
  padding-left: 10px;
  position: absolute;
  right: 10px;
}

@media (min-width: 768px) {
  .community-follow button::after {
    position: static;
  }
}

[dir="rtl"] .community-follow button::after {
  border-left: 0;
  border-right: 1px solid #F97316;
  margin: 0 10px 0 0;
  padding: 0 10px 0 0;
}

/***** Striped list *****/
.striped-list {
  padding: 0;
}

.striped-list-item {
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 0;
}

@media (min-width: 768px) {
  .striped-list-item {
    align-items: center;
    flex-direction: row;
  }
}

.striped-list-info {
  flex: 2;
}

.striped-list-title {
  color: #EA580C;
  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: #EA580C;
}

.striped-list .meta-group {
  margin: 5px 0;
}

.striped-list-count {
  color: #30446e;
  font-weight: 300;
  font-size: 13px;
  justify-content: flex-start;
  text-transform: capitalize;
}

@media (min-width: 768px) {
  .striped-list-count {
    display: flex;
    flex: 1;
    justify-content: space-around;
  }
}

.striped-list-count-item::after {
  content: "·";
  display: inline-block;
  padding: 0 5px;
}

@media (min-width: 768px) {
  .striped-list-count-item::after {
    display: none;
  }
}

.striped-list-count-item:last-child::after {
  display: none;
}

.striped-list-number {
  font-weight: 300;
  text-align: center;
}

@media (min-width: 768px) {
  .striped-list-number {
    color: #111827;
    display: block;
    font-weight: 400;
  }
}

/***** Status labels *****/
.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: #F97316;
}

.status-label-official {
  border-radius: 0;
  margin-right: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .status-label-official {
    border-radius: 0 0 4px 4px;
    right: 30px;
    width: auto;
  }
}

[dir="rtl"] .status-label-official {
  left: 30px;
  right: auto;
}

.status-label-not-planned, .status-label-closed {
  background-color: #e9ebed;
  color: #30446e;
}

.status-label-pending, .status-label-pending-moderation {
  background-color: #1f73b7;
  text-align: center;
}

.status-label-open {
  background-color: #c72a1c;
}

.status-label-solved {
  background-color: #68737d;
}

.status-label-new {
  background-color: #ffb648;
  color: #703b15;
}

.status-label-hold {
  background-color: #000;
}

/***** Post *****/
.post {
  flex: 1;
  margin-bottom: 10px;
}

@media (min-width: 1024px) {
  .post {
    flex: 1 0 70%;
    max-width: 70%;
  }
}

.post-container {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .post-container {
    flex-direction: row;
  }
}

.post-header {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .post-header {
    align-items: baseline;
    flex-direction: row;
  }
}

.post-header .status-label {
  vertical-align: super;
}

.post-title {
  margin-bottom: 20px;
  width: 100%;
}

@media (min-width: 768px) {
  .post-title {
    margin-bottom: 0;
    padding-right: 10px;
  }
}

.post-title h1 {
  display: inline;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .post-title h1 {
    margin-right: 5px;
  }
}

.post-author {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.post-avatar {
  margin-bottom: 30px;
}

.post-content {
  font-family: "Roboto", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  word-break: break-word;
}

.post-info-container {
  display: flex;
  margin-bottom: 40px;
}

.post-info {
  min-width: 0;
  padding-right: 20px;
  width: 100%;
}

[dir="rtl"] .post-info {
  padding-right: 0;
  padding-left: 20px;
}

.post-meta {
  display: inline-block;
  flex: 1;
  margin-left: 10px;
  vertical-align: middle;
}

[dir="rtl"] .post-meta {
  margin-left: 0;
  margin-right: 10px;
}

.post-body img {
  height: auto;
  max-width: 100%;
}

.post-body ul, .post-body ol {
  padding-left: 20px;
  list-style-position: outside;
  margin: 20px 0 20px 20px;
}

[dir="rtl"] .post-body ul, [dir="rtl"] .post-body ol {
  padding-right: 20px;
  padding-left: 0;
  margin-left: 0;
  margin-right: 20px;
}

.post-body ul > ul, .post-body ol > ol, .post-body ol > ul, .post-body ul > ol, .post-body li > ul, .post-body li > ol {
  margin: 0;
}

.post-body ul {
  list-style-type: disc;
}

.post-body a:visited {
  color: #EA580C;
}

.post-body code {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 0 5px;
  margin: 0 2px;
}

.post-body pre {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 15px;
  overflow: auto;
  white-space: pre;
}

.post-body blockquote {
  border-left: 1px solid #ddd;
  color: #30446e;
  font-style: italic;
  padding: 0 15px;
}

.post-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.post-comment-count {
  color: #30446e;
  font-weight: 300;
}

.post-comment-count:hover {
  text-decoration: none;
}

.post-comment-count .icon-comments {
  color: #F97316;
  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 *****/
.community-badge-titles {
  background-color: #04444d;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  vertical-align: middle;
  white-space: nowrap;
  display: inline-flex;
  line-height: 20px;
  margin: 0 2px;
}

.community-badge-container-achievements {
  padding-top: 5px;
}

.community-badge-achievements {
  display: inline-block;
  margin: 0 3px 0 0;
}

[dir="rtl"] .community-badge-achievements {
  margin: 0 0 0 3px;
}

.community-badge-achievements img {
  width: 22px;
  height: 22px;
}

.community-badge-titles img {
  width: 20px;
  height: 20px;
}

.profile-info .community-badge-achievements img {
  width: 40px;
  height: 40px;
}

.collapsible-nav {
  flex-direction: column;
  font-size: 14px;
  position: relative;
}

@media (min-width: 768px) {
  .collapsible-nav {
    flex-direction: row;
  }
}

.collapsible-nav-border {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}

@media (min-width: 768px) {
  .collapsible-nav-border {
    border-top: 0;
  }
}

.collapsible-nav-toggle {
  top: calc(45px / 2);
  transform: translateY(-50%);
  position: absolute;
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .collapsible-nav-toggle {
    display: none;
  }
}

[dir="rtl"] .collapsible-nav-toggle {
  left: 0;
  right: auto;
}

.collapsible-nav-toggle-icon {
  display: none;
}

.collapsible-nav-toggle[aria-expanded="false"] .chevron-icon {
  display: inline-block;
}

.collapsible-nav-toggle[aria-expanded="true"] .x-icon {
  display: inline-block;
}

.collapsible-nav-toggle:focus {
  outline: none;
  border: 1px solid #F97316;
}

.collapsible-nav-list {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .collapsible-nav-list {
    flex-direction: row;
  }
}

.collapsible-nav-list li {
  color: #111827;
  line-height: 45px;
  order: 1;
}

@media (min-width: 768px) {
  .collapsible-nav-list li {
    line-height: normal;
    margin-right: 30px;
  }
  [dir="rtl"] .collapsible-nav-list li {
    margin-left: 30px;
    margin-right: 0;
  }
  .collapsible-nav-list li a {
    text-decoration: none;
    padding: 15px 0;
  }
}

.collapsible-nav-list li a {
  color: #111827;
  display: block;
}

@media (min-width: 768px) {
  .collapsible-nav-list li:hover {
    border-bottom: 4px solid #ddd;
  }
  .collapsible-nav-list li:hover a:not([aria-current="page"]) {
    padding: 15px 0 11px 0;
    text-decoration: none;
  }
}

.collapsible-nav-list li:not([aria-selected="true"]),
.collapsible-nav-list li:not(.current) {
  display: none;
}

@media (min-width: 768px) {
  .collapsible-nav-list li:not([aria-selected="true"]),
  .collapsible-nav-list li:not(.current) {
    display: block;
  }
}

@media (min-width: 768px) {
  .collapsible-nav-list li[aria-selected="true"] {
    padding: 15px 0 11px 0;
  }
}

.collapsible-nav-list li[aria-selected="true"],
.collapsible-nav-list li.current {
  order: 0;
  position: relative;
}

@media (min-width: 768px) {
  .collapsible-nav-list li[aria-selected="true"],
  .collapsible-nav-list li.current {
    border-bottom: 4px solid #F97316;
    order: 1;
  }
}

.collapsible-nav-list li[aria-selected="true"] a,
.collapsible-nav-list li.current a {
  color: #111827;
}

.collapsible-nav[aria-expanded="true"] li:not([aria-selected="true"]),
.collapsible-nav[aria-expanded="true"] li:not(.current) {
  display: block;
}

.collapsible-sidebar {
  flex: 1;
  max-height: 45px;
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

@media (min-width: 1024px) {
  .collapsible-sidebar {
    max-height: none;
    padding: 0;
  }
}

.collapsible-sidebar-title {
  margin-top: 0;
}

.collapsible-sidebar-toggle {
  position: absolute;
  top: calc(45px / 2);
  transform: translateY(-50%);
  right: 0;
  padding: 0;
  border: 0;
  background: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

@media (min-width: 1024px) {
  .collapsible-sidebar-toggle {
    display: none;
  }
}

[dir="rtl"] .collapsible-sidebar-toggle {
  left: 0;
  right: auto;
}

.collapsible-sidebar-toggle-icon {
  display: none;
}

.collapsible-sidebar-toggle[aria-expanded="false"] .chevron-icon {
  display: inline-block;
}

.collapsible-sidebar-toggle[aria-expanded="true"] .x-icon {
  display: inline-block;
}

.collapsible-sidebar-toggle:focus {
  outline: none;
  border: 1px solid #F97316;
}

.collapsible-sidebar-body {
  display: none;
}

@media (min-width: 1024px) {
  .collapsible-sidebar-body {
    display: block;
  }
}

.collapsible-sidebar[aria-expanded="true"] {
  max-height: none;
}

.collapsible-sidebar[aria-expanded="true"] .collapsible-sidebar-body {
  display: block;
}

/***** My activities *****/
.my-activities-nav {
  background-color: #f2f2f2;
  margin-bottom: 20px;
}

.my-activities-sub-nav {
  margin-bottom: 30px;
}

.my-activities-table .striped-list-title {
  display: block;
  margin-bottom: 10px;
  max-width: 350px;
  white-space: normal;
}

@media (min-width: 1024px) {
  .my-activities-table .striped-list-title {
    margin-bottom: 0;
    max-width: 500px;
    min-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.my-activities-table thead {
  display: none;
}

@media (min-width: 768px) {
  .my-activities-table thead {
    display: table-header-group;
  }
}

.my-activities-table th:first-child,
.my-activities-table td:first-child {
  padding-left: 0;
}

@media (min-width: 1024px) {
  .my-activities-table th:first-child,
  .my-activities-table td:first-child {
    width: 500px;
  }
}

.my-activities-table th:last-child,
.my-activities-table td:last-child {
  padding-right: 0;
}

.my-activities-table td:not(:first-child) {
  display: none;
}

@media (min-width: 768px) {
  .my-activities-table td:not(:first-child) {
    display: table-cell;
  }
}

/* Requests table */
.requests-search {
  width: 100%;
}

.requests-table-toolbar {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .requests-table-toolbar {
    flex-direction: row;
  }
}

.requests-table-toolbar .search {
  flex: 1;
  width: 100%;
}

.requests-table-toolbar .request-table-filter {
  width: 100%;
}

@media (min-width: 768px) {
  .requests-table-toolbar .request-table-filter {
    width: auto;
  }
}

.requests-table-toolbar .request-filter {
  display: block;
}

@media (min-width: 768px) {
  .requests-table-toolbar .request-filter {
    margin: 0 0 0 30px;
  }
  [dir="rtl"] .requests-table-toolbar .request-filter {
    margin: 0 30px 0 0;
  }
}

.requests-table-toolbar .request-filter-label {
  font-size: 13px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .requests-table-toolbar .request-filter-label {
    margin-top: 0;
  }
}

.requests-table-toolbar select {
  max-height: 40px;
  margin-bottom: 30px;
  width: 100%;
}

@media (min-width: 768px) {
  .requests-table-toolbar select {
    margin-bottom: 0;
    max-width: 300px;
    width: auto;
  }
}

@media (min-width: 768px) {
  .requests-table-toolbar .organization-subscribe {
    margin-left: 10px;
  }
  [dir="rtl"] .requests-table-toolbar .organization-subscribe {
    margin: 0 10px 0 0;
  }
}

.requests-table-toolbar .organization-subscribe button {
  line-height: 40px;
  max-height: 40px;
  padding: 0 20px;
}

.requests-table-toolbar + .requests-search-info {
  margin-top: 15px;
}

.requests-table-toolbar + .requests-search-info.meta-data::after {
  content: "";
  margin: 0;
}

.requests-table-toolbar + .requests-search-info + .requests {
  margin-top: 20px;
}

.requests-table-toolbar + .requests {
  margin-top: 40px;
}

.requests .requests-table-meta {
  display: block;
}

@media (min-width: 768px) {
  .requests .requests-table-meta {
    display: none;
  }
}

.requests .requests-table thead {
  display: none;
}

@media (min-width: 768px) {
  .requests .requests-table thead {
    display: table-header-group;
  }
}

.requests .requests-table-info {
  display: block;
}

@media (min-width: 768px) {
  .requests .requests-table-info {
    display: table-cell;
    vertical-align: middle;
    width: auto;
  }
}

.requests .requests-table .requests-link {
  position: relative;
}

.requests .requests-table .requests-sort-symbol {
  position: absolute;
  left: calc(100% + 3px);
  bottom: 0;
  font-size: 10px;
}

/* Following table */
@media (min-width: 768px) {
  .subscriptions-subscribe button {
    width: auto;
  }
}

.subscriptions-table td:last-child {
  display: block;
}

@media (min-width: 768px) {
  .subscriptions-table td:last-child {
    display: table-cell;
  }
}

.subscriptions-table td:first-child {
  display: flex;
  align-items: center;
}

.subscriptions-table .user-avatar {
  margin-right: 10px;
}

.subscriptions .striped-list-title {
  display: inline-block;
  vertical-align: middle;
}

/* Contributions table */
.contributions-table td:last-child {
  color: #30446e;
  font-size: 13px;
  font-weight: 300;
}

@media (min-width: 768px) {
  .contributions-table td:last-child {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
  }
}

.no-activities {
  color: #30446e;
}

/***** 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: #30446e;
  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 #F97316;
}

.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 #F97316;
}

.request-main input#mark_as_solved {
  display: none;
}

.request-title {
  width: 100%;
}

@media (min-width: 1024px) {
  .request-title {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    max-width: 66%;
    padding-bottom: 20px;
  }
}

.request-sidebar {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
  flex: 1 0 auto;
  order: 0;
}

@media (min-width: 1024px) {
  .request-sidebar {
    background-color: #f7f7f7;
    border: 0;
    font-size: 13px;
    flex: 0 0 auto;
    padding: 0 20px;
    width: 30%;
  }
}

.request-sidebar h2 {
  font-size: 15px;
  font-weight: 600;
  position: relative;
}

@media (min-width: 1024px) {
  .request-sidebar h2 {
    display: none;
  }
}

.request-details {
  border-bottom: 1px solid #ddd;
  font-size: 0;
  margin: 0;
  padding-bottom: 20px;
}

.request-details:last-child {
  border: 0;
}

.request-details dt, .request-details dd {
  display: inline-block;
  vertical-align: top;
  font-size: 13px;
  margin: 20px 0 0 0;
}

.request-details dd {
  padding: 0 10px;
  width: 60%;
}

.request-details dd::after {
  content: "\A";
  white-space: pre;
}

.request-details dt {
  color: #30446e;
  font-weight: 300;
  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: #30446e;
  font-size: 13px;
  font-weight: 300;
}

.meta-data:not(:last-child)::after {
  content: "\00B7";
  margin: 0 5px;
}

/* User Profiles */
.profile-header {
  padding: 30px 0;
  background-color: #f7f7f7;
}

.profile-header .container {
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .profile-header .container {
    flex-wrap: nowrap;
  }
}

.profile-header .profile-info {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

.profile-avatar {
  position: relative;
  line-height: 0;
  align-self: center;
  margin-right: 10px;
}

[dir="rtl"] .profile-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.profile-avatar .user-avatar {
  width: 80px;
  height: 80px;
}

.profile-avatar .icon-agent {
  bottom: 0;
  right: 0;
}

.profile-header .basic-info {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}

.profile-header .basic-info .name {
  margin: 0;
  line-height: 25px;
}

.profile-header .options {
  display: flex;
  flex-basis: 100%;
  margin-top: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .profile-header .options {
    flex-wrap: nowrap;
    flex-basis: auto;
    margin-top: 0;
    margin-left: 10px;
  }
  [dir="rtl"] .profile-header .options {
    margin-left: 0;
    margin-right: 10px;
  }
  .profile-header .options > :not(:last-child) {
    margin-bottom: 0;
    margin-right: 10px;
  }
  [dir="rtl"] .profile-header .options > :not(:last-child) {
    margin-left: 10px;
    margin-right: 0;
  }
}

.user-profile-actions {
  width: 100%;
  margin-bottom: 15px;
}

.profile-header .description {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 15px 0;
  flex-basis: 100%;
}

.profile-stats {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
}

.profile-stats .stat {
  display: flex;
  margin-bottom: 10px;
}

.profile-stats .stat-label {
  color: #30446e;
  font-weight: 300;
  flex: 0 0 100px;
  margin-right: 10px;
}

[dir="rtl"] .profile-stats .stat-label {
  margin-left: 10px;
  margin-right: 0;
}

.profile-stats-activity {
  border-top: solid 1px #ddd;
  margin-top: 15px;
}

@media (min-width: 768px) {
  .profile-stats-activity {
    border-top: 0;
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat {
    flex-direction: column;
  }
}

.profile-stats-activity .stat:first-child {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .profile-stats-activity .stat:first-child {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat:not(:last-child) {
    margin-right: 40px;
  }
  [dir="rtl"] .profile-stats-activity .stat:not(:last-child) {
    margin-left: 40px;
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-activity .stat-label {
    flex: 0 1 auto;
  }
}

.profile-stats-counters {
  border-bottom: solid 1px #ddd;
}

@media (min-width: 768px) {
  .profile-stats-counters {
    flex: 0 0 200px;
    border-bottom: 0;
    margin-left: 40px;
  }
  [dir="rtl"] .profile-stats-counters {
    margin-left: 0;
    margin-right: 40px;
  }
}

@media (min-width: 1024px) {
  .profile-stats-counters {
    flex: 0 0 270px;
    margin-left: 60px;
  }
  [dir="rtl"] .profile-stats-counters {
    margin-right: 60px;
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .profile-stats-counters .stat {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat:not(:last-child) {
    margin-bottom: 15px;
  }
}

@media (min-width: 768px) {
  .profile-stats-counters .stat-label {
    flex: 0 1 auto;
  }
}

@media (min-width: 1024px) {
  .profile-stats-counters .stat-label {
    flex: 0 0 100px;
  }
}

.profile-private-badge {
  flex-basis: 100%;
  border: solid 1px #F97316;
  border-radius: 4px;
  color: #F97316;
  padding: 5px 20px;
  font-size: 12px;
  text-align: center;
}

.profile-private-badge .profile-private-icon {
  margin-left: 5px;
  line-height: 15px;
}

@media (min-width: 768px) {
  .profile-private-badge {
    flex-basis: auto;
  }
}

.profile-nav {
  background-color: #f2f2f2;
  margin-bottom: 37px;
}

.profile-section {
  width: 100%;
}

@media (min-width: 1024px) {
  .profile-section {
    width: calc(100% - 330px);
  }
}

.profile-section-header {
  display: flex;
  flex-wrap: wrap;
}

.profile-section-title {
  flex-basis: 100%;
  margin-bottom: 0;
}

.profile-section-description {
  flex-basis: 100%;
  padding: 10px 0;
  color: #30446e;
  font-weight: 300;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .profile-section-description {
    flex: 1 0 50%;
    padding-bottom: 0;
  }
}

.profile-section-sorter {
  flex-basis: 100%;
  border-top: solid 1px #eee;
  font-size: 13px;
}

.profile-section-sorter .dropdown-toggle {
  padding: 10px 0;
  width: 100%;
}

.profile-section-sorter .dropdown-toggle::after {
  position: absolute;
  right: 0;
}

[dir="rtl"] .profile-section-sorter .dropdown-toggle::after {
  left: 0;
  right: initial;
}

@media (min-width: 768px) {
  .profile-section-sorter .dropdown-toggle::after {
    position: relative;
  }
}

@media (min-width: 768px) {
  .profile-section-sorter {
    flex: 0 1 auto;
    padding-top: 0;
    border-top: 0;
    margin-left: 20px;
  }
  [dir="rtl"] .profile-section-sorter {
    margin-left: 0;
    margin-right: 20px;
  }
}

.profile-badges-items {
  margin-top: 25px;
}

.profile-badges-item {
  border-top: 1px solid #ddd;
  display: flex;
  flex: 1;
  flex-direction: row;
  justify-content: flex-start;
  padding: 27px 12px;
}

.profile-badges-item > div {
  padding-right: 12px;
  padding-left: 12px;
}

.profile-badges-item-image {
  height: 40px;
  width: 40px;
  margin-right: 12px;
}

.profile-badges-item-image img {
  max-height: 40px;
}

[dir="rtl"] .profile-badges-item-image {
  margin-left: 12px;
  margin-right: 0;
}

.profile-badges-item-title, .profile-badges-item-metadata-title {
  font-size: 15px;
  margin-bottom: 10px;
}

.profile-badges-item-title {
  font-weight: 600;
}

.profile-badges-item-description, .profile-badges-item-metadata-description {
  color: #30446e;
  font-size: 13px;
  margin: 0;
}

.profile-badges-item-metadata {
  margin-left: auto;
  text-align: right;
}

[dir="rtl"] .profile-badges-item-metadata {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.profile-contribution {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  padding: 20px 0;
  position: relative;
}

.profile-contribution-header {
  margin-bottom: 5px;
}

.profile-contribution-title {
  margin: 0 0 5px 0;
  display: inline;
  line-height: 21px;
  font-size: 15px;
  vertical-align: middle;
}

.profile-contribution-body {
  margin: 10px 0;
}

.profile-contribution-list > .profile-contribution {
  border-top: 1px solid #eee;
}

@media (min-width: 768px) {
  .profile-contribution-list > .profile-contribution {
    padding-left: 30px;
  }
  [dir="rtl"] .profile-contribution-list > .profile-contribution {
    padding-right: 30px;
    padding-left: 0;
  }
}

.profile-contribution-list > .profile-contribution:last-child {
  border-bottom: 1px solid #eee;
}

.profile-contribution-icon {
  left: 0;
  position: absolute;
  color: #ccc;
  line-height: 25px;
}

[dir="rtl"] .profile-contribution-icon {
  right: 0;
}

.profile-contribution-icon svg {
  vertical-align: middle;
}

.profile-contribution-list .profile-contribution-header {
  margin-left: 30px;
}

[dir="rtl"] .profile-contribution-list .profile-contribution-header {
  padding-right: 30px;
  padding-left: 0;
}

@media (min-width: 768px) {
  .profile-contribution-list .profile-contribution-header {
    margin-left: 0;
  }
  [dir="rtl"] .profile-contribution-list .profile-contribution-header {
    padding-right: 0;
  }
}

.profile-comments .profile-contribution-breadcrumbs {
  margin-left: 30px;
}

[dir="rtl"] .profile-comments .profile-contribution-breadcrumbs {
  padding-right: 30px;
  padding-left: 0;
}

@media (min-width: 768px) {
  .profile-comments .profile-contribution-breadcrumbs {
    margin-left: 0;
  }
  [dir="rtl"] .profile-comments .profile-contribution-breadcrumbs {
    padding-right: 0;
  }
}

.profile-section .no-activity,
.profile-section .private-activity {
  display: block;
  margin-top: 40px;
  color: #999;
}

.private-activity-icon {
  margin-right: 10px;
}

[dir="rtl"] .private-activity-icon {
  margin-right: 0;
  margin-left: 10px;
}

.profile-activity-list {
  margin-top: 25px;
}

.profile-activity {
  position: relative;
  padding-bottom: 30px;
}

@media (min-width: 768px) {
  .profile-activity {
    padding-left: 20px;
  }
  [dir="rtl"] .profile-activity {
    padding-right: 20px;
    padding-left: 0;
  }
}

@media (min-width: 768px) {
  .profile-activity:not(:last-child) {
    border-left: 1px solid #ddd;
  }
  [dir="rtl"] .profile-activity:not(:last-child) {
    border-left: 0;
    border-right: 1px solid #ddd;
  }
}

.profile-activity-header {
  display: flex;
  align-items: center;
  margin-left: 35px;
}

[dir="rtl"] .profile-activity-header {
  margin-left: 0;
  margin-right: 35px;
}

@media (min-width: 768px) {
  .profile-activity-header {
    margin-left: 0;
  }
  [dir="rtl"] .profile-activity-header {
    margin-right: 0;
  }
}

.profile-activity-header .user-avatar {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  min-width: 40px;
  align-self: flex-start;
}

[dir="rtl"] .profile-activity-header .user-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.profile-activity-description {
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 0;
  min-width: 0;
  width: 100%;
}

.profile-activity-description span:first-child {
  font-weight: 600;
  display: inline;
}

.profile-activity-contribution {
  padding: 20px;
  margin-top: 10px;
  border-radius: 8px;
  background-color: #f7f7f7;
}

@media (min-width: 768px) {
  .profile-activity-contribution {
    margin-top: 0;
    margin-left: 50px;
  }
  [dir="rtl"] .profile-activity-contribution {
    margin-left: 0;
    margin-right: 50px;
  }
}

.profile-activity-icon {
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-color: #FFFFFF;
  background-position: 50% 50%;
  text-align: center;
  color: #ccc;
}

[dir="rtl"] .profile-activity-icon {
  right: 0;
}

@media (min-width: 768px) {
  .profile-activity-icon {
    left: -14px;
  }
  [dir="rtl"] .profile-activity-icon {
    right: -14px;
  }
}

.profile-activity-icon svg {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  margin: auto;
}

/***** Search results *****/
.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:hover, .search-results-sidebar .sidenav-item.current {
  background-color: #e9ebed;
  color: inherit;
  text-decoration: none;
}

.search-results-sidebar .sidenav-subitem {
  unicode-bidi: embed;
}

.search-results-sidebar .collapsible-sidebar {
  margin-bottom: 30px;
}

.search-results-sidebar .collapsible-sidebar[aria-expanded="false"] .multibrand-filter-list {
  display: none;
}

@media (min-width: 1024px) {
  .search-results-sidebar .collapsible-sidebar[aria-expanded="false"] .multibrand-filter-list {
    display: block;
  }
}

.search-results-sidebar .multibrand-filter-list--collapsed li:nth-child(1n + 6) {
  display: none;
}

.search-results-sidebar .multibrand-filter-list .doc-count {
  color: #666;
}

.search-results-sidebar .see-all-filters {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  padding: 10px;
  color: #EA580C;
}

.search-results-sidebar .see-all-filters[aria-hidden="true"] {
  display: none;
}

.search-results-sidebar .see-all-filters:hover {
  text-decoration: underline;
}

.search-results-sidebar .see-all-filters::after {
  content: ' \2304';
  font-weight: bold;
}

.search-results-subheading {
  font-size: 18px;
  font-weight: 600;
}

.search-results-list {
  margin-bottom: 25px;
}

.search-results-list > li {
  padding: 20px 0;
}

.search-results-list > li:first-child {
  border-top: 1px solid #ddd;
}

.search-results-list > li h2 {
  margin-bottom: 0;
}

.search-results .meta-group {
  display: block;
  align-items: center;
  clear: both;
  color: #666;
}

@media (min-width: 1024px) {
  .search-results .meta-group {
    display: flex;
  }
}

.search-results .meta-group > li {
  display: block;
}

@media (min-width: 1024px) {
  .search-results .meta-group > li {
    display: inline;
  }
}

@media (min-width: 1024px) {
  .search-results .meta-group li:first-child {
    flex: 1;
  }
}

.search-results .meta-group .meta-data {
  color: inherit;
}

[dir="ltr"] .search-results .meta-group .meta-data:not(:last-child) {
  margin-right: 20px;
}

[dir="rtl"] .search-results .meta-group .meta-data:not(:last-child) {
  margin-left: 20px;
}

.search-results .meta-group .meta-data::after {
  content: none;
}

.search-results-description {
  margin-top: 10px;
  word-break: break-word;
}

.search-result-title {
  font-size: 16px;
  display: inline-block;
}

[dir="ltr"] .search-result-icons {
  float: right;
}

[dir="rtl"] .search-result-icons {
  float: left;
}

.search-result-votes, .search-result-meta-count {
  color: #30446e;
  display: inline-block;
  font-size: 13px;
  font-weight: 300;
  padding: 4px 5px;
  position: relative;
}

.search-result-votes-icon, .search-result-meta-count-icon {
  color: #F97316;
  vertical-align: middle;
  width: 13px;
  height: 13px;
}

[dir="ltr"] .search-result-votes, [dir="ltr"] .search-result-meta-count {
  margin-left: 5px;
}

[dir="ltr"] .search-result-votes::before, [dir="ltr"] .search-result-meta-count::before {
  margin-right: 3px;
}

[dir="rtl"] .search-result-votes, [dir="rtl"] .search-result-meta-count {
  margin-right: 5px;
}

[dir="rtl"] .search-result-votes::before, [dir="rtl"] .search-result-meta-count::before {
  margin-left: 3px;
}

.search-result .meta-group {
  align-items: center;
}

.search-result-breadcrumbs {
  margin: 0;
  padding: 0;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.search-result-breadcrumbs li {
  display: inline !important;
  max-width: 100% !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

@media (min-width: 1024px) {
  .search-result-breadcrumbs {
    display: table-row;
  }
}

@media (min-width: 1024px) {
  .search-result-breadcrumbs li {
    display: table-cell;
  }
}

.search-result-breadcrumbs li, .search-result-breadcrumbs li a, .search-result-breadcrumbs li a:visited {
  color: inherit;
}

.search-results-description em {
  font-style: normal;
  font-weight: bold;
}

html[lang|="zh"] .search-results-description em {
  font-style: normal;
  background: yellow;
}

/***** Notifications *****/
.notification {
  border: 1px solid;
  display: table;
  font-family: sans-serif;
  font-size: 12px;
  padding: 13px 15px;
  transition: height .2s;
  width: 100%;
  color: #555;
}

.notification a {
  color: #158ec2;
}

.notification-inner {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 980px;
}

.notification-icon, .notification-text, .notification-dismiss {
  display: table-cell;
  vertical-align: middle;
}

.notification-text {
  padding: 0 15px;
  width: 100%;
}

.notification + .notification {
  margin-bottom: -1px;
  position: relative;
  top: -1px;
}

.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");
}

.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");
}

.notification-alert {
  color: #ad5e18;
  background: #fff8ed;
  border-color: #fcdba9;
}

.notification-alert .notification-icon::before, .notification-alert .notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23ad5e18' stroke-linecap='round' d='M5.06 1.27l-4.5 8.5c-.18.33.06.73.44.73h9c.38 0 .62-.4.44-.73l-4.5-8.5a.494.494 0 00-.88 0zM5.5 4v2'/%3E%3Ccircle cx='5.5' cy='8' r='.8' fill='%23ad5e18'/%3E%3C/svg%3E");
}

.notification-icon::before, .notification-inline.notification-error::before {
  background-size: cover;
  content: "";
  display: inline-block;
  height: 14px;
  width: 14px;
  vertical-align: middle;
}

.notification-dismiss, a.notification-dismiss {
  color: #555;
  cursor: pointer;
  opacity: .6;
  transition: opacity 100ms ease;
  text-decoration: none !important;
}

.notification-dismiss:hover {
  opacity: 1;
}

.notification-inline {
  border-radius: 4px;
  line-height: 14px;
  margin-top: 5px;
  padding: 5px;
  position: relative;
  text-align: left;
  vertical-align: middle;
}

[dir="rtl"] .notification-inline {
  text-align: right;
}

.notification-inline[aria-hidden="true"] {
  display: none;
}

.notification-inline.notification-error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23e35b66'%3E%3Ccircle cx='5.5' cy='6.5' r='5'/%3E%3Cpath stroke-linecap='round' d='M5.5 3.5v3'/%3E%3C/g%3E%3Ccircle cx='5.5' cy='9' r='1' fill='%23e35b66'/%3E%3C/svg%3E");
  margin: -2px 5px 0 0;
}

[dir="rtl"] .notification-inline.notification-error::before {
  margin: 0 0 0 5px;
}

.notification-inline.notification-error {
  background-color: #fff0f1;
  border: 1px solid #e35b66;
  color: #cc3340;
}

.notification-inline.notification-large {
  padding: 13px 15px;
  margin-bottom: 25px;
}

.notification-left-aligned {
  text-align: left;
  padding-left: 0;
}

html[dir="rtl"] .notification-left-aligned {
  text-align: right;
  padding-left: auto;
  padding-right: 0;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
  background: none;
  border: 0;
  display: inline-block;
  padding: 0;
  text-align: initial;
  vertical-align: middle;
}

.dropdown-toggle:hover {
  text-decoration: none;
}

.dropdown-toggle > * {
  display: inline-block;
}

.dropdown-menu {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  display: none;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  left: 0;
  margin-top: 1px;
  min-width: 170px;
  padding: 10px 0;
  position: absolute;
  text-align: left;
  z-index: 1000;
}

[dir="rtl"] .dropdown-menu {
  text-align: right;
}

.dropdown-menu[aria-expanded="true"] {
  display: block;
}

.dropdown-menu [role="separator"] {
  border-bottom: 1px solid #d8d8d8;
  color: #969696;
  display: block;
  font-weight: normal;
  font-size: 11px;
  padding: 5px 0;
  margin: 5px 20px 10px 20px;
}

.dropdown-menu [role="menuitem"] {
  color: #333;
  cursor: pointer;
  display: block;
  padding: 7px 40px 7px 20px;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  text-align: start;
  line-height: inherit;
  width: 100%;
}

[dir="rtl"] .dropdown-menu [role="menuitem"] {
  padding: 7px 20px 7px 40px;
}

.dropdown-menu [role="menuitem"]:hover, .dropdown-menu [role="menuitem"]:focus {
  background: #f3f3f3;
  text-decoration: none;
  color: #333;
}

.dropdown-menu [role="menuitem"][aria-selected="true"] {
  cursor: default;
}

.dropdown-menu [role="menuitem"][aria-selected="true"]::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1 7l3 3 7-7'%3E%3C/path%3E%3C/svg%3E");
  display: inline-block;
  height: 12px;
  margin-left: 10px;
  width: 12px;
}

[dir="rtl"] .dropdown-menu [role="menuitem"][aria-selected="true"]::after {
  margin-left: 0;
  margin-right: 10px;
  float: left;
}

.dropdown-menu [role="menuitem"][hidden], .dropdown-menu [role="menuitem"][aria-hidden="true"] {
  display: none !important;
}

.dropdown-menu-end {
  left: auto;
  right: 0;
}

.dropdown-menu-top {
  bottom: 100%;
  margin-bottom: 1px;
}

[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
  text-align: right;
}

[dir="rtl"] .dropdown-menu-end {
  left: 0;
  right: auto;
}

.dropdown-chevron-icon {
  vertical-align: middle;
}

/* ============================================================
   D1LANCE — Redesign 2026 (customizações sobre o Copenhagen 2.9.0)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800&display=swap');

:root {
  --d1-orange: #F97316;
  --d1-orange-dark: #EA580C;
  --d1-ink: #111827;
  --d1-gray-50: #FAFAF9;
  --d1-gray-100: #F4F3F1;
  --d1-gray-300: #E3E1DC;
  --d1-gray-500: #8B8880;
  --d1-gray-700: #514F49;
  --d1-radius: 14px;
  --d1-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

/* -------------------- Base -------------------- */
body {
  font-family: "Roboto", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
  background-color: #ffffff !important;
  background-image: none !important;
}

body::before {
  content: "" !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: -1 !important;
  background-image: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.20) 0%, rgba(249, 115, 22, 0.05) 25%, transparent 45%) !important;
  background-repeat: no-repeat !important;
  transform: translate3d(0, 0, 0) !important;
  will-change: opacity !important;
  animation: luzPulsante 5s ease-in-out infinite alternate !important;
}
@keyframes luzPulsante {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Brilho de fundo no modo noturno.
   No modo dia o brilho e laranja; no escuro ele vira luz branca.
   ATENCAO ao calibrar: o branco precisa de MAIS opacidade que o laranja,
   nao menos. O laranja sobre branco muda o TOM (o olho pega facil); o branco
   sobre #111827 so clareia, sem mudar o tom, e passa despercebido. Some-se a
   isso a animacao luzPulsante, que derruba a opacidade pela metade no ciclo.
   Para ajustar, mexa so nos dois valores de alpha abaixo. */
[data-theme="dark"] body::before {
  background-image: radial-gradient(
    circle at 50% 0%,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.07) 25%,
    transparent 45%
  ) !important;
}

.is-hidden {
  display: none !important;
}

/* -------------------- Faixa de alerta de golpe (header.hbs) -------------------- */
.scam-alert {
  background: var(--d1-ink);
  color: #fff;
  font-size: 13.5px;
  padding: 10px 24px;
  text-align: center;
}
.scam-alert-inner strong {
  color: #FFC98B;
}
.scam-alert-inner a {
  color: #fff;
  text-decoration: underline;
  margin-left: 6px;
}

/* -------------------- Página de artigo -------------------- */
.article-sidebar .sidenav-title {
  font-size: 16px;
  font-weight: 600;
}
.sidenav-title,
.article-sidebar h3,
.collapsible-sidebar-title {
  margin-bottom: 24px !important;
  padding-bottom: 0 !important;
  display: block !important;
}
.sidenav-item {
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  color: var(--d1-gray-700) !important;
  transition: all 0.2s ease !important;
}
.sidenav-item.current-article {
  background: #FFF3E9 !important;
  color: var(--d1-orange) !important;
  font-weight: 700 !important;
  border-left: 3px solid var(--d1-orange) !important;
}
.article-sidebar ul,
.collapsible-sidebar-body ul {
  margin-bottom: 24px !important;
}
.article-sidebar .collapsible-sidebar-body > a,
.article-sidebar a.article-sidebar-item {
  display: inline-block !important;
  margin-top: 0px !important;
  font-weight: 600 !important;
}

.article-votes-controls .button,
.article-vote {
  background: #ffffff !important;
  border: 1px solid #E3E1DC !important;
  border-radius: 99px !important;
  padding: 8px 24px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--d1-ink) !important;
  transition: all 0.2s ease !important;
}
.article-votes-controls .button:hover,
.article-vote:hover {
  border-color: var(--d1-orange) !important;
  color: var(--d1-orange) !important;
  background: #FFF3E9 !important;
}

.article-return-to-top {
  text-align: center !important;
  border-top: 1px solid #E3E1DC !important;
  margin-bottom: 0 !important;
}
.article-return-to-top a {
  display: inline-block !important;
  padding: 24px 0 !important;
  font-weight: 600 !important;
  color: var(--d1-gray-700) !important;
  transition: color 0.2s ease !important;
}
.article-return-to-top a:hover {
  color: var(--d1-orange) !important;
  text-decoration: none !important;
}

.article-relatives {
  display: flex !important;
  flex-direction: column !important;
  gap: 40px !important;
  margin-top: 0 !important;
  padding-top: 48px !important;
  border-top: 1px solid #E3E1DC !important;
}
@media (min-width: 768px) {
  .article-relatives {
    flex-direction: row !important;
    gap: 32px !important;
  }
}
.related-articles,
.recent-articles {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.recent-articles-title,
.related-articles-title {
  margin-bottom: 24px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  font-size: 18px !important;
}
.recent-articles li,
.related-articles li {
  margin-bottom: 14px !important;
}
.recent-articles a,
.related-articles a {
  color: var(--d1-orange) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
.recent-articles a:hover,
.related-articles a:hover {
  text-decoration: underline !important;
}

.contact-banner {
  background: #F4F3F1 !important;
  border-radius: 16px !important;
  padding: 48px 32px !important;
  margin: 16px auto 48px auto !important;
  max-width: 1200px !important;
  text-align: center !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}
.contact-banner-inner {
  max-width: 700px;
  margin: 0 auto !important;
  text-align: center !important;
}
.contact-banner-inner h2 {
  color: #111827 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
}
.contact-banner-inner p {
  color: #514F49 !important;
  font-size: 15px !important;
  margin: 0 0 24px !important;
}
.contact-banner-cta {
  display: inline-block !important;
  background: #F97316 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 14px 36px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}
.contact-banner-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* -------------------- Nova solicitação -------------------- */
.contact-wizard {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.wizard-title {
  font-size: 32px;
  text-align: center;
  margin: 0 0 8px;
  color: #111827;
}
.wizard-subtitle {
  text-align: center;
  color: #514F49;
  font-size: 15px;
  margin: 0 0 40px;
}
.wizard-step-label {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
}
.wizard-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 40px;
}
.wizard-option {
  display: block;
  text-align: left;
  background: #F4F3F1;
  border: none;
  border-radius: 6px;
  padding: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
  width: 100%;
}
.wizard-option:hover {
  background: #FAFAF9;
  box-shadow: inset 0 0 0 1px #E3E1DC;
}
.wizard-option-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}
.wizard-option-desc {
  display: block;
  font-size: 13px;
  color: #514F49;
}
.wizard-back {
  background: none;
  border: none;
  color: #F97316;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
#contact-form-wrapper .wizard-back-to-start {
  display: inline-block;
  color: #F97316;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 0 24px;
}
@media (max-width: 640px) {
  .wizard-options {
    grid-template-columns: 1fr;
  }
}

.request-form-step,
.option-card,
[class*="custom-field-option"] {
  background: #ffffff !important;
  border: 1.5px solid #E3E1DC !important;
  border-radius: 12px !important;
  padding: 20px 24px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}
.request-form-step:hover,
.option-card:hover {
  border-color: var(--d1-orange) !important;
  background: #FFF3E9 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06) !important;
}
form .form-field input[type="text"],
form .form-field input[type="email"],
form .form-field select,
form .form-field textarea {
  border: 1.5px solid #E3E1DC !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  background: #ffffff !important;
}
form .form-field input:focus,
form .form-field select:focus,
form .form-field textarea:focus {
  border-color: var(--d1-orange) !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06) !important;
}
.upload-dropzone,
#upload-dropzone {
  border: 2px dashed #E3E1DC !important;
  border-radius: 8px !important;
  background: #FAFAF9 !important;
  padding: 24px !important;
  transition: all 0.2s ease !important;
}
.upload-dropzone:hover {
  border-color: var(--d1-orange) !important;
  background: #FFF3E9 !important;
}
form input[type="submit"],
form button[type="submit"] {
  background: var(--d1-orange, #F97316) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 8px 36px !important;
  border-radius: 100px !important;
  border: none !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}
form input[type="submit"]:hover,
form button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06) !important;
}

/* -------------------- Página de erro -------------------- */
.d1-error-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 0;
  text-align: center;
  background-color: transparent;
}
.d1-error-content {
  width: 100%;
  max-width: 650px;
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #eaeaea;
}
.d1-error-title {
  font-size: 72px;
  font-weight: 900;
  color: var(--d1-orange, #F97316);
  margin: 0;
  line-height: 1;
  letter-spacing: -2px;
}
.d1-error-content h2 {
  font-size: 24px;
  color: var(--d1-ink, #111827);
  margin: 20px 0 10px;
  font-weight: 700;
}
.d1-error-content p {
  font-size: 15px;
  color: var(--d1-gray-700, #514F49);
  margin-bottom: 30px;
  line-height: 1.6;
}
.d1-error-search {
  margin-bottom: 45px;
  margin-top: 15px;
}
.d1-error-search > p {
  font-size: 15px;
  font-weight: 600;
  color: var(--d1-ink, #111827);
  margin-bottom: 16px;
  text-align: center;
}

.d1-error-search .ai-search-container {
  width: auto !important;
  max-width: none !important;
  margin-left: -20px !important;
  margin-right: -20px !important;
}

.d1-btn-orange {
  display: inline-block;
  background: var(--d1-orange, #F97316);
  color: #ffffff !important;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}
.d1-btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
  color: #ffffff !important;
  text-decoration: none;
}

/* -------------------- Footer -------------------- */
.footer {
  background: var(--d1-ink);
  color: #fff;
}
.footer-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  text-align: center;
}
.footer-logo-link {
  display: inline-block;
}
.footer-logo {
  height: 48px;
  width: auto;
}
.footer-newsletter-text {
  color: #6B7280;
  font-size: 16px;
  font-weight: 400;
  margin: 24px 0 24px;
}
.footer-hero .footer-newsletter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 290px;
  height: 48px;
  background: var(--d1-orange, #F97316);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.footer-hero .footer-newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
  opacity: 0.95;
  color: #ffffff;
}
.footer-divider {
  border-top: 1px solid #2b2f38;
  max-width: 1180px;
  margin: 0 auto;
}
.footer-top {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-col-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}
.footer-col-title-lg {
  font-size: 22px;
}
.footer-col-title-secondary {
  margin-top: 24px;
}
.footer-col p {
  color: #8B8880;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 4px;
}
.footer-col a {
  display: block;
  color: #8B8880;
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration: none;
}
.footer-col a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1F2937;
  color: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social a:hover {
  background: #F97316;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #2b2f38;
}
.footer-bottom .footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  font-size: 12.5px;
  color: #8B8880;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.footer-legal-links a {
  color: #8B8880;
  font-size: 12.5px;
  text-decoration: none;
}
.footer-legal-links a:hover {
  color: #fff;
}
.footer-blog-highlight {
  color: #C026D3;
}
@media (max-width: 760px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .footer-hero {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .footer-legal-links {
    justify-content: center !important;
    width: 100%;
    margin-top: 12px;
  }
}

/* Ocultar barra lateral em mobile */
@media (max-width: 1023px) {
  .article-sidebar {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }
}

/* Layout da barra de pesquisa em sub-nav */
.sub-nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  margin-bottom: 16px !important;
  padding-bottom: 0 !important;
}

.sub-nav .ai-search-container {
  max-width: 100% !important;
  margin: 0 !important;
}

a[data-mobile-only="true"] {
  display: none !important;
}

@media (max-width: 767px) {
  a[data-mobile-only="true"] {
    display: flex !important;
  }
}

@media (min-width: 768px) {
  .user-nav .link-arrow {
    display: none !important;
  }
}

.reading-progress {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 3px !important;
  background-color: transparent !important;
  z-index: 999999 !important;
  pointer-events: none !important;
}

.reading-progress-bar {
  height: 100% !important;
  width: 0%;
  background: var(--d1-orange, #F97316) !important;
  transition: width 0.1s linear !important;
  border-radius: 0 2px 2px 0 !important;
}

.logo-tag {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  border-left: 2px solid #111827 !important;
  padding-left: 14px !important;
  height: 24px !important;
  line-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px !important;
  background: rgba(249, 115, 22, 0.08) !important;
  border: 1px solid rgba(234, 102, 11, 0.3) !important;
  border-radius: 999px !important;
  color: #C2410C !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06) !important;
}

@media (max-width: 767px) {
  .hero-badge {
    padding: 8px 18px !important;
    font-size: 14px !important;
    margin-bottom: 16px !important;
  }
}

/* Wizard de Indicação */
.indicar-leilao-wrapper {
  max-width: 1080px !important;
  margin: 40px auto;
  padding: 0 20px;
  font-family: inherit;
}

#indicar-wizard-form, 
#indicar-sucesso-card,
#wizard-links-uteis {
  width: 100%;
}

.success-header, 
.whatsapp-box {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.wizard-header {
  text-align: center;
  margin-bottom: 28px;
}

.wizard-title {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin-bottom: 12px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.wizard-card {
  background: #ffffff;
  border: 1px solid #E3E1DC;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  position: relative;
}

.wizard-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #F4F3F1;
  border-radius: 16px 16px 0 0;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--d1-orange, #F97316);
  transition: width 0.3s ease;
  border-radius: 16px 0 0 0;
}

.wizard-step { display: none; }
.wizard-step.is-active { display: block; }

.step-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--d1-orange, #F97316);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.15);
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.wizard-step h2 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 22px;
  color: #111827;
}

.field-group { margin: 20px 0; }
.field-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.field-group input, .field-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E3E1DC;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.field-group input:focus, .field-group textarea:focus {
  border-color: var(--d1-orange, #F97316);
  outline: none;
}

.input-error {
  border-color: #DC2626 !important;
  background-color: #FEF2F2 !important;
}

.wizard-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

#form-indicar-leilao button[type="submit"].btn-wizard-submit,
.btn-wizard-next, 
.btn-wizard-back {
  flex: 1;
  padding: 14px;
  border-radius: 8px !important;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
}

.btn-wizard-next, 
#form-indicar-leilao button[type="submit"].btn-wizard-submit {
  background: var(--d1-orange, #F97316) !important;
  color: #ffffff !important;
}

.btn-wizard-next:hover, 
#form-indicar-leilao button[type="submit"].btn-wizard-submit:hover {
  background: #EA660B !important; 
  transform: translateY(-2px);
}

.btn-wizard-back {
  background: #F4F3F1;
  color: #333;
  border: 1.5px solid #E3E1DC;
}

.btn-wizard-back:hover {
  background: #E3E1DC;
}

.success-header { text-align: center; }

.whatsapp-box {
  background: #F0FDF4; 
  border: 1px solid #BBF7D0;
  padding: 20px; 
  border-radius: 12px; 
  text-align: center; 
  margin-top: 24px;
  margin-bottom: 32px; 
}

.btn-whatsapp-direct {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px; background: #25D366; color: white;
  text-decoration: none; font-weight: 700; border-radius: 8px; margin-top: 12px;
  transition: 0.2s ease;
}

.btn-whatsapp-direct:hover {
  background: #1da851;
  color: white;
  text-decoration: none;
}

hr.divider {
  margin: 32px 0 32px 0 !important;
  border: none;
  border-top: 1px solid #E3E1DC;
}

.peticoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.peticao-card {
  background: #ffffff !important;
  border: 1px solid #E3E1DC !important;
  border-radius: 16px !important;
  padding: 32px 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), inset 0 0 0 0 transparent !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
}

.peticao-card:hover {
  border-color: var(--d1-orange, #F97316) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06) !important;
}

.card-destaque {
  border: 1.5px solid var(--d1-orange, #F97316) !important;
}

.tag-guia {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--d1-orange, #F97316);
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 11;
}

.peticao-card h4 { 
  margin-top: 0;
  margin-bottom: 20px; 
  font-size: 16px; 
  font-weight: 700; 
}

.card-subtitle {
  font-size: 13px;
  color: #555;
  margin-bottom: auto; 
  line-height: 1.4;
}

.peticao-card:nth-child(2) h4,
.peticao-card:nth-child(3) h4 {
  margin-bottom: auto; 
}

.peticao-card:last-child h4 {
  margin-bottom: 20px; 
}

.peticao-card:last-child .card-buttons {
  margin-top: auto;
  margin-bottom: auto; 
}

.card-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

.btn-download {
  display: block;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s;
  width: 100%;
  box-sizing: border-box;
  text-align: center; 
}

.btn-dark {
  background: #111827;
  color: white !important;
  border: 1.5px solid #111827;
}
.btn-dark:hover { background: #333; }

.btn-outline {
  background: transparent;
  color: #111827 !important;
  border: 1.5px solid #E3E1DC;
}
.btn-outline:hover { background: #F4F3F1; border-color: #111827; }

.btn-orange { 
  background: var(--d1-orange, #F97316); 
  color: white !important;
}
.btn-orange:hover { background: #EA660B; }

.duvidas-botoes {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.contact-banner-cta.btn-ink {
  background: var(--d1-ink, #111827) !important;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.2) !important;
}

.contact-banner-cta.btn-ink:hover {
  background: #1F2937 !important; 
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.3) !important;
}

@media (max-width: 600px) {
  .duvidas-botoes {
    flex-direction: column; 
    gap: 12px;
  }
  .duvidas-botoes .contact-banner-cta {
    width: 100% !important; 
    box-sizing: border-box;
    text-align: center;
  }
}

.is-hidden { display: none !important; }

.wizard-radio-group {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.wizard-radio-group-vertical {
  flex-direction: column;
}
.wizard-radio-label {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px solid #E3E1DC;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14.5px;
  color: #514F49;
}
.wizard-radio-label:hover {
  border-color: var(--d1-orange, #F97316);
  background: #FFF3E9;
}
.wizard-radio-label input[type="radio"] {
  margin: 0 12px 0 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--d1-orange, #F97316);
}
.wizard-radio-label.is-selected {
  border-color: var(--d1-orange, #F97316);
  background: #FFF3E9;
  color: #111827;
  font-weight: 600;
}

.btn-cta-indicar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #F97316;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}

.btn-cta-indicar:hover {
  background-color: #EA580C;
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}

@media (max-width: 768px) {
  .btn-cta-indicar {
    width: 100%;
    padding: 16px 20px;
  }
}

.reading-progress-bar, #reading-progress-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  height: 4.5px !important;
  background-color: #EA580C !important;
  width: 0%;
  z-index: 999999 !important;
  pointer-events: none !important;
  will-change: width;
}

/* Cabeçalho inteligente — estados controlados pelo script.js
   OBS: aqui NAO se define 'position'. O cabecalho ja e sticky
   (regra .header acima). Trocar para 'fixed' causava um pulo de
   layout a cada vez que a barra reaparecia. */
.header.header--hidden, header.header--hidden {
  transform: translateY(-100%);
}

.header.header--visible, header.header--visible {
  transform: translateY(0);
}

/* Acessibilidade: respeita quem desativou animacoes no sistema */
@media (prefers-reduced-motion: reduce) {
  .header, header {
    transition: none !important;
  }
}

body.search-results .header .ai-search-container,
body.search-results header .ai-search-container,
body.search-results .header-ai-search-wrap {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ============================================================
   D1LANCE — MODO ESCURO MONOCROMÁTICO (COR DO RODAPÉ #111827)
   CÓDIGO CONSOLIDADO E COMPLETO
   ============================================================ */

/* 1. Mapeamento das Variáveis na cor do Rodapé */
[data-theme="dark"] {
  --bg-primary: #111827;
  --bg-surface: #111827;
  --bg-card: #1f2937;
  --bg-subtle: #1e293b;
  --bg-hover: #2d3748;
  --text-main: #f9fafb;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --border-color: #374151;
  --logo-filter: brightness(0) invert(1);
}

/* ============================================================
   2. Botão de Troca do Tema e Hambúrguer no Mobile
   ============================================================ */
.theme-toggle-btn {
  background: transparent !important;
  border: 1px solid var(--border-color, #E3E1DC) !important;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   A. COMPORTAMENTO PADRÃO NO MODO CLARO (DESKTOP E MOBILE FECHADO)
   ------------------------------------------------------------ */
:root:not([data-theme="dark"]) .theme-toggle-btn {
  color: #111827 !important;
  border-color: #E3E1DC !important;
}

:root:not([data-theme="dark"]) .theme-toggle-btn svg {
  stroke: #111827 !important;
}

/* ------------------------------------------------------------
   B. REGRAS EXCLUSIVAS PARA MOBILE (Telas até 767px)
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  /* No Modo Claro, quando o menu sanduíche abrir, força a lua para BRANCO */
  :root:not([data-theme="dark"]) .header:has(.animated-hamburger[aria-expanded="true"]) .theme-toggle-btn,
  :root:not([data-theme="dark"]) .header:has(.menu-button[aria-expanded="true"]) .theme-toggle-btn,
  :root:not([data-theme="dark"]) .header:has([aria-expanded="true"]) .theme-toggle-btn {
    border-color: rgba(255, 255, 255, 0.3) !important;
  }

  :root:not([data-theme="dark"]) .header:has(.animated-hamburger[aria-expanded="true"]) .theme-toggle-btn svg,
  :root:not([data-theme="dark"]) .header:has(.menu-button[aria-expanded="true"]) .theme-toggle-btn svg,
  :root:not([data-theme="dark"]) .header:has([aria-expanded="true"]) .theme-toggle-btn svg {
    stroke: #ffffff !important;
  }
}

/* ------------------------------------------------------------
   C. MODO ESCURO GERAL (Desktop e Mobile): Sol sempre BRANCO
   ------------------------------------------------------------ */
[data-theme="dark"] .theme-toggle-btn {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .theme-toggle-btn svg {
  stroke: #ffffff !important;
}

/* ------------------------------------------------------------
   D. CONTROLE DE VISIBILIDADE DOS ÍCONES (Sol / Lua)
   ------------------------------------------------------------ */
.theme-toggle-btn .icon-sun { display: none !important; }
.theme-toggle-btn .icon-moon { display: block !important; }

[data-theme="dark"] .theme-toggle-btn .icon-sun { display: block !important; }
[data-theme="dark"] .theme-toggle-btn .icon-moon { display: none !important; }

@media (max-width: 767px) {
  .animated-hamburger {
    display: flex !important;
    margin-left: 8px !important;
  }
  
  [data-theme="dark"] .animated-hamburger .bar {
    background-color: #ffffff !important;
  }
}

.scam-alert {
  padding: 10px 16px !important;
  line-height: 1.4 !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}

[data-theme="dark"] .scam-alert {
  background-color: #1c130b !important;
  border-bottom: 1px solid rgba(249, 115, 22, 0.3) !important;
  color: #ffedd5 !important;
  text-align: center !important;
}

[data-theme="dark"] .scam-alert-inner,
[data-theme="dark"] .scam-alert p,
[data-theme="dark"] .scam-alert span {
  color: #fed7aa !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}

[data-theme="dark"] .scam-alert strong {
  color: #fb923c !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .scam-alert a {
  color: #fb923c !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

[data-theme="dark"] .scam-alert a:hover {
  color: #f97316 !important;
}

/* 3. Sobrescritas Gerais para o Modo Escuro Ativo */
[data-theme="dark"] body {
  background-color: #111827 !important;
  color: #f9fafb !important;
}

[data-theme="dark"] .header,
[data-theme="dark"] .header-inner {
  background-color: #111827 !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .logo img {
  filter: brightness(0) invert(1) !important;
}

/* Hero da Home no modo noturno.
   Espelha o brilho branco do body::before, mantendo o mesmo desenho do
   modo dia (circle at 50% -20%, paradas em 25% e 60%) — muda so a cor.
   0.14 aqui equivale ao 0.12 do laranja do modo dia: como o branco nao
   muda o tom do fundo (so clareia), ele precisa de alpha um pouco maior
   para ter a mesma presenca visual. */
[data-theme="dark"] .hero {
  background: #111827 !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-inner h1,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] .page-header h1,
[data-theme="dark"] .section-tree-title a,
[data-theme="dark"] .article-title,
[data-theme="dark"] .wizard-title {
  color: #ffffff !important;
}

[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .hero-inner p,
[data-theme="dark"] .page-header-description,
[data-theme="dark"] .article-body,
[data-theme="dark"] .article-content,
[data-theme="dark"] .user-nav a,
[data-theme="dark"] p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .hero-badge {
  background: rgba(249, 115, 22, 0.15) !important;
  border-color: rgba(249, 115, 22, 0.4) !important;
  color: #fb923c !important;
}

[data-theme="dark"] .section-tree.section-tree--home .section,
[data-theme="dark"] .wizard-card,
[data-theme="dark"] .d1-error-content,
[data-theme="dark"] .section-content .article-list {
  background: #1f2937 !important;
  border-color: #374151 !important;
  color: #f9fafb !important;
}

[data-theme="dark"] .persona-tabs {
  border-color: #374151 !important;
}

[data-theme="dark"] .persona-tab {
  color: #94a3b8 !important;
}

[data-theme="dark"] .persona-tab.is-active {
  background: #1f2937 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .ai-search-container {
  background: #1f2937 !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .ai-search-container form input[type="search"],
[data-theme="dark"] .ai-search-input {
  color: #ffffff !important;
}

[data-theme="dark"] .ai-search-container form input[type="search"]::placeholder {
  color: #94a3b8 !important;
}

[data-theme="dark"] .section-tree--home .article-list-link,
[data-theme="dark"] .section-content .article-list-item a {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .section-tree--home .article-list-item:hover .article-list-link,
[data-theme="dark"] .section-content .article-list-item a:hover {
  color: #f97316 !important;
  background: #111827 !important;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="search"],
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] .d1-input-group input {
  background-color: #111827 !important;
  border-color: #374151 !important;
  color: #ffffff !important;
}

/* ============================================================
   CORREÇÃO ESPECÍFICA DAS CALCULADORAS NO MODO ESCURO
   ============================================================ */
/* Container Principal e Header (Igual a de Parcelas) */
[data-theme="dark"] .d1-calc-container,
[data-theme="dark"] .d1-calc-body,
[data-theme="dark"] .d1-card-group,
[data-theme="dark"] [class*="calc-card"],
[data-theme="dark"] [class*="d1-card-group"] {
  background: #1f2937 !important;
  border-color: #374151 !important;
  color: #f9fafb !important;
}

/* Efeito Glassmorphism com Transparência de 40% no Cabeçalho */
[data-theme="dark"] .d1-calc-header {
  background-color: rgba(26, 26, 36, 0.4) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid #374151 !important;
}

[data-theme="dark"] .d1-calc-header h3,
[data-theme="dark"] .d1-calc-header p {
  color: #ffffff !important;
}

/* Abas de Modo (Modo Simplificado / Modo Completo) */
[data-theme="dark"] .d1-mode-tabs,
[data-theme="dark"] [class*="mode-tabs"],
[data-theme="dark"] .d1-mode-selector {
  background: #111827 !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .d1-mode-tab,
[data-theme="dark"] [class*="mode-tab"],
[data-theme="dark"] .d1-mode-btn {
  color: #cbd5e1 !important;
  background: transparent !important;
}

[data-theme="dark"] .d1-mode-tab.is-active,
[data-theme="dark"] [class*="mode-tab"][class*="active"],
[data-theme="dark"] .d1-mode-btn.active {
  background: #374151 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Rótulos/Labels dos Campos de Entrada */
[data-theme="dark"] .d1-calc-container label,
[data-theme="dark"] .d1-card-group label,
[data-theme="dark"] .d1-input-group label,
[data-theme="dark"] [class*="group-title"],
[data-theme="dark"] .d1-card-group h3,
[data-theme="dark"] .d1-card-group h4 {
  color: #f9fafb !important;
  border-bottom-color: #374151 !important;
}

/* Campos de Texto, Textarea e Selects */
[data-theme="dark"] .d1-calc-container input,
[data-theme="dark"] .d1-input-group input,
[data-theme="dark"] .d1-calc-container select,
[data-theme="dark"] .d1-calc-container textarea {
  background-color: #111827 !important;
  border-color: #374151 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .d1-calc-container input::placeholder,
[data-theme="dark"] .d1-calc-container textarea::placeholder {
  color: #94a3b8 !important;
}

[data-theme="dark"] .d1-calc-container input:focus,
[data-theme="dark"] .d1-calc-container select:focus,
[data-theme="dark"] .d1-calc-container textarea:focus {
  border-color: #EA580C !important;
  box-shadow: 0 0 0 3px rgba(240, 106, 36, 0.15) !important;
}

/* Símbolos e Ícones das Unidades (%, R$) e Tooltips Base */
[data-theme="dark"] .d1-input-group .d1-unit-badge,
[data-theme="dark"] .d1-input-group span,
[data-theme="dark"] .pct-symbol {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-tooltip {
  background: #374151 !important;
  color: #f9fafb !important;
}

[data-theme="dark"] .d1-tooltip:hover {
  background: #4b5563 !important;
}

/* --- RESULTADOS DA CALCULADORA DE VIABILIDADE --- */
/* Caixa principal de Resultado */
[data-theme="dark"] .d1-result-box {
  background: #1e293b !important;
  border: 1px solid #374151 !important;
  color: #f9fafb !important;
}

/* Remove a borda interna da área de print no modo escuro */
[data-theme="dark"] #relatorio-imagem {
  background: transparent !important;
  border: none !important;
}

/* Card interno de Investimento, Receita e Lucro */
[data-theme="dark"] .d1-flow-results,
[data-theme="dark"] [class*="flow-results"] {
  background: #111827 !important;
  border: 1px solid #374151 !important;
}

[data-theme="dark"] .d1-flow-results span,
[data-theme="dark"] [class*="flow-results"] span,
[data-theme="dark"] .d1-flow-results p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-flow-results h2,
[data-theme="dark"] .d1-flow-results h3,
[data-theme="dark"] .d1-flow-results strong,
[data-theme="dark"] [class*="flow-results"] h2,
[data-theme="dark"] [class*="flow-results"] h3 {
  color: #ffffff !important;
}

/* Detalhamento Financeiro */
[data-theme="dark"] .d1-details-breakdown {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-details-row {
  border-bottom-color: #374151 !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-details-row strong {
  color: #ffffff !important;
}

[data-theme="dark"] .highlight-row {
  background: #1f2937 !important;
  border-color: #374151 !important;
  color: #ffffff !important;
}

/* Card do ROI Máximo (Verde) e Lance Máximo Recomendado (Inversão de Cores) */
[data-theme="dark"] .d1-roi-card,
[data-theme="dark"] [class*="roi-card"] {
  background: #064e3b !important;
  border: 1px solid #059669 !important;
}

[data-theme="dark"] .d1-roi-card span,
[data-theme="dark"] [class*="roi-card"] span {
  color: #a7f3d0 !important;
}

[data-theme="dark"] .d1-roi-card h2,
[data-theme="dark"] .d1-roi-card h3,
[data-theme="dark"] [class*="roi-card"] h2 {
  color: #ffffff !important;
}

/* Bloco Lance Máximo: Fundo bem escuro, input ligeiramente destacado */
[data-theme="dark"] .d1-solver-card {
  background: #111827 !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .d1-solver-card span,
[data-theme="dark"] .d1-solver-input label {
  color: #f9fafb !important;
}

[data-theme="dark"] .d1-solver-card h3 {
  color: #f97316 !important;
}

[data-theme="dark"] .d1-solver-input-wrapper input {
  background: #1f2937 !important;
  border-color: #374151 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .d1-solver-input-wrapper input:focus {
  border-color: #f97316 !important;
}

[data-theme="dark"] .d1-solver-input-wrapper .pct-symbol {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-solver-input {
  border-bottom-color: #374151 !important;
}

/* Botões de Exportação */
[data-theme="dark"] .d1-btn-share,
[data-theme="dark"] [class*="btn-share"] {
  background: #1f2937 !important;
  border: 1px solid #374151 !important;
  color: #f9fafb !important;
}

[data-theme="dark"] .d1-btn-share:hover,
[data-theme="dark"] [class*="btn-share"]:hover {
  background: #374151 !important;
  border-color: #EA580C !important;
  color: #EA580C !important;
}

[data-theme="dark"] .d1-btn-secondary {
  background: #1f2937 !important;
  border: 1px solid #374151 !important;
  color: #f9fafb !important;
}

[data-theme="dark"] .d1-btn-secondary:hover {
  background: #374151 !important;
  border-color: #EA580C !important;
  color: #EA580C !important;
}

[data-theme="dark"] .d1-btn-secondary.d1-btn-blue:hover {
  border-color: #3b82f6 !important;
  color: #3b82f6 !important;
  background-color: #1e3a8a !important;
}

/* Aviso de Modo Simplificado (Disclaimer Box) */
[data-theme="dark"] .d1-disclaimer-box {
  background: #1e293b !important;
  border-color: #374151 !important;
  border-left-color: #f97316 !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] #export-notes-display {
  background: #111827 !important;
  border-left-color: #EA580C !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] #export-notes-display strong {
  color: #ffffff !important;
}

/* --- GLOSSÁRIO E LEGENDAS --- */
[data-theme="dark"] .d1-calc-glossary {
  background-color: #111827 !important;
  border-top-color: #374151 !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-calc-glossary p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-calc-glossary strong {
  color: #ffffff !important;
}

[data-theme="dark"] .glossary-highlight {
  background-color: #1e293b !important;
  border-left-color: #3b82f6 !important;
  color: #e2e8f0 !important;
}

/* Modal do Cartório */
[data-theme="dark"] .d1-modal-content {
  background: #1f2937 !important;
  border: 1px solid #374151 !important;
}

[data-theme="dark"] .d1-modal-header {
  background: #111827 !important;
  border-bottom: 1px solid #374151 !important;
}

[data-theme="dark"] .d1-modal-body p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-modal-footer {
  background: #111827 !important;
  border-top: 1px solid #374151 !important;
}
/* ============================================================
   SOBRESRITA DIRETA DA PÁGINA DE CONTATOS (CATEGORIA CONTATOS)
   ============================================================ */
[data-theme="dark"] .d1-contact-header h1 {
  color: #ffffff !important;
}

[data-theme="dark"] .d1-contact-header p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-section-title {
  color: #f97316 !important;
  border-bottom-color: #374151 !important;
}

[data-theme="dark"] .d1-contact-card,
[data-theme="dark"] .d1-action-card {
  background: #1e293b !important;
  border-color: #374151 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .d1-contact-card h3,
[data-theme="dark"] .d1-action-card h3 {
  color: #ffffff !important;
}

[data-theme="dark"] .d1-contact-card p,
[data-theme="dark"] .d1-action-card p {
  color: #cbd5e1 !important;
}

/* ============================================================
   ANULAÇÃO DOS ESTILOS INLINE (GOOGLE, INSTAGRAM, YOUTUBE)
   ============================================================ */
[data-theme="dark"] .d1-contact-container div[style*="background-color: #ffffff"],
[data-theme="dark"] .d1-contact-container div[style*="background-color:#ffffff"] {
  background-color: #1e293b !important;
  border-color: #374151 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .d1-contact-container h3[style*="color: #111827"],
[data-theme="dark"] .d1-contact-container h3[style*="color:#111827"],
[data-theme="dark"] .d1-contact-container span[style*="color: #111827"],
[data-theme="dark"] .d1-contact-container span[style*="color:#111827"] {
  color: #ffffff !important;
}

[data-theme="dark"] .d1-contact-container p[style*="color: #6b7280"],
[data-theme="dark"] .d1-contact-container p[style*="color:#6b7280"],
[data-theme="dark"] .d1-contact-container span[style*="color: #6b7280"],
[data-theme="dark"] .d1-contact-container span[style*="color:#6b7280"] {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-contact-container a[style*="background-color: #f9fafb"],
[data-theme="dark"] .d1-contact-container a[style*="background-color:#f9fafb"] {
  background-color: #111827 !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .d1-contact-container a[style*="background-color: #f9fafb"] strong {
  color: #ffffff !important;
}

[data-theme="dark"] .d1-contact-container a[style*="background-color: #f9fafb"] p {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .d1-contact-container a[style*="background: #f3f4f6"],
[data-theme="dark"] .d1-contact-container a[style*="background:#f3f4f6"],
[data-theme="dark"] .d1-contact-container div[style*="background-color: #f3f4f6"],
[data-theme="dark"] .d1-contact-container div[style*="background-color:#f3f4f6"] {
  background-color: #111827 !important;
}

/* ============================================================
   CORREÇÃO DA SEÇÃO 'SIGA A @D1LANCE' (LINKEDIN / FACEBOOK)
   ============================================================ */
[data-theme="dark"] .d1-social-section {
  background: #1e293b !important;
  border: 1px solid #374151 !important;
}

[data-theme="dark"] .d1-social-section h3 {
  color: #ffffff !important;
}

[data-theme="dark"] .d1-social-section p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .d1-social-icons a {
  background: #111827 !important;
  border: 1px solid #374151 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .d1-social-icons a:hover {
  background: #EA580C !important;
  border-color: #EA580C !important;
}

/* ============================================================
   REMOÇÃO DA LINHA INTERNA NOS BANNERS (ARTIGO E INDICAÇÃO)
   ============================================================ */
[data-theme="dark"] .contact-banner,
[data-theme="dark"] .duvidas-botoes,
[data-theme="dark"] #wizard-links-uteis,
[data-theme="dark"] [class*="duvidas-container"],
[data-theme="dark"] [class*="duvidas-wrapper"] {
  background: #1e293b !important;
  border: 1px solid #374151 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .contact-banner *,
[data-theme="dark"] #wizard-links-uteis *,
[data-theme="dark"] .duvidas-botoes * {
  border-color: transparent !important;
  box-shadow: none !important;
}

[data-theme="dark"] .contact-banner-inner h2,
[data-theme="dark"] .contact-banner h2,
[data-theme="dark"] #wizard-links-uteis h2,
[data-theme="dark"] #wizard-links-uteis h3,
[data-theme="dark"] [class*="duvidas"] h2,
[data-theme="dark"] [class*="duvidas"] h3 {
  color: #ffffff !important;
}

[data-theme="dark"] .contact-banner-inner p,
[data-theme="dark"] .contact-banner p,
[data-theme="dark"] #wizard-links-uteis p,
[data-theme="dark"] #wizard-links-uteis span,
[data-theme="dark"] [class*="duvidas"] p,
[data-theme="dark"] [class*="duvidas"] span {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .contact-banner-cta,
[data-theme="dark"] .duvidas-botoes .contact-banner-cta,
[data-theme="dark"] .duvidas-botoes a,
[data-theme="dark"] #wizard-links-uteis a,
[data-theme="dark"] .contact-banner-cta.btn-ink {
  background: #111827 !important;
  color: #ffffff !important;
  border: 1px solid #374151 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .contact-banner-cta:hover,
[data-theme="dark"] .duvidas-botoes .contact-banner-cta:hover,
[data-theme="dark"] .duvidas-botoes a:hover,
[data-theme="dark"] #wizard-links-uteis a:hover,
[data-theme="dark"] .contact-banner-cta.btn-ink:hover {
  background: #334155 !important;
  border-color: #f97316 !important;
  color: #f97316 !important;
}

/* ============================================================
   CORREÇÃO DA TELA DE SUCESSO DO FORMULÁRIO DE INDICAÇÃO
   ============================================================ */
[data-theme="dark"] #indicar-sucesso-card,
[data-theme="dark"] .success-header {
  color: #f8fafc !important;
}

[data-theme="dark"] .whatsapp-box {
  background: #064e3b !important;
  border: 1px solid #059669 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .whatsapp-box h3,
[data-theme="dark"] .whatsapp-box p,
[data-theme="dark"] .whatsapp-box span {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .peticoes-grid .peticao-card {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .peticoes-grid .peticao-card h4,
[data-theme="dark"] .peticoes-grid .peticao-card p {
  color: #ffffff !important;
}

[data-theme="dark"] .peticoes-grid .btn-dark {
  background: #1e293b !important;
  color: #ffffff !important;
  border-color: #374151 !important;
}

[data-theme="dark"] .peticoes-grid .btn-outline {
  background: transparent !important;
  color: #ffffff !important;
  border-color: #374151 !important;
}

/* ============================================================
   CORREÇÃO DO ITEM ATIVO NA BARRA LATERAL ("ARTIGOS NESSA SEÇÃO")
   ============================================================ */
[data-theme="dark"] .sidenav-item,
[data-theme="dark"] .article-sidebar a,
[data-theme="dark"] .collapsible-sidebar a {
  color: #cbd5e1 !important;
  background: transparent !important;
  border: none !important;
}

[data-theme="dark"] .sidenav-item:hover,
[data-theme="dark"] .article-sidebar a:hover,
[data-theme="dark"] .collapsible-sidebar a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .sidenav-item.current-article,
[data-theme="dark"] .sidenav-item[aria-current="page"],
[data-theme="dark"] .article-sidebar .current-article,
[data-theme="dark"] .collapsible-sidebar .current-article {
  background: #1e293b !important;
  color: #f97316 !important;
  font-weight: 700 !important;
  border-left: 4px solid #f97316 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

/* ============================================================
   CORREÇÃO GLOBAL DE BREADCRUMBS (CAMINHO DE RATO)
   ============================================================ */
[data-theme="dark"] .breadcrumbs,
[data-theme="dark"] .breadcrumbs li,
[data-theme="dark"] .breadcrumbs a,
[data-theme="dark"] .breadcrumbs span,
[data-theme="dark"] .sub-nav,
[data-theme="dark"] .sub-nav * {
  color: #E2E8F0 !important;
  opacity: 1 !important;
}

[data-theme="dark"] .breadcrumbs a:hover {
  color: #F97316 !important;
  text-decoration: underline !important;
}

[data-theme="dark"] .breadcrumbs li + li::before {
  color: #64748B !important;
}

[data-theme="dark"] .breadcrumbs li:last-child,
[data-theme="dark"] .breadcrumbs li:last-child a,
[data-theme="dark"] .breadcrumbs li:last-child span {
  color: #F97316 !important;
  font-weight: 700 !important;
}

/* ============================================================
   CORREÇÕES PÁGINA DE BUSCA (SEARCH RESULTS)
   ============================================================ */
[data-theme="dark"] .search-results-subheading,
[data-theme="dark"] .search-results h1,
[data-theme="dark"] h1.search-results-count {
  color: #FFFFFF !important;
}

[data-theme="dark"] .search-results-list > li {
  background: #1F2937 !important;
  border: 1px solid #374151 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

[data-theme="dark"] .search-result-title,
[data-theme="dark"] .search-result-title a {
  color: #F97316 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .search-result-breadcrumbs,
[data-theme="dark"] .search-result-breadcrumbs li,
[data-theme="dark"] .search-result-breadcrumbs li a {
  color: #CBD5E1 !important;
}

[data-theme="dark"] .search-result-breadcrumbs li:last-child a {
  color: #F97316 !important;
}

[data-theme="dark"] .search-results-description {
  color: #E2E8F0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-top: 12px !important;
}

[data-theme="dark"] .search-results-description em {
  background: rgba(249, 115, 22, 0.25) !important;
  color: #FB923C !important;
  border: 1px solid rgba(249, 115, 22, 0.4) !important;
  border-radius: 4px !important;
  padding: 1px 5px !important;
  font-style: normal !important;
}

[data-theme="dark"] .search-results-sidebar h3,
[data-theme="dark"] .search-results-sidebar label {
  color: #FFFFFF !important;
}

[data-theme="dark"] .search-results [class*="quick-response"],
[data-theme="dark"] .search-results [class*="no-results"] {
  background: #1F2937 !important;
  border-color: #374151 !important;
  color: #E2E8F0 !important;
}

/* ============================================================
   Trava de rolagem com o menu mobile aberto
   A classe .nav-open ja era aplicada pelo script.js, mas nao existia
   nenhuma regra para ela — por isso a pagina continuava rolando atras.
   ============================================================ */
body.nav-open {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

/* ============================================================
   PADRONIZAÇÃO UNIFORME DOS BOTÕES NO MENU SANDUÍCHE (MOBILE)
   ============================================================ */
@media (max-width: 767px) {
  .user-nav a,
  .user-nav .clean-link,
  .user-nav .header-site-btn,
  .user-nav .header-contact-btn,
  #user-nav a,
  #user-nav .header-site-btn,
  #user-nav .header-contact-btn,
  [data-theme="dark"] .user-nav a,
  [data-theme="dark"] #user-nav a,
  [data-theme="dark"] #user-nav .header-site-btn,
  [data-theme="dark"] #user-nav .header-contact-btn {
    /* transparent (e nao #111827) para o item herdar exatamente o fundo do
       painel. Pintar o proprio fundo era o que criava a diferenca de tom. */
    background-color: transparent !important;
    background: transparent !important;
    color: #f9fafb !important;
    border: none !important;
    border-bottom: 1px solid #1f2937 !important;
    box-shadow: none !important;
  }
}
@media (max-width: 768px) {
  .contact-banner {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}
/* ============================================================
   CABEÇALHO PADRONIZADO (GLASSMORPHISM + CORES IDÊNTICAS)
   ============================================================ */
/* ============================================================
   CABEÇALHO DA CALCULADORA — vidro real
   SUBSTITUI o bloco "CABEÇALHO PADRONIZADO (GLASSMORPHISM...)"
   que fica no fim do style.css (as 3 regras: .d1-calc-header,
   .d1-calc-header h3 e .d1-calc-header p).
   ============================================================ */

/* Brilho laranja no topo do card. É ele que o cabeçalho desfoca —
   sem isso o blur não tem o que borrar e o vidro não aparece. */
.d1-calc-container {
  position: relative !important;
}
.d1-calc-container::before {
  content: "";
  position: absolute;
  top: -90px;
  left: 50%;
  width: 620px;
  height: 200px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}

/* Mantém todo o conteúdo do formulário acima do brilho. */
.d1-calc-body {
  position: relative !important;
  z-index: 1 !important;
}

.d1-calc-header,
[data-theme="dark"] .d1-calc-header {
  position: relative !important;
  z-index: 1 !important;
  background-color: rgba(17, 24, 39, 0.55) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  padding: 32px 24px !important;
  text-align: center !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

/* Navegadores sem backdrop-filter: volta ao fundo quase sólido. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .d1-calc-header,
  [data-theme="dark"] .d1-calc-header {
    background-color: rgba(17, 24, 39, 0.88) !important;
  }
}

.d1-calc-header h3,
[data-theme="dark"] .d1-calc-header h3 {
  color: #ffffff !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  letter-spacing: -0.5px !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.3 !important;
}

.d1-calc-header p,
[data-theme="dark"] .d1-calc-header p {
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  opacity: 0.85 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Esconde o texto de aviso de acessibilidade sobreposto no buscador */
[data-theme="dark"] .search-box [aria-live],
[data-theme="dark"] .search-box [role="status"],
[data-theme="dark"] .search-container [aria-live],
[data-theme="dark"] .search-container [role="status"],
[data-theme="dark"] form[role="search"] [aria-live] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Garante a cor limpa do texto digitado no campo de busca */
[data-theme="dark"] input[type="search"],
[data-theme="dark"] .search-box input {
  color: #ffffff !important;
}

/* ============================================================
   "Voltar ao topo" no modo escuro (article page)
   ============================================================ */
[data-theme="dark"] .article-return-to-top {
  border-top-color: #374151 !important;
}

[data-theme="dark"] .article-return-to-top a {
  color: #ffffff !important;
}

[data-theme="dark"] .article-return-to-top a:hover {
  color: #f97316 !important;
}

[data-theme="dark"] .article-return-to-top-icon,
[data-theme="dark"] .article-return-to-top a svg {
  color: #ffffff !important;
  stroke: currentColor !important;
}

[data-theme="dark"] .article-return-to-top a:hover .article-return-to-top-icon,
[data-theme="dark"] .article-return-to-top a:hover svg {
  color: #f97316 !important;
}

/* ============================================================
   Unificacao com o site d1lance.com.br (12/10/2026)
   Laranja unico do site (#F97316, hover #EA580C), sem degrade rosa,
   sem brilho pulsante no fundo, sem sombras laranja. Fonte Roboto.
   ============================================================ */
body::before, [data-theme="dark"] body::before { display: none !important; animation: none !important; }
.btn-pink {
  background: #F97316 !important;
  box-shadow: none !important;
  transition: background-color 0.15s ease !important;
}
.btn-pink:hover { background: #EA580C !important; transform: none !important; box-shadow: none !important; opacity: 1 !important; }
.btn-pink:active { transform: none !important; }
a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.hero-title { font-weight: 700 !important; letter-spacing: -0.5px !important; }
h1, h2, h3, .article-title, .section-tree-title, .page-header h1 { font-family: "Roboto", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif !important; }


/* ======================================================================
   PADRAO DO SITE (12/10/2026)
   A central copia o cabecalho, os cartoes, os botoes e os rotulos do
   d1lance.com.br (Tailwind: gray-* e orange-*, fonte Roboto).
   Diferencial da central: selo "Central de duvidas" ao lado do logo,
   busca no cabecalho e modo noturno.
   Cores so por variavel: --s-* no :root (dia) e em [data-theme="dark"].
   O prefixo ":root" nas regras ganha das sobrescritas antigas do modo
   escuro, que usam [data-theme="dark"] h2 / p com !important.
   ====================================================================== */
:root {
  --s-bg: #FFFFFF;
  --s-fg: #111827;
  --s-txt: #1F2937;
  --s-sub: #374151;
  --s-muted: #4B5563;
  --s-dim: #6B7280;
  --s-line: #E5E7EB;
  --s-line2: #D1D5DB;
  --s-hover: #F3F4F6;
  --s-press: #E5E7EB;
  --s-laranja: #F97316;
  --s-laranja-2: #EA580C;
  --s-laranja-3: #C2410C;
  --s-laranja-bg: #FFF7ED;
  --s-alerta: #111827;
  --s-sombra: 0 1px 3px 0 rgba(17, 24, 39, .16);
  --s-sombra-md: 0 4px 6px -1px rgba(17, 24, 39, .16), 0 2px 4px -2px rgba(17, 24, 39, .16);
}
[data-theme="dark"] {
  --s-bg: #111827;
  --s-fg: #F9FAFB;
  --s-txt: #F3F4F6;
  --s-sub: #D1D5DB;
  --s-muted: #9CA3AF;
  --s-dim: #9CA3AF;
  --s-line: #374151;
  --s-line2: #4B5563;
  --s-hover: #1F2937;
  --s-press: #374151;
  --s-laranja-2: #FB923C;
  --s-laranja-3: #FDBA74;
  --s-laranja-bg: rgba(249, 115, 22, .12);
  --s-alerta: #030712;
  --s-sombra: 0 1px 3px 0 rgba(0, 0, 0, .5);
  --s-sombra-md: 0 4px 10px -1px rgba(0, 0, 0, .55);
  color-scheme: dark;
}
:root body {
  background: var(--s-bg) !important;
  color: var(--s-txt);
  font-family: "Roboto", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif;
}

/* ---------- Aviso de golpe (calmo, fechavel; ver header.hbs) ---------- */
:root { --s-aviso-bg: #FFF7ED; --s-aviso-borda: #FED7AA; --s-aviso-txt: #7C2D12; --s-aviso-icone: #EA580C; }
[data-theme="dark"] { --s-aviso-bg: #1C1917; --s-aviso-borda: #431407; --s-aviso-txt: #FED7AA; --s-aviso-icone: #FB923C; }
.d1-aviso { background: var(--s-aviso-bg); border-bottom: 1px solid var(--s-aviso-borda); color: var(--s-aviso-txt); }
.d1-aviso[hidden] { display: none !important; }
.d1-aviso-inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 1536px; margin: 0 auto; padding: 8px 48px; }
.d1-aviso-inner > svg { flex-shrink: 0; color: var(--s-aviso-icone); }
:root .d1-aviso p { flex: 0 1 auto; min-width: 0; text-align: center; margin: 0; font-size: 13px !important; line-height: 1.45; color: var(--s-aviso-txt) !important; }
:root .d1-aviso b { font-weight: 600; }
:root .d1-aviso a { color: var(--s-aviso-txt) !important; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
:root .d1-aviso a:hover { color: var(--s-aviso-icone) !important; }
.d1-aviso-x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--s-aviso-txt); cursor: pointer; opacity: .7; transition: background-color .15s, opacity .15s; }
.d1-aviso-x:hover { opacity: 1; background: var(--s-aviso-borda); }

/* ---------- Cabecalho (igual ao header.blade.php do site) ---------- */
:root .header.d1-topo {
  position: sticky;
  top: 0;
  z-index: 50;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  background: var(--s-bg) !important;
  border-bottom: 1px solid var(--s-line) !important;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1);
}
.d1-topo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 72px;
}
.d1-marca { display: flex; align-items: center; min-width: 0; }
.d1-logo { display: block; flex-shrink: 0; transition: opacity .15s; }
.d1-logo:hover { opacity: .8; }
.d1-logo img { display: block; width: 144px; height: auto; }
.d1-logo-escuro { display: none !important; }
[data-theme="dark"] .d1-logo-claro { display: none !important; }
[data-theme="dark"] .d1-logo-escuro { display: block !important; }

.d1-selo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--s-line2);
  color: var(--s-laranja);
  text-decoration: none !important;
  white-space: nowrap;
}
.d1-selo svg { flex-shrink: 0; align-self: flex-start; margin-top: 2px; }
:root .d1-selo .d1-dois b { color: var(--s-laranja-2); }
.d1-selo:hover .d1-dois b { color: var(--s-laranja-3); }

.d1-dois { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.d1-dois small { font-size: 12px; color: var(--s-muted); font-weight: 400; }
.d1-dois b { font-size: 16px; font-weight: 500; color: var(--s-txt); }

.d1-menu { display: none; align-items: center; gap: 36px; margin: 0 auto 0 56px; }
.d1-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 96px;
  padding: 0;
  border: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  background: transparent;
  color: var(--s-muted);
  font: inherit;
  cursor: pointer;
  text-decoration: none !important;
  transition: border-color .15s;
}
.d1-menu-item > svg:first-child { align-self: center; transform: translateY(-9px); }
.d1-menu-item:hover,
.d1-drop.open > .d1-menu-item { border-bottom-color: var(--s-txt); }
.d1-menu-item:focus-visible { outline: 2px solid var(--s-laranja); outline-offset: 2px; }
.d1-seta { color: var(--s-txt); transition: transform .15s; }
.d1-drop.open .d1-seta { transform: rotate(180deg); }

/* Menu "Explore por assuntos" (igual ao "Explore por categorias" do site) */
.d1-mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
  background: var(--s-bg);
  border-top: 1px solid var(--s-line);
  border-bottom: 1px solid var(--s-line);
  box-shadow: var(--s-sombra-md);
  padding: 32px 0 40px;
}
.d1-drop.open .d1-mega { display: block; }
.d1-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 16px;
}
.d1-mega-titulo {
  display: block;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--s-fg) !important;
  text-decoration: none !important;
}
a.d1-mega-titulo:hover { color: var(--s-laranja-2) !important; }
.d1-rotulo {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--s-laranja-2);
  padding: 0 8px;
  margin: 14px 0 4px;
}
.d1-mega-titulo + .d1-rotulo { margin-top: 0; }
.d1-mega ul { list-style: none; margin: 0; padding: 0; }
.d1-mega li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--s-sub) !important;
  text-decoration: none !important;
  transition: background-color .15s, color .15s;
}
.d1-mega li a:hover { background: var(--s-laranja-bg); color: var(--s-laranja-2) !important; }
.d1-pilula {
  display: none;
  font-style: normal;
  font-size: 12px;
  color: var(--s-dim);
  border: 1px solid var(--s-line);
  border-radius: 999px;
  padding: 1px 8px;
  font-variant-numeric: tabular-nums;
}
.d1-pilula.tem { display: inline-block; }

/* Lado direito: busca, ver leiloes, modo noturno, menu */
.d1-acoes { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.d1-icone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent !important;
  color: var(--s-txt) !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color .15s;
}
.d1-icone-btn:hover { background: var(--s-hover) !important; }
.d1-icone-btn:active { background: var(--s-press) !important; }
.d1-leiloes span { display: none; font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.d1-tema .icon-sun { display: none; }
[data-theme="dark"] .d1-tema .icon-moon { display: none; }
[data-theme="dark"] .d1-tema .icon-sun { display: block; }
.d1-divisor { display: none; width: 1px; height: 16px; background: var(--s-line); flex-shrink: 0; }

.d1-conta { position: relative; }
.d1-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: var(--s-bg) !important;
  color: var(--s-txt) !important;
  box-shadow: var(--s-sombra), 0 0 0 1px var(--s-line);
  cursor: pointer;
  transition: background-color .15s, box-shadow .15s;
}
.d1-menu-btn:hover,
.d1-conta.open .d1-menu-btn { background: var(--s-hover) !important; box-shadow: var(--s-sombra-md), 0 0 0 1px var(--s-line); }
.d1-menu-btn { justify-content: center; width: 32px; padding: 0; } /* so' o icone, sem avatar (12/10/2026) */
.d1-menu-lista {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 12px;
  min-width: 230px;
  z-index: 70;
  background: var(--s-bg);
  border-radius: 6px;
  box-shadow: var(--s-sombra-md), 0 0 0 1px var(--s-line);
}
.d1-conta.open .d1-menu-lista { display: block; }
.d1-menu-lista > div { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--s-line); }
.d1-menu-lista > div:first-child { border-top: 0; }
.d1-menu-lista a {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--s-txt) !important;
  white-space: nowrap;
  text-decoration: none !important;
  transition: background-color .15s;
}
.d1-menu-lista a:hover { background: var(--s-hover); }
.d1-menu-lista a:active { background: var(--s-press); }

/* Busca do cabecalho (some na home, que tem a busca grande) */
.d1-busca-topo {
  display: none;
  align-items: center;
  width: 260px;
  height: 40px;
  margin-right: 4px;
  padding: 0 4px 0 0;
  border: 1px solid var(--s-line2) !important;
  border-radius: 6px;
  background: var(--s-bg) !important;
  transition: border-color .15s, box-shadow .15s;
}
.d1-busca-topo:focus-within { border-color: var(--s-laranja) !important; box-shadow: 0 0 0 3px rgba(249, 115, 22, .18); }
.d1-busca-topo .ai-generate-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--s-laranja);
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color .15s;
}
.d1-busca-topo .ai-generate-btn:hover { background: #EA580C; }
body.search-results .d1-busca-topo { display: none !important; }

/* Campo de busca (cabecalho e home) */
.ai-search-container .search-input-wrapper { position: relative; flex: 1; display: flex; align-items: center; height: 100%; min-width: 0; }
.ai-search-container .ai-icon { position: absolute; left: 12px; color: var(--s-dim); pointer-events: none; z-index: 1; }
.ai-search-container form { display: flex; align-items: center; width: 100%; height: 100%; margin: 0 !important; padding: 0 !important; }
.ai-search-container .search-icon { display: none !important; }
:root .ai-search-container input[type="search"] {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 8px 0 36px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--s-fg) !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 400 !important;
}
:root .ai-search-container input[type="search"]::placeholder { color: var(--s-dim) !important; opacity: 1; }

/* ---------- Home ---------- */
:root .hero.d1-hero {
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 64px 16px 56px !important;
  background: var(--s-bg) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--s-line) !important;
}
.d1-hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.d1-hero .d1-rotulo { font-size: 12px; padding: 0; margin: 0 0 12px; }
:root .d1-hero .hero-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700 !important;
  line-height: 1.15;
  letter-spacing: -.5px !important;
  color: var(--s-fg) !important;
  text-wrap: balance;
}
:root .d1-hero .hero-subtitle {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--s-sub) !important;
}
.d1-busca-grande {
  display: flex;
  align-items: stretch;
  gap: 8px;
  max-width: 640px;
  height: 48px;
  margin: 0 auto;
}
.d1-busca-grande .search-input-wrapper {
  border: 1px solid var(--s-line2);
  border-radius: 6px;
  background: var(--s-bg);
  transition: border-color .15s, box-shadow .15s;
}
.d1-busca-grande .search-input-wrapper:focus-within { border-color: var(--s-laranja); box-shadow: 0 0 0 3px rgba(249, 115, 22, .18); }
.d1-busca-grande .ai-icon { left: 14px; }
:root .d1-busca-grande input[type="search"] { padding-left: 44px !important; font-size: 16px !important; }
.d1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 0;
  border-radius: 6px;
  background: var(--s-laranja);
  color: #FFFFFF !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color .15s;
}
.d1-btn:hover { background: #EA580C; }
.d1-btn:active { background: #C2410C; }
.d1-atalhos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--s-dim);
}
.d1-atalhos a {
  padding: 4px 12px;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  color: var(--s-sub) !important;
  text-decoration: none !important;
  transition: border-color .15s, color .15s, background-color .15s;
}
.d1-atalhos a:hover { border-color: var(--s-laranja); color: var(--s-laranja-2) !important; background: var(--s-laranja-bg); }

.d1-jornada { max-width: 1160px; margin: 48px auto 0; padding: 0 5%; }
@media (min-width: 1160px) { .d1-jornada { padding: 0; } }
:root .d1-titulo-secao,
:root .category-grid-subtitle {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  color: var(--s-laranja) !important;
  text-wrap: balance;
}
:root .persona-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 32px;
  max-width: none;
  margin: 0 !important;
  padding: 0;
  border-bottom: 1px solid var(--s-line) !important;
}
:root .persona-tab {
  margin: 0 0 -1px;
  padding: 12px 0;
  border: 0;
  border-bottom: 4px solid transparent;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--s-muted) !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
:root .persona-tab::before, :root .persona-tab::after { display: none !important; }
:root .persona-tab:hover { color: var(--s-txt) !important; border-bottom-color: var(--s-line2); }
:root .persona-tab.is-active { color: var(--s-fg) !important; border-bottom-color: var(--s-laranja); background: transparent !important; box-shadow: none !important; }

/* Cartoes de secao (iguais aos do "Saiba tudo sobre leiloes" do site) */
:root .section-tree.section-tree--home {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 0;
  padding: 0;
}
:root .section-tree--home .section {
  max-width: none;
  margin: 0 !important;
  padding: 20px 24px 22px !important;
  border: 1px solid var(--s-line2) !important;
  border-radius: 6px !important;
  background: var(--s-bg) !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
:root .section-tree--home .section:hover { border-color: var(--s-laranja) !important; box-shadow: var(--s-sombra-md) !important; }
:root .section-tree-title { margin: 0 0 12px; font-size: 18px; font-weight: 500; line-height: 1.3; }
:root .section-tree-title a { color: var(--s-laranja) !important; text-decoration: none !important; }
:root .section-tree-title a:hover { color: var(--s-laranja-2) !important; }
:root .section-tree--home .article-list { list-style: none; margin: 0 -8px !important; padding: 0 !important; }
:root .section-tree--home .article-list-item { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
:root .section-tree--home .article-list-item .article-list-link {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  background: transparent !important;
  color: var(--s-sub) !important;
  font-size: 14.5px;
  line-height: 1.45;
  text-decoration: none !important;
  transition: background-color .15s, color .15s;
}
:root .section-tree--home .article-list-item:hover .article-list-link,
:root .section-tree--home .article-list-item .article-list-link:hover { background: var(--s-laranja-bg) !important; color: var(--s-laranja-2) !important; }
:root .see-all-articles { display: inline-block; padding: 0 !important; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--s-laranja-2) !important; text-decoration: none; }
:root .see-all-articles:hover { text-decoration: underline; }
.knowledge-base { margin-bottom: 64px; }

/* ---------- Caminho (breadcrumbs) e cabecalho das paginas ---------- */
:root .sub-nav { margin: 24px 0 8px; padding: 0; min-height: 0; }
:root .breadcrumbs { margin: 0; padding: 0; }
:root .breadcrumbs li,
:root .breadcrumbs li a { font-size: 13px !important; color: var(--s-dim) !important; text-decoration: none !important; }
:root .breadcrumbs li a:hover { color: var(--s-laranja-2) !important; }
:root .breadcrumbs li:last-child,
:root .breadcrumbs li:last-child a { color: var(--s-txt) !important; }
:root .page-header { display: block !important; margin: 16px 0 24px; }
:root .category-container,
:root .section-container { display: block !important; }
:root .category-content,
:root .section-content { flex: none !important; width: 100% !important; max-width: none !important; }
:root .page-header h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--s-fg) !important;
}
:root .page-header-description { max-width: 70ch; font-size: 16px; line-height: 1.6; color: var(--s-sub) !important; }

/* Pagina de secao: lista dentro de um cartao */
:root .section-content .article-list {
  list-style: none;
  margin: 0 0 48px;
  padding: 8px !important;
  border: 1px solid var(--s-line2) !important;
  border-radius: 6px;
  background: var(--s-bg) !important;
}
:root .section-content .article-list-item { margin: 0; padding: 0 !important; border: 0 !important; }
:root .section-content .article-list-item a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  background: transparent !important;
  color: var(--s-sub) !important;
  font-size: 15px;
  text-decoration: none !important;
}
:root .section-content .article-list-item a:hover { background: var(--s-laranja-bg) !important; color: var(--s-laranja-2) !important; }

/* ---------- Artigo ---------- */
:root .article-title {
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 700 !important;
  line-height: 1.2;
  letter-spacing: -.5px;
  color: var(--s-fg) !important;
  text-wrap: balance;
}
:root .article-sidebar .sidenav-title,
:root .collapsible-sidebar-title {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--s-laranja-2) !important;
  margin-bottom: 12px !important;
}
:root .sidenav-item {
  display: block;
  padding: 8px 10px !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: var(--s-sub) !important;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none !important;
}
:root .sidenav-item:hover { background: var(--s-laranja-bg) !important; color: var(--s-laranja-2) !important; }
:root .sidenav-item.current-article {
  background: var(--s-laranja-bg) !important;
  color: var(--s-laranja-2) !important;
  font-weight: 500;
}
:root .article-body a { color: var(--s-laranja-2); }

/* ---------- Tamanhos de tela ---------- */
@media (min-width: 768px) {
  .d1-leiloes { padding: 0 12px; }
  .d1-leiloes span { display: inline; }
  .d1-acoes > .d1-divisor { display: block; }
}
@media (min-width: 1024px) {
  .d1-topo-inner { min-height: 97px; }
  .d1-logo img { width: 202px; }
  .d1-selo { margin-left: 24px; padding-left: 24px; }
  .d1-busca-topo { display: flex; }
  .d1-icone-btn { height: 40px; min-width: 40px; }
  .d1-leiloes { padding: 0 16px; }
  .d1-leiloes span { font-size: 14px; }
  .d1-menu-btn { width: 42px; height: 42px; }
}
@media (min-width: 1360px) {
  .d1-menu { display: flex; }
}
@media (max-width: 767px) {
  .d1-selo { margin-left: 12px; padding-left: 12px; }
  .d1-selo svg { display: none; }
  .d1-selo .d1-dois small { font-size: 11px; }
  .d1-selo .d1-dois b { font-size: 14px; }
  .d1-acoes { gap: 4px; }
  :root .hero.d1-hero { padding: 40px 16px 36px !important; }
  .d1-busca-grande { height: 46px; }
  .d1-btn { padding: 0 16px; font-size: 14px; }
  :root .section-tree.section-tree--home { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  :root .section-tree--home .section { padding: 16px 18px !important; }
  .d1-jornada { margin-top: 32px; }
  :root .persona-tabs { gap: 24px; }
}
@media (max-width: 479px) {
  .d1-topo-inner { padding: 0 12px; gap: 4px; }
  .d1-logo img { width: 112px; }
  .d1-selo { margin-left: 10px; padding-left: 10px; }
  .d1-selo .d1-dois small { font-size: 10.5px; }
  .d1-selo .d1-dois b { font-size: 13px; }
}
/* Celular (12/10/2026): sem o avatar sobra espaco. Logo maior e botoes de 40px, faceis de tocar. */
@media (max-width: 767px) {
  .d1-icone-btn { height: 40px; min-width: 40px; }
  .d1-menu-btn { width: 40px; height: 40px; }
  .d1-acoes { gap: 6px; }
}
@media (min-width: 400px) and (max-width: 479px) {
  .d1-logo img { width: 128px; }
}
@media (max-width: 359px) {
  .d1-leiloes { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  :root .header.d1-topo { transition: none; }
}


/* ---------- Rodape: campo de e-mail (igual ao do site) ---------- */
.d1-news { width: 100%; max-width: 448px; margin: 0 auto; }
:root .d1-news .footer-newsletter-text { display: block; margin: 24px 0 16px; }
.d1-news-linha { display: flex; gap: 8px; height: 48px; }
:root .d1-news input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #374151 !important;
  border-radius: 6px;
  background: #1F2937 !important;
  color: #FFFFFF !important;
  font-family: inherit;
  font-size: 16px;
  box-shadow: none;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
:root .d1-news input[type="email"]::placeholder { color: #6B7280; opacity: 1; }
:root .d1-news input[type="email"]:focus { border-color: #F97316 !important; box-shadow: 0 0 0 2px rgba(249, 115, 22, .3); }
:root .d1-news .d1-news-isca { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
:root .footer-hero .d1-news .footer-newsletter-btn {
  min-width: 0;
  height: 100%;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color .15s;
}
:root .footer-hero .d1-news .footer-newsletter-btn:hover { transform: none; opacity: 1; background: #EA580C; }
:root .footer-hero .d1-news .footer-newsletter-btn:active { background: #C2410C; }
:root .footer-hero .d1-news .footer-newsletter-btn:disabled { opacity: .6; cursor: wait; }
:root .d1-news-msg { min-height: 16px; margin: 12px 0 0; font-size: 12px !important; color: #6B7280 !important; text-align: center; }
:root .d1-news-msg.is-ok { color: #4ADE80 !important; }
:root .d1-news-msg.is-erro { color: #F87171 !important; }
@media (max-width: 479px) {
  .d1-news-linha { height: 44px; }
  :root .footer-hero .d1-news .footer-newsletter-btn { padding: 0 16px; font-size: 14px; }
}


/* ---------- Busca nas paginas de resultado e de erro (mesma barra da home) ---------- */
:root .sub-nav .d1-busca-grande { margin: 16px 0 0; max-width: 640px; }
:root .d1-error-search .d1-busca-grande { margin: 16px auto 24px; }
@media (max-width: 479px) {
  .d1-busca-grande .d1-btn { padding: 0 14px; }
}
@media (max-width: 479px) {
  .d1-aviso-inner { justify-content: flex-start; padding: 8px 44px 8px 12px; }
  :root .d1-aviso p { text-align: left; }
}


/* ======================================================================
   FAIXA PRINCIPAL: VIDRO SOBRE FUNDO CLARO + LUZ EM MOVIMENTO (12/10/2026)
   Brenno escolheu o vidro, mas claro. Tres manchas de luz (laranja, pessego,
   ambar) desfocadas derivam devagar (19 a 28 s por ciclo, so transform).
   Busca e atalhos sao placas de vidro fosco por cima. No modo noturno a
   faixa fica escura, como o resto da pagina. Quem ativou "reduzir movimento"
   no sistema ve as luzes em deriva bem mais lenta e curta.
   ====================================================================== */
:root {
  --h-bg: #FFFBF7;
  --h-tit: #111827; --h-sub: #374151; --h-rot: #EA580C;
  --h-vidro: rgba(255, 255, 255, .55); --h-vidro-borda: rgba(255, 255, 255, .9); --h-vidro-hover: rgba(255, 255, 255, .8);
  --h-sombra: 0 8px 28px rgba(124, 45, 18, .08);
  --h-card-tit: #111827; --h-card-txt: #4B5563;
  --h-icone-bg: rgba(249, 115, 22, .14); --h-icone: #EA580C;
  --h-campo: #111827; --h-campo-ph: #6B7280; --h-lupa: #6B7280;
  --h-l1: .30; --h-l2: .55; --h-l3: .22;
  --h-borda-base: #F3E8DD;
}
[data-theme="dark"] {
  --h-bg: #0B1120;
  --h-tit: #FFFFFF; --h-sub: #E5E7EB; --h-rot: #FDBA74;
  --h-vidro: rgba(255, 255, 255, .08); --h-vidro-borda: rgba(255, 255, 255, .16); --h-vidro-hover: rgba(255, 255, 255, .14);
  --h-sombra: none;
  --h-card-tit: #FFFFFF; --h-card-txt: #D1D5DB;
  --h-icone-bg: rgba(249, 115, 22, .22); --h-icone: #FDBA74;
  --h-campo: #FFFFFF; --h-campo-ph: rgba(255, 255, 255, .65); --h-lupa: #E5E7EB;
  --h-l1: .5; --h-l2: .3; --h-l3: .42;
  --h-borda-base: #1F2937;
}
:root .hero.d1-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--h-bg) !important;
  border-bottom: 1px solid var(--h-borda-base) !important;
  padding: 72px 16px 56px !important;
}
.d1-luzes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.d1-luz { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.d1-luz.l1 { width: max(280px, 44vw); max-width: 560px; aspect-ratio: 1; background: #F97316; opacity: var(--h-l1); left: 2%; top: 28%; animation: d1Deriva1 22s ease-in-out infinite alternate; }
.d1-luz.l2 { width: max(240px, 36vw); max-width: 460px; aspect-ratio: 1; background: #FDBA74; opacity: var(--h-l2); right: 2%; top: -18%; animation: d1Deriva2 28s ease-in-out infinite alternate; }
.d1-luz.l3 { width: max(220px, 30vw); max-width: 400px; aspect-ratio: 1; background: #FB923C; opacity: var(--h-l3); left: 44%; top: 52%; animation: d1Deriva3 19s ease-in-out infinite alternate; }
@keyframes d1Deriva1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30%, -18%) scale(1.15); } 100% { transform: translate(10%, 12%) scale(.92); } }
@keyframes d1Deriva2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-28%, 22%) scale(.9); } 100% { transform: translate(-8%, 34%) scale(1.12); } }
@keyframes d1Deriva3 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-36%, -26%) scale(1.2); } 100% { transform: translate(24%, -10%) scale(1); } }
/* Quem pediu "menos movimento" no sistema: as luzes nao param, andam bem mais devagar
   e mais perto do lugar (luz desfocada em deriva lenta, sem nada pulando na tela). */
@keyframes d1Suave1 { 0% { transform: translate(0, 0); } 100% { transform: translate(18%, -10%); } }
@keyframes d1Suave2 { 0% { transform: translate(0, 0); } 100% { transform: translate(-16%, 14%); } }
@keyframes d1Suave3 { 0% { transform: translate(0, 0); } 100% { transform: translate(-18%, -12%); } }
@media (prefers-reduced-motion: reduce) {
  .d1-luz.l1 { animation: d1Suave1 24s ease-in-out infinite alternate !important; }
  .d1-luz.l2 { animation: d1Suave2 30s ease-in-out infinite alternate !important; }
  .d1-luz.l3 { animation: d1Suave3 27s ease-in-out infinite alternate !important; }
}

:root .d1-hero .d1-rotulo { color: var(--h-rot); }
:root .d1-hero .hero-title { color: var(--h-tit) !important; }
:root .d1-hero .hero-subtitle { color: var(--h-sub) !important; }

/* Vidro fosco */
:root .d1-vidro {
  background: var(--h-vidro) !important;
  border: 1px solid var(--h-vidro-borda) !important;
  box-shadow: var(--h-sombra);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}
:root .d1-hero .d1-busca-grande .search-input-wrapper:focus-within { border-color: #FB923C !important; box-shadow: 0 0 0 3px rgba(249, 115, 22, .25); }
:root .d1-hero .ai-search-container .ai-icon { color: var(--h-lupa); }
:root .d1-hero .ai-search-container input[type="search"] { color: var(--h-campo) !important; }
:root .d1-hero .ai-search-container input[type="search"]::placeholder { color: var(--h-campo-ph) !important; }

/* Atalhos das duvidas mais comuns */
.d1-atalhos-hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 40px auto 0;
}
:root .d1-atalho {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 18px 20px;
  border-radius: 10px;
  text-align: left;
  color: var(--h-card-tit) !important;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
:root .d1-atalho:hover { transform: translateY(-2px); background: var(--h-vidro-hover) !important; border-color: rgba(251, 146, 60, .6) !important; }
:root .d1-atalho:focus-visible { outline: 2px solid #FB923C; outline-offset: 2px; }
.d1-atalho i { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px; border-radius: 8px; background: var(--h-icone-bg); color: var(--h-icone); font-style: normal; }
.d1-atalho b { font-size: 15px; font-weight: 600; color: var(--h-card-tit); }
.d1-atalho span { font-size: 13px; line-height: 1.45; color: var(--h-card-txt); }
.d1-hero.d1-pausado .d1-luz { animation-play-state: paused; }
@media (max-width: 900px) {
  .d1-atalhos-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 479px) {
  :root .hero.d1-hero { padding: 44px 12px 36px !important; }
  .d1-atalhos-hero { margin-top: 28px; }
  :root .d1-atalho { padding: 14px; }
  .d1-atalho span { display: none; }
  .d1-atalho i { width: 32px; height: 32px; margin-bottom: 4px; }
  .d1-atalho b { font-size: 14px; }
}

/* Cabecalho de vidro: quando ele volta ao rolar pra cima, a pagina passa desfocada por baixo */
:root .header.d1-topo.header--visible {
  background: rgba(255, 255, 255, .78) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
}
[data-theme="dark"] .header.d1-topo.header--visible { background: rgba(17, 24, 39, .72) !important; }

/* Movimento aleatorio (script.js "Luzes da faixa"): com JS, a animacao fixa sai e cada
   luz desliza ate pontos sorteados dentro da faixa. Sem JS, vale a animacao fixa acima. */
.d1-luzes.d1-aleatorio .d1-luz {
  left: 0 !important;
  top: 0 !important;
  animation: none !important;
  transition-property: transform;
  transition-timing-function: cubic-bezier(.45, .05, .55, .95);
}


/* ======================================================================
   MENU DO BOTAO DA DIREITA AGRUPADO (12/10/2026)
   Igual ao menu do site: destaque "Meu painel" e grupos com rotulo laranja.
   ====================================================================== */
.d1-menu-lista { min-width: 260px; padding-bottom: 4px; }
:root .d1-menu-lista .d1-menu-painel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 12px 8px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--s-laranja-bg);
  color: var(--s-laranja-3) !important;
  font-weight: 500;
}
:root .d1-menu-lista .d1-menu-painel:hover { background: var(--s-laranja-bg); filter: brightness(.97); }
.d1-menu-lista > div:first-of-type { border-top: 1px solid var(--s-line); }
.d1-menu-rotulo {
  padding: 6px 16px 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--s-laranja-2);
}
:root .d1-menu-lista a { padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d1-menu-nota { font-size: 12px; color: var(--s-dim); }

/* ======================================================================
   PAGINAS ESPECIAIS NO PADRAO DA HOME (12/10/2026)
   Calculadoras, Indique e Contatos: o cabecalho de cada uma vira uma faixa
   de vidro claro com as luzes (script.js injeta as luzes e a classe .d1-faixa).
   As pecas internas seguem o site: Roboto, cartoes com borda fina, campos com
   foco laranja, botoes laranja de canto 6px, rotulos pequenos em caixa alta.
   O conteudo dos artigos nao muda; aqui so sobrepoe o visual.
   ====================================================================== */
:root .d1-faixa {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  background: var(--h-bg) !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--h-tit) !important;
  text-align: center;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
:root .d1-faixa::before, :root .d1-faixa::after { display: none !important; }
:root .d1-faixa > :not(.d1-luzes) { position: relative; z-index: 1; }
:root .d1-faixa .d1-luz.l1 { width: 46%; max-width: 520px; }
:root .d1-faixa .d1-luz.l2 { width: 38%; max-width: 440px; }
:root .d1-faixa .d1-luz.l3 { width: 32%; max-width: 380px; }
:root .d1-faixa h1,
:root .d1-faixa h2,
:root .d1-faixa h3 {
  color: var(--h-tit) !important;
  font-family: "Roboto", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -.5px !important;
  text-wrap: balance;
}
:root .d1-faixa p { color: var(--h-sub) !important; opacity: 1 !important; }

/* Faixas soltas no topo da pagina (Indique e Contatos) */
:root .wizard-header.d1-faixa,
:root .d1-contact-header.d1-faixa {
  margin: 24px 0 28px !important;
  padding: 48px 24px !important;
  border-radius: 12px !important;
  border: 1px solid var(--h-borda-base) !important;
}
:root .wizard-header.d1-faixa h1,
:root .d1-contact-header.d1-faixa h1 { font-size: clamp(26px, 3.4vw, 36px) !important; margin: 0 0 10px !important; }
:root .wizard-header.d1-faixa p,
:root .d1-contact-header.d1-faixa p { max-width: 560px; margin: 0 auto !important; font-size: 16px !important; line-height: 1.6; }

/* ---------- Calculadoras ---------- */
:root .d1-calc-container,
:root .d1-calc-container * { font-family: "Roboto", "Segoe UI", -apple-system, Helvetica, Arial, sans-serif !important; }
:root .d1-calc-container {
  background: var(--s-bg) !important;
  border: 1px solid var(--s-line) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 28px rgba(17, 24, 39, .06) !important;
}
:root .d1-calc-header.d1-faixa { padding: 40px 24px !important; border-bottom: 1px solid var(--h-borda-base) !important; }
:root .d1-calc-header.d1-faixa h3 { font-size: clamp(22px, 2.6vw, 28px) !important; margin: 0 0 8px !important; }
:root .d1-calc-header.d1-faixa p { font-size: 15px !important; }
:root .d1-calc-body { background: var(--s-bg) !important; }

/* Abas Simplificado / Completo */
:root .d1-mode-btn { color: var(--s-muted) !important; font-weight: 500 !important; border-radius: 6px !important; }
:root .d1-mode-btn.active {
  background: var(--s-bg) !important;
  color: var(--s-laranja-2) !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 3px rgba(17, 24, 39, .12), inset 0 -2px 0 #F97316 !important;
}

/* Grupos de campos */
:root .d1-card-group {
  background: var(--s-bg) !important;
  border: 1px solid var(--s-line2) !important;
  border-radius: 8px !important;
}
:root .d1-group-title {
  color: var(--s-laranja-2) !important;
  font-size: 11px !important;
  letter-spacing: .06em !important;
  border-bottom-color: var(--s-line) !important;
}

/* Campos (calculadoras e Indique) */
:root .d1-input-group label,
:root .field-group label { color: var(--s-sub) !important; font-weight: 500 !important; }
:root .d1-input-group input,
:root .d1-input-group select,
:root .field-group input,
:root .field-group select,
:root .field-group textarea {
  border: 1px solid var(--s-line2) !important;
  border-radius: 6px !important;
  background: var(--s-bg) !important;
  color: var(--s-fg) !important;
  box-shadow: none !important;
}
:root .d1-input-group input:focus,
:root .d1-input-group select:focus,
:root .field-group input:focus,
:root .field-group select:focus,
:root .field-group textarea:focus {
  border-color: #F97316 !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .18) !important;
  outline: none !important;
}

/* Botoes principais */
:root .d1-btn-primary,
:root .btn-wizard-next,
:root .btn-wizard-submit,
:root .btn-download.btn-orange {
  background: #F97316 !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  letter-spacing: .02em;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .15s !important;
}
:root .d1-btn-primary:hover,
:root .btn-wizard-next:hover,
:root .btn-wizard-submit:hover,
:root .btn-download.btn-orange:hover { background: #EA580C !important; }
:root .d1-btn-primary:active,
:root .btn-wizard-next:active,
:root .btn-wizard-submit:active { background: #C2410C !important; }
:root .d1-btn-primary:disabled { background: #9CA3AF !important; }

/* Botoes secundarios: contorno, como o "Entrar" do menu do site */
:root .d1-btn-secondary,
:root .btn-wizard-back,
:root .btn-download.btn-dark,
:root .contact-banner-cta {
  background: var(--s-bg) !important;
  color: var(--s-txt) !important;
  border: 1px solid var(--s-line2) !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  transform: none !important;
}
:root .d1-btn-secondary:hover,
:root .btn-wizard-back:hover,
:root .btn-download.btn-dark:hover,
:root .contact-banner-cta:hover { border-color: #F97316 !important; color: var(--s-laranja-2) !important; background: var(--s-laranja-bg) !important; }

/* Avisos e resultados */
:root .d1-disclaimer-box {
  background: var(--s-laranja-bg) !important;
  border-left: 3px solid #F97316 !important;
  color: var(--s-laranja-3) !important;
}
:root .d1-result-box { border-top-color: #F97316 !important; border-radius: 8px !important; }
:root .d1-flow-item.highlight h2 { color: var(--s-laranja-2) !important; }

/* ---------- Indique ---------- */
:root .wizard-card {
  background: var(--s-bg) !important;
  border: 1px solid var(--s-line2) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 28px rgba(17, 24, 39, .06) !important;
}
:root .wizard-progress-bar { background: var(--s-hover) !important; }
:root .progress-fill { background: #F97316 !important; }
:root .step-indicator {
  background: var(--s-laranja-bg) !important;
  color: var(--s-laranja-2) !important;
  border: 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}
:root .wizard-step h2 { color: var(--s-fg) !important; font-weight: 600 !important; }
:root .peticao-card {
  background: var(--s-bg) !important;
  border: 1px solid var(--s-line2) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
:root .peticao-card:hover { border-color: #F97316 !important; box-shadow: var(--s-sombra-md) !important; }
:root .tag-guia { background: var(--s-laranja-bg) !important; color: var(--s-laranja-2) !important; border-radius: 999px !important; }

/* Bloco "Duvidas sobre a indicacao?": faixa clara em vez do cinza */
:root .contact-banner {
  background: var(--h-bg) !important;
  border: 1px solid var(--h-borda-base) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}
:root .contact-banner h2 { color: var(--s-fg) !important; }
:root .contact-banner p { color: var(--s-sub) !important; }

/* ---------- Contatos ---------- */
:root .d1-section-title { color: var(--s-laranja-2) !important; letter-spacing: .06em !important; }
:root .d1-contact-card {
  background: var(--s-bg) !important;
  border: 1px solid var(--s-line2) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color .15s, box-shadow .15s !important;
}
:root .d1-contact-card:hover { border-color: #F97316 !important; box-shadow: var(--s-sombra-md) !important; }
:root .d1-contact-card .card-icon {
  background: var(--s-laranja-bg) !important;
  color: var(--s-laranja-2) !important;
}
:root .d1-contact-card h3 { color: var(--s-fg) !important; font-weight: 500 !important; }
:root .d1-contact-card p { color: var(--s-muted) !important; }

/* ---------- Rodape: campo de e-mail mais largo (12/10/2026) ---------- */
:root .d1-news { max-width: 560px !important; }
:root .footer-hero .d1-news .footer-newsletter-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 22px !important;
  border-radius: 6px !important;
  font-size: 16px !important;
}
:root .d1-news input[type="email"] { flex: 1 1 auto !important; min-width: 0 !important; width: 100% !important; }
@media (max-width: 600px) {
  :root .d1-news-linha { flex-direction: column; height: auto !important; }
  :root .d1-news input[type="email"] { height: 48px !important; }
  :root .footer-hero .d1-news .footer-newsletter-btn { width: 100% !important; height: 48px !important; }
}

/* Textos das faixas sem palavra sozinha na ultima linha (12/10/2026) */
:root .d1-faixa p,
:root .d1-hero .hero-subtitle { text-wrap: balance; }
:root .wizard-header.d1-faixa p,
:root .d1-contact-header.d1-faixa p { max-width: 640px; }

/* Menu: sem o destaque do topo, o primeiro grupo comeca colado (12/10/2026) */
.d1-menu-lista > div:first-of-type { border-top: 0; }

/* Largura padrao da central (1160px, igual ao .container) nas paginas Indique e Contatos */
:root .d1-contact-page {
  max-width: 1160px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
  box-sizing: border-box;
}
:root .d1-contact-page .d1-contact-header,
:root .d1-contact-page .d1-contact-container { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0; padding-right: 0; }
:root .d1-contact-page .d1-contact-header.d1-faixa { padding-left: 24px !important; padding-right: 24px !important; }
:root .indicar-leilao-wrapper { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
:root .indicar-leilao-wrapper > *,
:root .indicar-leilao-wrapper .wizard-card,
:root .indicar-leilao-wrapper .contact-banner { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; }
@media (min-width: 1160px) {
  :root .d1-contact-page { padding-left: 0 !important; padding-right: 0 !important; }
}
:root .article:has(.indicar-leilao-wrapper) { padding-left: 0 !important; padding-right: 0 !important; }
:root #indicar-wizard-form,
:root #indicar-sucesso-card,
:root #wizard-links-uteis { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

/* ======================================================================
   RESPIRO PADRAO NAS PAGINAS ESPECIAIS (12/10/2026)
   Igual as paginas comuns da central: 24px do cabecalho ate o primeiro
   bloco, 24px entre blocos, 40px entre secoes e 64px ate o rodape.
   ====================================================================== */
:root { --e-topo: 24px; --e-bloco: 24px; --e-secao: 40px; --e-fim: 64px; }

/* Calculadoras */
:root .article-content:has(.d1-calc-container) { margin-top: 0 !important; margin-bottom: 0 !important; }
:root .d1-calc-container { margin: var(--e-topo) 0 var(--e-fim) !important; }

/* Indique */
:root .indicar-leilao-wrapper { margin-top: 0 !important; margin-bottom: var(--e-fim) !important; padding-top: 0 !important; padding-bottom: 0 !important; }
:root .wizard-header.d1-faixa { margin: var(--e-topo) 0 var(--e-bloco) !important; }
:root #indicar-wizard-form,
:root #indicar-sucesso-card { margin-top: 0 !important; margin-bottom: 0 !important; }
:root #wizard-links-uteis { margin-top: var(--e-bloco) !important; margin-bottom: 0 !important; }

/* Contatos */
:root .d1-contact-page { padding-bottom: var(--e-fim) !important; }
:root .d1-contact-header.d1-faixa { margin: var(--e-topo) 0 var(--e-bloco) !important; }
:root .d1-contact-container > .d1-section-title { margin-top: var(--e-secao) !important; margin-bottom: 16px !important; }
:root .d1-contact-container > .d1-section-title:first-child { margin-top: 0 !important; }
:root .d1-contact-container > :last-child { margin-bottom: 0 !important; }
/* Sem divisor e sem caminho vazio no topo das paginas especiais: a faixa fica a 24px do cabecalho */
:root main:has(.d1-calc-container) .container-divider,
:root main:has(.indicar-leilao-wrapper) .container-divider,
:root .container:has(.d1-calc-container) > .sub-nav,
:root .container:has(.indicar-leilao-wrapper) > .sub-nav { display: none !important; }
:root .d1-contact-page { padding-bottom: 0 !important; margin-bottom: var(--e-fim) !important; }

/* 12/10/2026: no modo escuro uma regra antiga pintava um bloco cinza atras do campo e do
   botao da faixa principal (aparecia no vao entre os dois). Na faixa, o fundo e' so' o vidro. */
:root .d1-hero .d1-busca-grande.ai-search-container { background: transparent !important; border: 0 !important; box-shadow: none !important; }
