/* HEADER */
.indusol-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 96px;
  padding: 16px max(24px, calc((100% - 1240px) / 2));
  color: #fff;
  background: #1a3447;
  border-bottom: 4px solid #00b9ed;
}
.indusol-top-header a { color: #fff; }
.indusol-wordmark {
  display: inline-flex;
  flex-direction: column;
  flex-shrink: 0;
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
}
.wordmark-main { color: #fff; font-size: 32px; font-weight: 700; }
.wordmark-sub {
  margin-top: 5px;
  color: #dceaf0;
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

/* MAIN PAGE: SIDEBAR + CONTENT */
.site-page-layout {
  display: grid;
  grid-template-columns: 237px minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  width: calc(100% - 48px);
  max-width: 1240px;
  min-height: 420px;
  margin: 34px auto 60px;
}

.site-page-layout > .network-sidebar,
.network-sidebar {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: #454d50;
  background: #ffffff;
  border: 0;
  border-right: 1px solid #d7dcde;
}

.network-sidebar nav {
  display: block;
}

.network-sidebar ul,
.network-sidebar .main-sidebar-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.network-sidebar li {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.network-sidebar a,
.network-sidebar summary {
  box-sizing: border-box;
  display: block;
  padding: 13px 16px;
  color: #454d50;
  background: transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}

.network-sidebar summary {
  list-style: none;
}

.network-sidebar summary::-webkit-details-marker {
  display: none;
}

.network-sidebar a:hover,
.network-sidebar summary:hover {
  color: #0d607b;
  background: #edf4f6;
  text-decoration: none;
}

.network-sidebar a:focus-visible,
.network-sidebar summary:focus-visible {
  outline: 2px solid #0d607b;
  outline-offset: -2px;
}

.network-sidebar details {
  display: block;
}

/* Highlight expanded sections and marked current-page links. */
.network-sidebar details[open] > summary,
.network-sidebar a[aria-current="page"],
.network-sidebar li.active > a,
.network-sidebar li.current > a,
.network-sidebar li.is-active > a,
.network-sidebar a.active,
.network-sidebar a.current {
  color: #ffffff;
  background: #0d607b;
}

.network-sidebar details ul,
.network-sidebar .sidebar-submenu,
.network-sidebar .sidebar-network-links,
.network-sidebar .sidebar-product-links {
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #ffffff;
}

.network-sidebar details ul a,
.network-sidebar .sidebar-submenu a,
.network-sidebar .sidebar-network-links a,
.network-sidebar .sidebar-product-links a {
  padding: 9px 16px 9px 32px;
  color: #525b5f;
  font-size: 13px;
  font-weight: 400;
}

.network-sidebar details ul a:hover {
  color: #0d607b;
  background: #edf4f6;
}

.network-sidebar .sidebar-products-content {
  padding: 10px 0;
  background: #ffffff;
}

.network-sidebar .sidebar-products-intro {
  margin: 10px 16px 6px;
  color: #697479;
  font-size: 12px;
  line-height: 1.5;
}

.network-sidebar .sidebar-note {
  padding: 9px 16px;
  color: #697479;
  font-size: 12px;
  line-height: 1.5;
}

/* The reference has no separate Navigation heading. */
.network-sidebar .sidebar-heading {
  display: none;
}

/* Style existing icons without adding an icon library. */
.network-sidebar a > i,
.network-sidebar summary > i,
.network-sidebar a > .icon,
.network-sidebar summary > .icon {
  display: inline-block;
  width: 22px;
  margin-right: 8px;
  color: #c2c8cb;
  text-align: center;
}

.network-sidebar details[open] > summary > i,
.network-sidebar details[open] > summary > .icon,
.network-sidebar a[aria-current="page"] > i,
.network-sidebar a[aria-current="page"] > .icon {
  color: #ffffff;
}

.site-page-layout > main.site-main {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  background: #fff;
}

/* FOOTER */
.indusol-footer {
  display: block;
  width: 100%;
  padding: 42px 24px 0;
  color: #d0dfe6;
  background: #1a3447;
  border-top: 4px solid #00b9ed;
}
.indusol-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.indusol-footer h2,
.indusol-footer h3,
.indusol-footer h4 { margin-top: 0; color: #fff; font-size: 16px; }
.indusol-footer p,
.indusol-footer li { color: #d0dfe6; font-size: 13px; }
.indusol-footer a { color: #fff; }
.indusol-footer ul { margin: 0; padding-left: 18px; }
.indusol-footer__bottom {
  margin: 28px -24px 0;
  padding: 16px 24px;
  color: #d0dfe6;
  background: #122937;
  font-size: 12px;
  text-align: center;
}

/* MOBILE */
@media (max-width: 760px) {
  .indusol-top-header { flex-wrap: wrap; padding: 18px 20px; }
  .wordmark-main { font-size: 28px; }
  .site-page-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: calc(100% - 32px);
    margin: 22px auto 38px;
  }
  .site-page-layout > .network-sidebar,
  .site-page-layout > main.site-main { width: 100%; }
  .indusol-footer__inner { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 460px) {
  .indusol-footer__inner { grid-template-columns: 1fr; }
}


/* BEGIN LEFT RAIL LAYOUT OVERRIDE */

:root {
  --rail-width: 237px;
  --header-cyan: #35c1eb;
  --page-background: #edf1f2;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--page-background);
}

/* Cyan header to the right of the fixed sidebar. */
.indusol-top-header {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: auto;
  max-width: none;
  min-height: 145px;
  margin: 0 0 0 var(--rail-width);
  padding: 28px 40px;
  color: #ffffff;
  background: var(--header-cyan);
  border: 0;
}

.indusol-top-header a,
.indusol-top-header .wordmark-main,
.indusol-top-header .wordmark-sub {
  color: #ffffff;
}

/* Remove the centred two-column page container. */
.site-page-layout {
  display: block;
  box-sizing: border-box;
  width: auto;
  max-width: none;
  min-height: calc(100vh - 225px);
  margin: 0 0 0 var(--rail-width);
  padding: 40px;
  background: var(--page-background);
}

/* Full-height fixed left navigation. */
.site-page-layout > .network-sidebar,
.network-sidebar {
  position: fixed;
  z-index: 100;
  inset: 0 auto 0 0;
  box-sizing: border-box;
  display: block;
  width: var(--rail-width);
  height: 100vh;
  height: 100dvh;
  margin: 0;
  padding: 18px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #454d50;
  background: #ffffff;
  border: 0;
  border-right: 1px solid #d7dcde;
}

.network-sidebar .sidebar-heading {
  display: none;
}

.network-sidebar .main-sidebar-menu > li > a,
.network-sidebar .main-sidebar-menu > li > details > summary {
  min-height: 45px;
  padding: 13px 16px;
}

/* Content surface. */
.site-page-layout > main.site-main {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 28px 32px;
  color: #35444b;
  background: #ffffff;
}

/* Compact white footer instead of the dark multi-column block. */
.indusol-footer {
  box-sizing: border-box;
  width: auto;
  margin: 0 0 0 var(--rail-width);
  padding: 14px 40px;
  color: #67757b;
  background: #ffffff;
  border: 0;
  border-top: 1px solid #dce3e6;
}

.indusol-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 28px;
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Hide expanded link lists; their HTML is retained. */
.indusol-footer__inner ul {
  display: none;
}

.indusol-footer h2,
.indusol-footer h3,
.indusol-footer h4 {
  margin: 0 0 5px;
  color: #45565f;
  font-size: 12px;
}

.indusol-footer p,
.indusol-footer li,
.indusol-footer a {
  color: #67757b;
  font-size: 12px;
  line-height: 1.5;
}

.indusol-footer p {
  margin: 3px 0;
}

.indusol-footer__bottom {
  margin: 8px 0 0;
  padding: 8px 0 0;
  color: #67757b;
  background: transparent;
  border-top: 1px solid #edf0f2;
  font-size: 11px;
  text-align: left;
}

/* On small screens, restore normal flow to avoid overlap. */
@media (max-width: 760px) {
  .indusol-top-header {
    min-height: 100px;
    margin-left: 0;
    padding: 20px;
  }

  .site-page-layout {
    display: block;
    width: 100%;
    margin: 0;
    padding: 16px;
  }

  .site-page-layout > .network-sidebar,
  .network-sidebar {
    position: static;
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0 0 20px;
    padding: 0;
    overflow: visible;
    border: 1px solid #d7dcde;
  }

  .site-page-layout > main.site-main {
    padding: 20px;
  }

  .indusol-footer {
    margin-left: 0;
    padding: 14px 20px;
  }
}

/* END LEFT RAIL LAYOUT OVERRIDE */


/* BEGIN SIDEBAR LOGO PLACEHOLDER */
.site-page-layout > .network-sidebar,
.network-sidebar {
  padding-top: 0;
}

.network-sidebar .sidebar-logo-placeholder {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 145px;
  padding: 20px 12px;
  background: #ffffff;
  border-bottom: 1px solid #e2e7e9;
  text-align: center;
}

.network-sidebar .sidebar-logo-placeholder__name {
  color: #39bce2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 38px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}

.network-sidebar .sidebar-logo-placeholder__subtitle {
  color: #71828a;
  font-size: 10px;
  letter-spacing: 1.4px;
}

.network-sidebar .sidebar-logo-placeholder__tagline {
  margin-top: 6px;
  color: #39bce2;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
}

@media (max-width: 760px) {
  .network-sidebar .sidebar-logo-placeholder {
    min-height: 110px;
  }
}
/* END SIDEBAR LOGO PLACEHOLDER */


/* BEGIN SIDEBAR FLYOUT CARD */

@media (min-width: 761px) {
  /* Keep the open panel out of the sidebar's normal flow. */
  .network-sidebar details[open] > .sidebar-products-content {
    position: fixed;
    z-index: 200;
    top: 145px;
    left: var(--rail-width, 237px);
    box-sizing: border-box;
    display: block;
    width: 440px;
    max-width: calc(100vw - var(--rail-width, 237px) - 20px);
    max-height: calc(100vh - 165px);
    max-height: calc(100dvh - 165px);
    margin: 0;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: #35444b;
    background: rgba(255, 255, 255, .97);
    border: 1px solid #e0e6e9;
    border-left: 3px solid #35c1eb;
    border-radius: 0 6px 6px 0;
    box-shadow: 8px 10px 30px rgba(20, 50, 65, .18);
    backdrop-filter: blur(8px);
  }

  /* The selected menu item stays in the left rail. */
  .network-sidebar details[open] > summary {
    color: #ffffff;
    background: #0d607b;
  }

  .network-sidebar details > summary {
    position: relative;
    padding-right: 32px;
  }

  .network-sidebar details > summary::after {
    content: "\203A";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    line-height: 1;
  }

  .network-sidebar details[open] > summary::after {
    content: "\2039";
  }

  .network-sidebar .sidebar-products-content h2,
  .network-sidebar .sidebar-products-content h3,
  .network-sidebar .sidebar-products-content h4 {
    margin: 0 0 14px;
    color: #1a3447;
    line-height: 1.35;
  }

  .network-sidebar .sidebar-products-content h2 {
    font-size: 22px;
  }

  .network-sidebar .sidebar-products-content h3 {
    font-size: 17px;
  }

  .network-sidebar .sidebar-products-content .sidebar-products-intro {
    margin: 16px 0 8px;
    color: #66767e;
    font-size: 13px;
    line-height: 1.6;
  }

  .network-sidebar details .sidebar-products-content ul {
    margin: 0 0 16px;
    padding: 0;
    background: transparent;
    list-style: none;
  }

  .network-sidebar .sidebar-products-content li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf1f3;
  }

  .network-sidebar details .sidebar-products-content ul a {
    display: block;
    margin: 0;
    padding: 11px 12px;
    color: #35515f;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
  }

  .network-sidebar details .sidebar-products-content ul a:hover,
  .network-sidebar details .sidebar-products-content ul a:focus-visible {
    color: #0d607b;
    background: #edf8fc;
  }
}

/* On mobile, retain the expandable inline menu. */
@media (max-width: 760px) {
  .network-sidebar details[open] > .sidebar-products-content {
    position: static;
    width: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 16px;
    overflow: visible;
    background: #ffffff;
    border: 0;
    box-shadow: none;
  }
}

/* END SIDEBAR FLYOUT CARD */


/* BEGIN LIGHT COMPACT FLYOUT */

.network-sidebar details[open] > .sidebar-products-content {
  box-sizing: border-box;
  color: #354b56;
  background: rgba(255, 255, 255, .80);
  border: 1px solid rgba(210, 222, 228, .85);
  border-left: 2px solid #35c1eb;
  border-radius: 0 5px 5px 0;
  box-shadow: 6px 8px 24px rgba(25, 55, 70, .13);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.network-sidebar details[open] > summary {
  color: #ffffff;
  background: #0d607b;
}

.network-sidebar details .sidebar-products-content h2,
.network-sidebar details .sidebar-products-content h3,
.network-sidebar details .sidebar-products-content h4 {
  margin: 0 0 12px;
  color: #234857;
  line-height: 1.35;
}

.network-sidebar details .sidebar-products-content h2 {
  font-size: 19px;
}

.network-sidebar details .sidebar-products-content h3 {
  font-size: 15px;
}

.network-sidebar details .sidebar-products-content p,
.network-sidebar details .sidebar-products-content .sidebar-products-intro {
  margin: 12px 0 8px;
  color: #566b75;
  font-size: 12px;
  line-height: 1.6;
}

.network-sidebar details .sidebar-products-content ul {
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  list-style: none;
}

.network-sidebar details .sidebar-products-content li {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(40, 90, 110, .10);
}

.network-sidebar details .sidebar-products-content a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 10px;
  color: #35515f;
  background: transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.network-sidebar details .sidebar-products-content a:hover,
.network-sidebar details .sidebar-products-content a:focus-visible {
  color: #0d607b;
  background: rgba(53, 193, 235, .13);
}

.network-sidebar details .sidebar-products-content a:focus-visible {
  outline: 2px solid #35c1eb;
  outline-offset: -2px;
}

.network-sidebar .profibus-logo-placeholder {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 32px;
  color: #70818a;
  background: rgba(255, 255, 255, .85);
  border: 1px dashed #a7bac4;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .5px;
}

@media (min-width: 761px) {
  .network-sidebar details[open] > .sidebar-products-content {
    position: fixed;
    z-index: 200;
    top: 145px;
    left: var(--rail-width, 237px);
    display: block;
    width: 320px;
    max-width: calc(100vw - var(--rail-width, 237px) - 16px);
    max-height: calc(100vh - 165px);
    max-height: calc(100dvh - 165px);
    margin: 0;
    padding: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #afc4ce transparent;
  }
}

@media (max-width: 760px) {
  .network-sidebar details[open] > .sidebar-products-content {
    position: static;
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 16px;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }
}

/* END LIGHT COMPACT FLYOUT */


/* BEGIN UNIFIED FULL HEIGHT FLYOUT */

.network-sidebar details .sidebar-products-content .sidebar-note {
  padding: 10px;
  color: #657983;
  font-size: 12px;
  line-height: 1.6;
  background: transparent;
}

.network-sidebar .profibus-logo-placeholder {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 32px;
  margin-right: 8px;
  color: #70818a;
  background: rgba(255, 255, 255, .85);
  border: 1px dashed #a7bac4;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
}

@media (min-width: 761px) {
  .network-sidebar details[open] > .sidebar-products-content {
    position: fixed;
    z-index: 200;
    top: 145px;
    bottom: 0;
    left: var(--rail-width, 237px);
    box-sizing: border-box;
    display: block;
    width: 320px;
    max-width: calc(100vw - var(--rail-width, 237px) - 16px);
    height: calc(100vh - 145px);
    height: calc(100dvh - 145px);
    max-height: none;
    margin: 0;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: #354b56;
    background: rgba(255, 255, 255, .80);
    border: 1px solid rgba(210, 222, 228, .85);
    border-left: 2px solid #35c1eb;
    border-radius: 0;
    box-shadow: 6px 0 24px rgba(25, 55, 70, .13);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

/* END UNIFIED FULL HEIGHT FLYOUT */


/* BEGIN TWO COLUMN NETWORK DESIGN */

/* Headings and explanatory text. */
.network-sidebar details .sidebar-products-content h3 {
  margin: 0 0 12px;
  padding-bottom: 12px;
  color: #234857;
  border-bottom: 1px solid rgba(45, 95, 115, .12);
  font-size: 19px;
  font-weight: 600;
}

.network-sidebar details .sidebar-products-content h4 {
  margin: 16px 0 10px;
  color: #3b5968;
  font-size: 14px;
}

.network-sidebar details .sidebar-products-content .sidebar-products-intro {
  margin: 16px 0 12px;
  color: #657b86;
  font-size: 12px;
  line-height: 1.6;
}

/* Network cards: two items per row. */
.network-sidebar details .sidebar-products-content ul.sidebar-network-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 20px;
  padding: 0;
  background: transparent;
}

.network-sidebar details .sidebar-products-content
ul.sidebar-network-links > li {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.network-sidebar details .sidebar-products-content
ul.sidebar-network-links > li > a {
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 96px;
  margin: 0;
  padding: 14px 8px;
  color: #31586b;
  background: rgba(255, 255, 255, .88);
  border: 1px solid #dce8ed;
  border-radius: 9px;
  box-shadow: 0 2px 7px rgba(30, 75, 95, .05);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
  transition: background-color .15s ease,
              border-color .15s ease,
              box-shadow .15s ease;
}

.network-sidebar details .sidebar-products-content
ul.sidebar-network-links > li > a:hover,
.network-sidebar details .sidebar-products-content
ul.sidebar-network-links > li > a:focus-visible {
  color: #086b91;
  background: #effaff;
  border-color: #35c1eb;
  box-shadow: 0 4px 12px rgba(30, 130, 170, .12);
}

.network-sidebar .sidebar-network-links .profibus-logo-placeholder {
  flex: 0 0 auto;
  margin-right: 0;
}

/* Softer ordinary list links. */
.network-sidebar details .sidebar-products-content
ul.sidebar-product-links a {
  border-radius: 5px;
}

/* Desktop flyout: gap below header and above screen bottom. */
@media (min-width: 761px) {
  .network-sidebar details[open] > .sidebar-products-content {
    top: 165px;
    bottom: 16px;
    left: var(--rail-width, 237px);
    width: 320px;
    height: calc(100vh - 181px);
    height: calc(100dvh - 181px);
    max-height: none;
    padding: 20px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(205, 222, 230, .9);
    border-top: 3px solid #35c1eb;
    border-radius: 0 12px 12px 0;
    box-shadow: 8px 10px 28px rgba(25, 65, 85, .13);
  }
}

/* END TWO COLUMN NETWORK DESIGN */


/* BEGIN FINAL PANEL SPACING */
@media (min-width: 761px) {
  .network-sidebar details[open] > .sidebar-products-content {
    top: 149px;
    bottom: 0;
    height: calc(100vh - 149px);
    height: calc(100dvh - 149px);
    max-height: none;
    margin: 0;
    border-radius: 0 8px 0 0;
  }
}
/* END FINAL PANEL SPACING */

/* BEGIN FINAL FULL HEIGHT PANEL */
@media (min-width: 761px) {
  .network-sidebar details[open] > .sidebar-products-content {
    position: fixed;
    top: 149px;
    bottom: 0;
    left: var(--rail-width, 237px);
    box-sizing: border-box;
    width: 320px;
    height: calc(100vh - 149px);
    height: calc(100dvh - 149px);
    max-height: none;
    margin: 0;
    overflow-y: auto;
    border-radius: 0 8px 0 0;
  }
}
/* END FINAL FULL HEIGHT PANEL */


/* BEGIN VISIBLE CAROUSEL AND COMPACT FOOTER */

.site-main .is-carousel {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 30px;
}

/* Equal article and image areas. */
@media (min-width: 761px) {
  .site-main .is-carousel .is-carousel__slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 360px;
  }
}

.site-main .is-carousel .is-carousel__slide[hidden] {
  display: none;
}

.site-main .is-carousel .is-carousel__copy,
.site-main .is-carousel .is-carousel__visual {
  box-sizing: border-box;
  min-width: 0;
}

.site-main .is-carousel .is-carousel__visual {
  align-self: stretch;
  min-height: 300px;
}

/* Compact single-line desktop footer. */
.indusol-footer {
  box-sizing: border-box;
  width: auto;
  margin: 0 0 0 var(--rail-width, 237px);
  padding: 12px 30px;
  color: #6a7a82;
  background: #ffffff;
  border: 0;
  border-top: 1px solid #dce6eb;
}

.indusol-footer .indusol-footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.indusol-footer .indusol-footer-line nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.indusol-footer .indusol-footer-line a {
  color: #526b78;
  font-size: 12px;
  text-decoration: none;
}

.indusol-footer .indusol-footer-line a:hover {
  color: #0d789d;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .site-main .is-carousel .is-carousel__slide {
    grid-template-columns: 1fr;
  }

  .indusol-footer {
    margin-left: 0;
    padding: 12px 16px;
  }

  .indusol-footer .indusol-footer-line,
  .indusol-footer .indusol-footer-line nav {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}

/* END VISIBLE CAROUSEL AND COMPACT FOOTER */


/* BEGIN RESTORED HOME CONTAINER */

/* Preserve the fixed left sidebar and restore the content gutter. */
.site-page-layout {
  display: block;
  box-sizing: border-box;
  width: auto;
  max-width: none;
  margin: 0 0 0 var(--rail-width, 237px);
  padding: 40px;
}

/* Centred container, rather than a full-width content surface. */
.site-page-layout > main.site-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

/* The carousel fills only the content container. */
.site-main .is-carousel,
.site-main .image-content-carousel {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
  border: 1px solid #dce6eb;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(25, 65, 85, .05);
}

/* Both carousel versions retain equal article and image columns. */
.is-carousel .is-carousel__slide,
.image-content-carousel .image-content-carousel__slide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
}

.is-carousel .is-carousel__slide[hidden] {
  display: none;
}

.image-content-carousel .image-content-carousel__content {
  grid-column: 1;
  grid-row: 1;
  box-sizing: border-box;
  min-width: 0;
  padding: 36px;
}

.image-content-carousel .image-content-carousel__image {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-width: 0;
  min-height: 360px;
  overflow: hidden;
  background: #dff5fb;
}

.image-content-carousel .image-content-carousel__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .site-page-layout {
    width: 100%;
    margin: 0;
    padding: 16px;
  }

  .is-carousel .is-carousel__slide,
  .image-content-carousel .image-content-carousel__slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .image-content-carousel .image-content-carousel__content {
    grid-column: 1;
    grid-row: 1;
    padding: 24px;
  }

  .image-content-carousel .image-content-carousel__image {
    grid-column: 1;
    grid-row: 2;
    min-height: 220px;
  }
}

/* END RESTORED HOME CONTAINER */


/* BEGIN WIDER CONTENT CONTAINER */

.site-page-layout {
  padding: 40px;
}

.site-page-layout > main.site-main {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Remove any narrower limit inside the home template. */
.site-main .home,
.site-main .home__section,
.site-main .home__section > .container {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 760px) {
  .site-page-layout {
    padding: 16px;
  }
}

/* END WIDER CONTENT CONTAINER */


/* BEGIN HOME WELCOME CONTAINER */

/* Apply the separate white surface only below the layout carousel. */
.site-main:has(> .is-carousel) > .page-content-container,
.site-main:has(> .image-content-carousel) > .page-content-container {
  box-sizing: border-box;
  width: 100%;
  margin-top: 20px;
  padding: 30px 32px;
  color: #354b56;
  background: #ffffff;
  border: 1px solid #dce6eb;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(25, 65, 85, .04);
}

/* Use a single gap instead of adding carousel and container margins. */
.site-main > .is-carousel,
.site-main > .image-content-carousel {
  margin-bottom: 0;
}

.page-content-container h1,
.page-content-container h2 {
  line-height: 1.3;
}

.page-content-container p {
  line-height: 1.7;
}

@media (max-width: 760px) {
  .site-main:has(> .is-carousel) > .page-content-container,
  .site-main:has(> .image-content-carousel) > .page-content-container {
    margin-top: 16px;
    padding: 22px 20px;
  }
}

/* END HOME WELCOME CONTAINER */


/* Original Indu-Sol header logo */
.is-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.is-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.is-brand img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .is-brand img { width: 165px; }
}

/* Smaller header logo */
.is-brand img {
  width: 150px;
  max-height: 48px;
  object-fit: contain;
}
@media (max-width: 600px) {
  .is-brand img {
    width: 120px;
    max-height: 40px;
  }
}


/* Footer logo */
.is-footer__logo {
  display: inline-block;
  margin-bottom: 16px;
}
.is-footer__logo img {
  display: block;
  width: 150px;
  max-height: 48px;
  height: auto;
  object-fit: contain;
}

/* Slightly larger header and footer logos */
.is-header__main .is-brand img,
.is-footer__logo img {
  width: 180px;
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .is-header__main .is-brand img,
  .is-footer__logo img {
    width: 145px;
    max-height: 46px;
  }
}
