/* Ariston knowledge area — light, editorial and locally grounded.
   Loaded after the shared knowledge styles; every rule stays within this brand. */
.kb-ariston [hidden] { display: none !important; }
.kb-ariston [data-ariston-query] {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 12px 0;
  padding: 12px 16px;
  border: 1px solid #aec5ce;
  border-radius: 10px;
  background: #fff;
  color: #183348;
  font: inherit;
  box-sizing: border-box;
}
.kb-ariston {
  --kb-ariston-ink: #183348;
  --kb-ariston-copy: #385164;
  --kb-ariston-muted: #5c7281;
  --kb-ariston-line: #d8e5e9;
  --kb-ariston-paper: #fff;
  --kb-ariston-wash: #f1f7f7;
  --kb-ariston-teal: #176b70;
  --kb-ariston-teal-dark: #10565b;
  --kb-ariston-teal-pale: #e4f2f1;
  --kb-ariston-orange: #b94c13;
  --kb-ariston-orange-dark: #943b0d;
  background: #f1f7f7;
  color: var(--kb-ariston-ink);
}

.kb-ariston *,
.kb-ariston *::before,
.kb-ariston *::after {
  box-sizing: border-box;
}

.kb-ariston img {
  max-width: 100%;
}

.kb-ariston a:focus-visible,
.kb-ariston button:focus-visible,
.kb-ariston input:focus-visible,
.kb-ariston select:focus-visible,
.kb-ariston summary:focus-visible {
  outline: 3px solid #a94310;
  outline-offset: 3px;
  border-radius: 3px;
}

/* Keep the site's recognizable service masthead while tinting it for Ariston. */
.kb-ariston .kb-nav {
  background: #17374b;
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 4px 18px rgba(23, 55, 75, .12);
}

.kb-ariston .kb-nav-links a::after {
  background: #8cc9c5;
}

.kb-ariston .kb-logo span {
  color: #a9d9d5;
}

.kb-ariston .kb-phone {
  border-color: rgba(169, 217, 213, .52);
}

.kb-ariston .kb-phone:hover {
  border-color: #a9d9d5;
  background: rgba(169, 217, 213, .12);
  color: #d5efed;
}

/* Airy pale hero with restrained teal rings rather than the dark editorial skin. */
.kb-ariston .kb-article-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 86px) 0 clamp(55px, 7.6vw, 91px);
  border-bottom: 1px solid #dce9e9;
  background:
    radial-gradient(ellipse at 87% 18%, rgba(102, 177, 169, .14), transparent 32%),
    linear-gradient(118deg, #edf6f5 0%, #f8fbfa 64%, #e8f3f1 100%);
  color: var(--kb-ariston-ink);
}

.kb-ariston .kb-article-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 107, 112, .10) .7px, transparent .7px);
  background-size: 24px 24px;
  content: "";
  opacity: .28;
  pointer-events: none;
}

.kb-ariston .kb-article-hero::after {
  position: absolute;
  right: max(4vw, calc((100vw - 1160px) / 2));
  bottom: -220px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(23, 107, 112, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(23, 107, 112, .035), 0 0 0 86px rgba(23, 107, 112, .025);
  content: "";
  pointer-events: none;
}

.kb-ariston .kb-article-hero > .container,
.kb-ariston .kb-hero-layout {
  position: relative;
  z-index: 1;
}

.kb-ariston .kb-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(230px, .75fr);
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
}

.kb-ariston .kb-hero-copy {
  min-width: 0;
}

.kb-ariston .kb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--kb-ariston-teal-dark);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.kb-ariston .kb-eyebrow::before {
  width: 22px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--kb-ariston-teal);
  content: "";
}

.kb-ariston .kb-article-hero h1,
.kb-ariston .kb-hero-copy h1 {
  max-width: 830px;
  margin: 0;
  color: #183348;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.kb-ariston .kb-hero-summary {
  max-width: 690px;
  margin: 20px 0 0;
  color: #435d6d;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-hero-domain {
  margin: 20px 0 0;
  color: var(--kb-ariston-muted);
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-hero-domain a {
  color: var(--kb-ariston-teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kb-ariston .kb-hero-domain a:hover {
  color: var(--kb-ariston-orange-dark);
}

.kb-ariston .kb-hero-actions,
.kb-ariston .kb-help-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 24px;
}

/* Orange is reserved for the direct service action; informational links stay teal. */
.kb-ariston .kb-button,
.kb-ariston .kb-button-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
  white-space: normal;
}

.kb-ariston .kb-button {
  background: #a8420e;
  color: #fff;
}

.kb-ariston .kb-button:hover {
  background: #88350b;
  color: #fff;
  transform: translateY(-1px);
}

.kb-ariston .kb-button-secondary {
  border-color: #8daeb0;
  background: rgba(255, 255, 255, .58);
  color: #174e55;
}

.kb-ariston .kb-button-secondary:hover {
  border-color: #176b70;
  background: #e4f2f1;
  color: #104c51;
  transform: translateY(-1px);
}

.kb-ariston .kb-hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbdedd;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #edf6f4);
  box-shadow: 0 18px 42px rgba(31, 72, 79, .10);
}

.kb-ariston .kb-code-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 19px;
  border-bottom: 1px solid #dce9e7;
  color: #4e6975;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.kb-ariston .kb-code-brand::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kb-ariston-teal);
  content: "";
}

.kb-ariston .kb-error-code {
  display: block;
  padding: 20px 20px 0;
  color: var(--kb-ariston-teal-dark);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-hero-visual > p {
  margin: 8px 20px 22px;
  color: #425b6a;
  font-size: .92rem;
  line-height: 1.7;
}

.kb-ariston .kb-hero-visual > p span {
  color: #5a7180;
}

.kb-ariston .kb-hero-visual figure {
  margin: 0;
  padding: 12px;
}

.kb-ariston .kb-hero-visual figure img {
  width: 100%;
  max-height: 310px;
  border-radius: 8px;
  background: #f2f7f6;
  object-fit: contain;
}

.kb-ariston .kb-hero-visual figcaption {
  padding: 10px 4px 0;
  color: #5c7281;
  font-size: .8rem;
  line-height: 1.55;
}

/* Generous reading column with calm, high-contrast documentation surfaces. */
.kb-ariston .kb-main.container {
  padding-top: clamp(26px, 4vw, 42px);
  padding-bottom: clamp(58px, 8vw, 90px);
}

.kb-ariston .kb-main > nav,
.kb-ariston .kb-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: #5c7281;
  font-size: .83rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-main > nav a,
.kb-ariston .kb-breadcrumb a {
  color: #17636a;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(23, 99, 106, .3);
  text-underline-offset: 3px;
}

.kb-ariston .kb-main > nav a:hover,
.kb-ariston .kb-breadcrumb a:hover {
  color: var(--kb-ariston-orange-dark);
  text-decoration-color: currentColor;
}

.kb-ariston .kb-article-layout {
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: clamp(24px, 4.5vw, 54px);
}

.kb-ariston .kb-article-layout article.kb-article {
  min-width: 0;
  padding: clamp(24px, 4.5vw, 52px);
  border: 1px solid var(--kb-ariston-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(24, 51, 72, .055);
  color: var(--kb-ariston-ink);
}

.kb-ariston .kb-article > header {
  margin-bottom: 30px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--kb-ariston-line);
}

.kb-ariston .kb-article h1 {
  color: #183348;
  font-family: 'Poppins', sans-serif;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-article > header p {
  color: #506879;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-article section {
  scroll-margin-top: 24px;
}

.kb-ariston .kb-article section h2,
.kb-ariston .kb-article section h3 {
  color: #1b394e;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-article section p,
.kb-ariston .kb-article section li {
  color: #385164;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-article section strong {
  color: #203c50;
}

.kb-ariston .kb-article section a {
  color: #075e68;
  text-decoration-color: rgba(7, 94, 104, .38);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.kb-ariston .kb-article section a:hover {
  color: #943b0d;
}

.kb-ariston .kb-article section ul li::marker {
  color: #176b70;
}

.kb-ariston .kb-meta {
  color: #5c7281;
}

.kb-ariston .kb-model-documents {
  margin: 22px 0 30px;
  padding: clamp(19px, 3vw, 27px);
  border: 1px solid #d2e3e1;
  border-radius: 11px;
  background: #f0f7f6;
}

.kb-ariston .kb-model-documents h2 {
  margin-top: 0;
  color: #1b394e;
}

.kb-ariston .kb-model-documents p,
.kb-ariston .kb-model-documents li {
  overflow-wrap: anywhere;
}

.kb-ariston .kb-model-documents a,
.kb-ariston .kb-article .kb-model-documents a {
  color: #075e68;
  text-decoration: underline;
  text-decoration-color: rgba(7, 94, 104, .38);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.kb-ariston .kb-model-documents a:hover,
.kb-ariston .kb-article .kb-model-documents a:hover {
  color: #943b0d;
}

.kb-ariston .kb-article .kb-answer {
  border-color: #c4dfdf;
  border-left-color: #176b70;
  background: #edf7f6;
}

.kb-ariston .kb-article .kb-warning {
  border-color: #e6c8b4;
  border-left-color: #a8420e;
  background: #fff7f0;
}

.kb-ariston .kb-article .kb-warning strong {
  color: #81350f;
}

.kb-ariston .kb-toc {
  border-color: #d8e5e9;
  background: #f3f8f8;
}

.kb-ariston .kb-toc h2,
.kb-ariston .kb-toc h3 {
  color: #1b394e;
}

.kb-ariston .kb-toc li,
.kb-ariston .kb-toc a {
  color: #075e68;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-toc a:hover {
  color: #943b0d;
}

.kb-ariston .kb-introduction {
  padding: 20px 22px;
  border-left: 3px solid #176b70;
  border-radius: 0 9px 9px 0;
  background: #edf6f5;
}

.kb-ariston .kb-introduction p:last-child {
  margin-bottom: 0;
}

.kb-ariston .kb-article #tunetek {
  padding: 20px 22px;
  border: 1px solid #d8e5e9;
  border-radius: 10px;
  background: #f4f8f8;
}

.kb-ariston .kb-figures figure {
  border-color: var(--kb-ariston-line);
  background: #f1f7f7;
}

.kb-ariston .kb-figures figcaption {
  color: #5c7281;
}

.kb-ariston .kb-author {
  display: block;
  border-top-color: #176b70;
  background: #f0f6f6;
}

.kb-ariston .kb-author h2,
.kb-ariston .kb-author h3,
.kb-ariston .kb-author strong {
  color: #203c50;
}

.kb-ariston .kb-author p {
  color: #526979;
}

.kb-ariston .kb-author h2 {
  margin-bottom: 12px;
}

.kb-ariston .kb-author p + p {
  margin-top: 10px;
}

.kb-ariston .kb-sidebar > section,
.kb-ariston .kb-sidebar > div {
  border-color: var(--kb-ariston-line);
  background: #fff;
  box-shadow: 0 5px 17px rgba(24, 51, 72, .045);
}

.kb-ariston .kb-sidebar h2,
.kb-ariston .kb-sidebar h3 {
  color: #183348;
}

.kb-ariston .kb-sidebar p,
.kb-ariston .kb-sidebar li {
  color: #455e6e;
}

.kb-ariston .kb-sidebar a {
  color: #075e68;
}

.kb-ariston .kb-sidebar a:hover {
  color: #943b0d;
}

.kb-ariston .kb-sidebar a.kb-button,
.kb-ariston .kb-sidebar a.kb-button:hover {
  color: #fff;
}

.kb-ariston .kb-pro-block {
  padding: 20px;
  border-left: 3px solid #176b70;
  border-radius: 0 9px 9px 0;
  background: #edf6f5;
}

.kb-ariston .kb-pro-block h2 {
  color: #1b394e;
}

.kb-ariston .kb-pro-block p {
  color: #405c6d;
}

.kb-ariston .kb-pro-block .kb-button-secondary,
.kb-ariston .kb-help-actions .kb-button-secondary {
  border-color: #91aeb0;
  background: #fff;
  color: #174e55;
}

.kb-ariston .kb-pro-block .kb-button-secondary:hover,
.kb-ariston .kb-help-actions .kb-button-secondary:hover {
  border-color: #176b70;
  background: #e4f2f1;
  color: #104c51;
}

.kb-ariston .kb-diagnosis {
  padding: 22px;
  border: 1px solid #d8e5e9;
  border-radius: 10px;
  background: #f2f7f7;
}

.kb-ariston .kb-diagnosis-card {
  border-color: #d9e5e8;
  background: #fff;
}

.kb-ariston .kb-diagnosis-card h3 {
  color: #1b394e;
}

.kb-ariston .kb-diagnosis-card p {
  color: #425b6a;
}

.kb-ariston .kb-diagnosis-card a {
  color: #075e68;
}

.kb-ariston .kb-diagnosis-card a:hover {
  color: #943b0d;
}

.kb-ariston .kb-process {
  padding: 23px;
  border: 1px solid #d8e5e9;
  border-radius: 10px;
  background: #f2f7f7;
}

.kb-ariston .kb-process ol > li > span {
  border-color: #b9d9d7;
  background: #e4f2f1;
  color: #145f64;
}

.kb-ariston .kb-process ol > li:not(:last-child)::before {
  background: #cadbdc;
}

.kb-ariston .kb-process ol > li strong {
  color: #203c50;
}

.kb-ariston .kb-process ol > li p {
  color: #4c6473;
}

.kb-ariston .kb-faq details {
  border-color: #d8e5e9;
  background: #fff;
}

.kb-ariston .kb-faq details[open] {
  border-color: #a9cdca;
  box-shadow: 0 5px 14px rgba(21, 68, 73, .06);
}

.kb-ariston .kb-faq summary {
  color: #203c50;
}

.kb-ariston .kb-faq summary::after {
  color: #176b70;
}

.kb-ariston .kb-faq details > p {
  color: #455e6e;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-related h2 {
  color: #183348;
}

.kb-ariston .kb-related .kb-card,
.kb-ariston .kb-card {
  border-color: #d8e5e9;
  background: #fff;
  box-shadow: 0 4px 16px rgba(24, 51, 72, .045);
}

.kb-ariston .kb-card:hover {
  border-color: rgba(23, 107, 112, .42);
  box-shadow: 0 12px 28px rgba(24, 51, 72, .10);
}

.kb-ariston .kb-card h2,
.kb-ariston .kb-card h3 {
  color: #1b394e;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-card p {
  color: #455e6e;
  overflow-wrap: anywhere;
}

.kb-ariston .kb-card a:not(.kb-card-link) {
  color: inherit;
  text-decoration: none;
}

.kb-ariston .kb-card-link {
  color: #075e68;
}

.kb-ariston .kb-card-link:hover {
  color: #943b0d;
}

.kb-ariston .kb-tag {
  background: #e4f2f1;
  color: #145b60;
}

.kb-ariston .kb-cta {
  border: 1px solid #294a5c;
  background: #17374b;
}

.kb-ariston .kb-cta h2,
.kb-ariston .kb-cta h3 {
  color: #f7fbfa;
}

.kb-ariston .kb-cta p {
  color: #d0e0e4;
}

.kb-ariston .kb-cta a:not(.kb-button-secondary),
.kb-ariston .kb-cta .kb-button {
  background: #a8420e;
  color: #fff;
}

.kb-ariston .kb-cta a:not(.kb-button-secondary):hover,
.kb-ariston .kb-cta .kb-button:hover {
  background: #88350b;
  color: #fff;
}

.kb-ariston .kb-cta .kb-button-secondary {
  border-color: #a9c4c9;
  background: transparent;
  color: #edf7f6;
}

.kb-ariston .kb-cta .kb-button-secondary:hover {
  border-color: #d1e7e5;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.kb-ariston .kb-footer {
  background: #102c3e;
  color: #c7d7dd;
}

.kb-ariston .kb-footer a {
  color: #b5dfdb;
}

/* Indexes and article document links share robust wrapping for source URLs. */
.kb-ariston .kb-main p,
.kb-ariston .kb-main li,
.kb-ariston .kb-main h1,
.kb-ariston .kb-main h2,
.kb-ariston .kb-main h3,
.kb-ariston .kb-main a {
  overflow-wrap: anywhere;
}

.kb-ariston .kb-main a[href^="http"] {
  word-break: break-word;
}

@media (max-width: 820px) {
  .kb-ariston .kb-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(205px, .7fr);
    gap: 27px;
  }

  .kb-ariston .kb-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .kb-ariston .kb-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .kb-ariston .kb-article-hero {
    padding: 43px 0 62px;
  }

  .kb-ariston .kb-hero-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .kb-ariston .kb-hero-visual {
    width: min(100%, 520px);
  }

  .kb-ariston .kb-article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .kb-ariston .kb-article-hero {
    padding: 36px 0 49px;
  }

  .kb-ariston .kb-eyebrow {
    margin-bottom: 13px;
    font-size: .67rem;
    letter-spacing: .1em;
  }

  .kb-ariston .kb-article-hero h1,
  .kb-ariston .kb-hero-copy h1 {
    font-size: clamp(1.95rem, 9vw, 2.7rem);
    line-height: 1.13;
  }

  .kb-ariston .kb-hero-summary {
    margin-top: 14px;
    font-size: .95rem;
    line-height: 1.72;
  }

  .kb-ariston .kb-hero-actions,
  .kb-ariston .kb-help-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    margin-top: 18px;
  }

  .kb-ariston .kb-hero-actions .kb-button,
  .kb-ariston .kb-hero-actions .kb-button-secondary,
  .kb-ariston .kb-help-actions .kb-button,
  .kb-ariston .kb-help-actions .kb-button-secondary {
    width: 100%;
  }

  .kb-ariston .kb-main.container {
    padding-top: 21px;
  }

  .kb-ariston .kb-main > nav,
  .kb-ariston .kb-breadcrumb {
    gap: 6px;
    margin-bottom: 18px;
    font-size: .77rem;
  }

  .kb-ariston .kb-article-layout article.kb-article {
    padding: 21px 17px;
    border-radius: 10px;
  }

  .kb-ariston .kb-article section p,
  .kb-ariston .kb-article section li {
    font-size: .95rem;
    line-height: 1.78;
  }

  .kb-ariston .kb-model-documents,
  .kb-ariston .kb-article #tunetek,
  .kb-ariston .kb-introduction,
  .kb-ariston .kb-diagnosis,
  .kb-ariston .kb-process {
    padding: 16px;
  }

  .kb-ariston .kb-sidebar {
    grid-template-columns: 1fr;
  }

  .kb-ariston .kb-footer .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kb-ariston *,
  .kb-ariston *::before,
  .kb-ariston *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
