.icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 0;
}

.icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.icon--small {
  width: 20px;
  height: 20px;
}

.icon--file {
  width: 72px;
  height: 90px;
}

.mgtXL {
  margin-top: 4.5rem;
}

.mgtL {
  margin-top: 3rem;
}

.page-section .mgtM,
.mgtM {
  margin-top: 2rem !important;
}

.mgtZ {
  margin-top: 0 !important;
}

.mgbXL {
  margin-bottom: 4.5rem;
}

.mgbL {
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: 1px solid #000000;
  background: #000000;
  color: #ffffff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  background: #ffffff;
  color: #000000;
}

.align-left {
  text-align: left;
}

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

.align-right {
  text-align: right;
}

.media-zoom {
  overflow: hidden;
}

.media-zoom img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.media-zoom:hover img,
.media-zoom:focus-within img {
  transform: scale(1.05);
}

.media-ratio {
  overflow: hidden;
}

.media-ratio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.media-ratio-2x1 {
  aspect-ratio: 2 / 1;
}

.media-ratio-5x2 {
  aspect-ratio: 5 / 2;
}

.media-ratio-4x1 {
  aspect-ratio: 4 / 1;
}

.media-ratio-8x1 {
  aspect-ratio: 8 / 1;
}

.media-ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.media-ratio-1x1 {
  aspect-ratio: 1 / 1;
}

img {
  display: block;
}


.hero {
  display: grid;
  grid-template-columns: var(--layout-columns);
  align-items: center;
  gap: var(--grid-gap);
  padding-top: 64px;
  padding-bottom: 48px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.hero>div {
  grid-column: col-start 1 / col-end 6;
}

.hero img {
  grid-column: col-start 7 / col-end 12;
  border: 1px solid var(--color-border);
}

.banner {
  position: relative;
  display: grid;
  grid-template-columns: var(--layout-columns);
  column-gap: var(--grid-gap);
  width: 100%;
  color: #ffffff;
  background: #000000;
  overflow: hidden;
}

.banner__media {
  position: absolute;
  inset: 0;
}

.banner--full,
.banner-full {
  grid-column: full-start / full-end;
  width: 100%;
  margin: 0;
}

.banner--page {
  grid-column: full-start / full-end;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
}

.banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 0;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  z-index: 1;
  box-sizing: border-box;
  grid-column: content-start / content-end;
  grid-row: 1;
  height: 100%;
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 600px) {
  .hidden-mobile-title .banner__content {
    display: none !important;
  }
}

.banner__title,
.banner__description {
  margin: 0;
}

.banner__title {
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: pre-line;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.banner__description {
  max-width: 34rem;
  opacity: 0.9;
}

.banner--align-left .banner__content {
  align-items: flex-start;
  text-align: left;
}

.banner--align-center .banner__content {
  align-items: center;
  text-align: center;
}

.banner--align-right .banner__content {
  align-items: flex-end;
  text-align: right;
}

.banner--valign-top .banner__content {
  justify-content: flex-start;
}

.banner--valign-middle .banner__content {
  justify-content: center;
}

.banner--valign-bottom .banner__content {
  justify-content: flex-end;
}

.banner--ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.banner--ratio-2x1 {
  aspect-ratio: 2 / 1;
}

.banner--ratio-5x2 {
  aspect-ratio: 5 / 2;
}

.banner--ratio-4x1 {
  aspect-ratio: 4 / 1;
}

.banner--ratio-8x1 {
  aspect-ratio: 8 / 1;
}

.banner--ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.banner--ratio-1x1 {
  aspect-ratio: 1 / 1;
}

.eyebrow {
  color: var(--color-muted);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.button.ghost {
  background: transparent;
  color: var(--color-accent);
}

.link {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.page-section {
  margin-top: 72px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.product-catalog-banner {
  min-height: 220px;
}

.product-catalog-banner .banner__title {
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-catalog-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-catalog-tabs,
.product-catalog-subcats,
.product-catalog-families {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-catalog-tabs a,
.product-catalog-subcats a,
.product-catalog-families a {
  text-decoration: none;
}

.product-catalog-subcats .search-tabs__label,
.product-catalog-families .search-tabs__label {
  color: var(--color-muted);
  margin-right: 0.25rem;
}

.product-catalog-subcats.search-tabs,
.product-catalog-families.search-tabs {
  margin-top: 0;
  gap: 0.75rem;
}

.product-catalog-subcats.search-tabs a,
.product-catalog-families.search-tabs a {
  padding: 0;
}

.product-catalog-tabs .btn,
.product-catalog-tabs .btn-outline {
  text-decoration: none;
}

.product-catalog-filter-toggle {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-text);
  padding: 0.45rem 0.9rem;
  text-decoration: none;
}

.product-catalog-layout {
  align-items: start;
}

.product-catalog-filters {
  padding: 1rem;
}

.product-catalog-filters form {
  display: grid;
  gap: 0.5rem;
}

.filter-group {
  border: 0;
  margin: 0;
  padding: 0;
}

.filter-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  padding: 0.5rem 0;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary .icon-open {
  display: none;
}

.filter-group[open] summary .icon-open {
  display: block;
}

.filter-group summary .icon-closed {
  display: block;
}

.filter-group[open] summary .icon-closed {
  display: none;
}

.filter-group summary .icon {
  width: 1rem;
  height: 1rem;
}

.filter-group ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem;
  display: grid;
  gap: 0.45rem;
}

.filter-group li label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.filter-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.filter-checkbox {
  width: 12px;
  height: 12px;
  border: 1px solid var(--color-text);
  background: transparent;
  display: inline-block;
  flex: 0 0 12px;
}

.filter-group input[type="checkbox"]:checked+.filter-checkbox {
  background: var(--color-text);
}

.filter-icon {
  width: 24px;
  height: 24px;
  object-fit: cover;
  display: block;
  flex: 0 0 24px;
}

.product-catalog-grid {
  min-width: 0;
}

.product-catalog-grid .card-grid {
  margin-top: 0;
}

.product-catalog-selected-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-catalog-selected-filters--head {
  width: 100%;
}

.selected-filters-title {
  margin-right: 0.5rem;
}

.selected-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  background: #e5e5e5;
  text-decoration: none;
}

.selected-filters-clear {
  margin-left: auto;
  border: 1px solid var(--color-text);
  padding: 0.35rem 0.55rem;
  text-decoration: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: 32px;
}

.card-grid--equal {
  align-items: stretch;
}

.card-grid .colx1 {
  grid-column: span 1 !important;
}

.card-grid .colx2 {
  grid-column: span 2 !important;
}

.card-grid .colx3 {
  grid-column: span 3 !important;
}

.card-grid .colx4 {
  grid-column: span 4 !important;
}

.card-grid .colx5 {
  grid-column: span 5 !important;
}

.card-grid .colx6 {
  grid-column: span 6 !important;
}

.card-grid .colx7 {
  grid-column: span 7 !important;
}

.card-grid .colx8 {
  grid-column: span 8 !important;
}

.card-grid .colx9 {
  grid-column: span 9 !important;
}

.card-grid .colx10 {
  grid-column: span 10 !important;
}

.card-grid .colx11 {
  grid-column: span 11 !important;
}

.card-grid .colx12 {
  grid-column: span 12 !important;
}

@media (max-width: 1000px) {
  .card-grid .colx1m {
    grid-column: span 1 !important;
  }

  .card-grid .colx2m {
    grid-column: span 2 !important;
  }

  .card-grid .colx3m {
    grid-column: span 3 !important;
  }

  .card-grid .colx4m {
    grid-column: span 4 !important;
  }

  .card-grid .colx5m {
    grid-column: span 5 !important;
  }

  .card-grid .colx6m {
    grid-column: span 6 !important;
  }

  .card-grid .colx7m {
    grid-column: span 7 !important;
  }

  .card-grid .colx8m {
    grid-column: span 8 !important;
  }

  .card-grid .colx9m {
    grid-column: span 9 !important;
  }

  .card-grid .colx10m {
    grid-column: span 10 !important;
  }

  .card-grid .colx11m {
    grid-column: span 11 !important;
  }

  .card-grid .colx12m {
    grid-column: span 12 !important;
  }
}

.search-page .card-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

@media (max-width: 799px) {
  .search-page .search-header {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-grid--equal .card-link {
  height: 100%;
}

.card-link:hover,
.card-link:focus-visible {
  text-decoration: none;
}

.search-page .search-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.search-page .search-header h1 {
  margin: 0;
}

.search-summary {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.search-form-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-border);
  padding: 0 0 0 8px;
  background: #ffffff;
}

.search-form-inline input {
  border: 0;
  background: transparent;
  outline: none;
  min-width: 220px;
  flex: 1;
}

.search-form-inline button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
}

.search-tabs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.search-tabs__label {
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.search-tabs a {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 6px;
}

.search-tabs a:hover,
.search-tabs a:focus-visible {
  border-bottom-color: var(--color-text);
  text-decoration: none;
}

.search-tabs a.active {
  border-bottom-color: var(--color-text);
}

.search-section {
  margin-top: 40px;
}

.search-empty {
  margin-top: 32px;
  color: var(--color-muted);
}

.card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  width: 100%;
}

.card-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.card-grid--equal .card-item {
  height: 100%;
}

.card-item__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-item__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 12px;
  background: #ffffff;
}

.card-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.card-item--product .card-item__media {
  aspect-ratio: 1 / 1;
}

.card-link:hover .card-item__media img,
.card-link:focus-visible .card-item__media img {
  transform: scale(1.05);
}

.card-item__category {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.card-item__title {
  margin: 0;
  font-size: 1rem;
}

.card-item__description {
  margin: 0;
  color: var(--color-muted);
}

.card-item__date {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}


.card h3,
.card h4,
.card p {
  margin: 0;
}

.card h4 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--color-muted);
}

.card a {
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.pager__prev,
.pager__next,
.pager__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  color: var(--color-text);
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.pager__prev[aria-disabled="true"],
.pager__next[aria-disabled="true"] {
  opacity: 0.35;
  pointer-events: none;
}

.pager__link.active,
.pager__link[aria-current="page"] {
  border-bottom-color: var(--color-text);
}

.pager__prev:hover,
.pager__prev:focus-visible,
.pager__next:hover,
.pager__next:focus-visible,
.pager__link:hover,
.pager__link:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--color-text);
}


.news-detail .eyebrow {
  margin: 0.5rem 0 0;
}

.news-detail__cover {
  margin: 1.5rem 0;
}

.news-detail .richtext {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.news-detail__pager {
  justify-content: space-between;
  flex-wrap: wrap;
}

.news-detail__back {
  display: block;
  width: max-content;
  margin: 1rem auto 0;
}

.project-detail__cover {
  margin: 1.5rem 0;
}

.project-detail__cover img {
  width: 100%;
  height: auto;
  display: block;
}

.project-detail__description {
  margin: 0 0 1.5rem;
  color: var(--color-muted);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  padding-bottom: 5rem;
}

.project-gallery__item {
  grid-column: span 6;
  display: grid;
  gap: 0.75rem;
}

.project-gallery__item:nth-child(odd) {
  margin-top: 0;
}

.project-gallery__item:nth-child(even) {
  margin-top: 0;
  transform: translateY(5rem);
}

.project-gallery__item img {
  width: 100%;
}

.project-filters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  justify-content: center;
  text-align: center;
}

.project-filters__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--color-muted);
  padding-bottom: 0.2rem;
}

.pill-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.card-link--relative {
  position: relative;
  display: block;
}

.pill-new {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ff0000;
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
  border-radius: 0 0 0 8px;
  /* Assuming only the bottom-left corner is rounded based on the image, or adjust to 0 for all sharp corners */
}

/* Base pill if not already defined globally or adjust as needed */
span.pill {
  display: inline-block;
}

.project-filter__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  border-bottom: 2px solid transparent;
  padding: 0.2rem 0;
  text-decoration: none;
}

.project-filter__link:hover,
.project-filter__link:focus-visible {
  text-decoration: none;
  border-bottom-color: var(--color-text);
}

.project-filter__link.is-active {
  border-bottom-color: var(--color-text);
}

.project-list {
  padding-bottom: 5rem;
}

/* Product Catalog Family Detail */
.product-catalog-family-hero {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 0;
}

.product-catalog-family-hero .family-detail-content {
  display: flex;
  flex-direction: row;
  gap: 5vw;
  margin-bottom: 4rem;
  align-items: center;
  flex-wrap: wrap;
}

.product-catalog-family-hero .family-detail-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.product-catalog-family-hero .family-detail-image img {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.product-catalog-family-hero .family-detail-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.product-catalog-family-hero .family-detail-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 600;
  color: #111;
}

.product-catalog-family-hero .family-detail-text h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #333;
}

.product-catalog-family-hero .family-detail-text .family-detail-desc {
  line-height: 1.8;
  color: #444;
  font-size: 1rem;
  max-width: 600px;
}

.project-list__item:nth-child(even) {
  transform: translateY(5rem);
}

.dialog-trigger {
  cursor: pointer;
}

.dialog {
  width: 90%;
  height: 90%;
  max-width: 90%;
  max-height: 90%;
  padding: 0;
  border: none;
  background: transparent;
  position: fixed;
  inset: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out,
    overlay 0.3s ease-out allow-discrete,
    display 0.3s ease-out allow-discrete;
}

.dialog[open] {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition:
    display 0.3s allow-discrete,
    overlay 0.3s allow-discrete,
    opacity 0.3s ease-out;
}

.dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .dialog[open] {
    opacity: 0;
    transform: scale(0.95);
  }
}

@starting-style {
  .dialog[open]::backdrop {
    opacity: 0;
  }
}

.dialog img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.dialog .dialog-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.dialog-body {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
}

.dialog[data-dialog="quote"] {
  width: 90%;
  max-width: 1000px;
  height: auto;
  max-height: 90vh;
  overflow: visible;
}

.dialog[data-dialog="quote"] .dialog-body {
  height: auto;
  max-height: 90vh;
  padding: 3.5rem 2rem;
  background-color: #ffffff;
  border-radius: 8px;
}

.dialog[data-dialog="quote"] .dialog-close {
  top: -3rem;
  right: -1rem;
  color: #c9c9c9;
  border: none;
  font-size: 2.5rem;
}

.dialog[data-dialog="quote"] .dialog-close:hover {
  color: #ffffff;
}

.hs-form-html {
  min-height: 100%;
}

html.dialog-open,
body.dialog-open {
  overflow: hidden;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  align-items: start;
}

.contact-sidebar {
  grid-column: span 3;
  display: grid;
  gap: 1rem;
}

.contact-form-panel {
  grid-column: span 9;
}

.contact-form .hsfc-Step__Content {
  padding: 0 !important;
}

.contact-block h3 {
  margin: 0 0 0.5rem;
}

.contact-block p {
  margin: 0;
  color: var(--color-muted);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.news-list__filters {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

.news-list__types,
.news-list__sort {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.news-list__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.news-list__types a,
.news-list__sort a {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.news-list__types a.is-active,
.news-list__sort a.is-active {
  border-bottom-color: var(--color-text);
}

.news-list__types a:hover,
.news-list__types a:focus-visible,
.news-list__sort a:hover,
.news-list__sort a:focus-visible {
  text-decoration: none;
}

.news-list__items {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}

.news-list__item {
  display: grid;
  grid-template-columns: minmax(0, 520px) 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.news-list__content {
  display: grid;
  gap: 0.75rem;
}

.news-list__meta {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.news-list__title {
  margin: 0;
}

.news-list__title a {
  text-decoration: none;
}

.news-list__excerpt {
  margin: 0;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list__read {
  display: inline-flex;
  align-items: center;
  width: max-content;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.news-list__item:hover .news-list__read,
.news-list__item:focus-within .news-list__read {
  border-bottom-color: var(--color-text);
}

.news-list__read:hover,
.news-list__read:focus-visible {
  text-decoration: none;
}

.news-list__media {
  display: block;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  justify-self: end;
}

.news-list__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.news-list__item:hover .news-list__media img,
.news-list__item:focus-within .news-list__media img {
  transform: scale(1.05);
}

.richtext p {
  margin: 0;
  text-align: left;
}

.richtext p img {
  display: inline-block;
}

.richtext p:has(img),
.richtext p:has(table),
.richtext table {
  text-align: center;
}


.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
}

/* HubSpot form styling overrides */
.contact-form .hs-form-html form,
.contact-form .hs-form {
  display: grid;
  gap: 1rem;
}

/* Remove styling from wrappers to prevent double borders */
.contact-form .hsfc-Field__Input,
.contact-form .hsfc-DropdownInput,
.contact-form .hsfc-PhoneInput {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Apply bottom border and sharp corners to actual inputs */
.contact-form .hsfc-TextInput,
.contact-form .hsfc-TextareaInput,
.contact-form .hsfc-Field select,
.contact-form .hsfc-Field input:not([type="checkbox"]):not([type="radio"]),
.contact-form .hsfc-Field textarea,
.contact-form .hs-form-html input:not([type="checkbox"]):not([type="radio"]),
.contact-form .hs-form-html textarea,
.contact-form .hs-form-html select {
  border: none !important;
  border-bottom: 1px solid #000000 !important;
  padding: 10px 0 !important;
  background: transparent !important;
  width: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Phone flag/caret and dropdown triggers: Black right-angle borders */
.contact-form .hsfc-PhoneInput__FlagAndCaret,
.contact-form .hsfc-DropdownInput .hsfc-TextInput--button {
  border: none !important;
  border-bottom: 1px solid #000000 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}

/* Fix dropdown options container to have right angles and white background */
.contact-form .hsfc-CheckboxInput,
.contact-form .hsfc-Field input[type="checkbox"],
.contact-form .hs-form-html input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 14px !important;
  height: 14px !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin-right: 8px !important;
  position: relative !important;
  margin-top: 2px !important;
}

.contact-form .hsfc-CheckboxInput:checked::after,
.contact-form .hsfc-Field input[type="checkbox"]:checked::after,
.contact-form .hs-form-html input[type="checkbox"]:checked::after {
  content: '✔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-size: 12px;
  line-height: 1;
  width: 16px;
  height: 16px;
}

/* Fix dropdown options container to have right angles and white background */
.contact-form .hsfc-DropdownOptions,
.contact-form .hsfc-DropdownOptions__Search,
.contact-form .hsfc-DropdownOptions__List {
  border-radius: 0 !important;
  background-color: #ffffff !important;
}

.contact-form .hsfc-DropdownOptions__List__ListItem {
  background-color: #ffffff !important;
}

.contact-form .hsfc-DropdownOptions__List__ListItem:hover {
  background-color: #f7f9fc !important;
}

.contact-form .hsfc-TextInput:focus,
.contact-form .hsfc-TextareaInput:focus,
.contact-form .hsfc-Field select:focus,
.contact-form .hsfc-Field input:focus,
.contact-form .hsfc-Field textarea:focus,
.contact-form .hs-form-html input:focus,
.contact-form .hs-form-html textarea:focus,
.contact-form .hs-form-html select:focus {
  border-bottom-color: var(--color-accent) !important;
}

.contact-form .hsfc-Button,
.contact-form .hs-button,
.contact-form .hs-form-html button,
.contact-form .hs-form-html input[type="submit"] {
  justify-self: start !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  display: block !important;
  padding: 12px 32px !important;
  border: none !important;
  background: #1a1a1a !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-top: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
}

.menu.social-links {
  display: flex;
  gap: 5px;
}

.social-links a {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.about-hero {
  display: grid;
  grid-template-columns: var(--layout-columns);
  column-gap: var(--grid-gap);
  row-gap: 1rem;
  align-items: end;
}

.about-hero__content {
  grid-column: col-start 1 / col-end 6;
  display: grid;
  gap: 0.75rem;
}

.about-hero__content h1,
.about-hero__content p,
.about-hero__content h4 {
  margin: 0;
}

.about-hero__subtitle {
  margin-top: 0.5rem;
  color: var(--color-muted);
}

.about-intro {
  display: grid;
  grid-template-columns: var(--layout-columns);
  column-gap: var(--grid-gap);
  row-gap: 1.5rem;
  align-items: start;
}

.about-intro__text {
  grid-column: col-start 1 / col-end 3;
  max-width: 22rem;
}

.about-intro__text p {
  margin: 0;
  color: var(--color-muted);
}

.about-intro__images {
  grid-column: col-start 4 / col-end 12;
}

.about-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.about-image-pair .media-ratio:nth-child(2) {
  margin-top: 2rem;
}

.about-image-pair .media-ratio {
  border: 1px solid var(--color-border);
}

.about-band {
  background: #000000;
  color: #ffffff;
  padding: 3.5rem 0;
}

.about-band .layout-grid {
  align-items: start;
  row-gap: 0.75rem;
}

.about-band__label {
  grid-column: col-start 1 / col-end 3;
  margin: 0;
  letter-spacing: 0.12em;
}

.about-band__content {
  grid-column: col-start 4 / col-end 12;
  display: grid;
  gap: 0.75rem;
}

.about-band__content h2,
.about-band__content h3,
.about-band__content h4,
.about-band__content p {
  margin: 0;
}

.about-band__content p {
  color: rgba(255, 255, 255, 0.8);
}

.about-split {
  align-items: start;
}

.about-split__media {
  grid-column: col-start 1 / col-end 6;
  border: 1px solid var(--color-border);
}

.about-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-split__content {
  grid-column: col-start 7 / col-end 12;
  display: grid;
  gap: 1rem;
}

.about-split__content h2,
.about-split__content h3,
.about-split__content h4,
.about-split__content p {
  margin: 0;
}

.about-split__subtitle {
  color: var(--color-muted);
}

.about-features__intro {
  grid-column: col-start 1 / col-end 12;
  display: grid;
  gap: 0.75rem;
}

.about-features__intro h2,
.about-features__intro h3,
.about-features__intro p {
  margin: 0;
}

.about-features__grid {
  grid-column: col-start 1 / col-end 12;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
  margin-top: 2rem;
}

.about-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: start;
}

.about-feature__icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-text);
  display: block;
  overflow: hidden;
}

.about-feature__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-feature h3,
.about-feature h4,
.about-feature p {
  margin: 0;
}

.about-feature p {
  color: var(--color-muted);
}

.about-projects {
  border-top: 1px solid var(--color-border);
  padding-top: 2.5rem;
}

.about-projects__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.about-projects__header h2,
.about-projects__header p,
.about-projects__header h3 {
  margin: 0;
}

@media (max-width: 1200px) {
  .card {
    grid-column: span 6;
  }
}

@media (max-width: 1000px) {
  .hero {
    padding-top: 40px;
  }

  .hero>div,
  .hero img {
    grid-column: content-start / content-end;
  }

  .card {
    grid-column: span 12;
  }

  .news-list__filters {
    align-items: flex-start;
  }

  .news-list__item {
    grid-template-columns: 1fr;
  }

  .news-list__media {
    order: -1;
    max-width: 100%;
  }

  .project-gallery__item {
    grid-column: span 12;
  }

  .project-gallery__item:nth-child(even) {
    margin-top: 0;
    transform: none;
  }

  .project-gallery {
    padding-bottom: 0;
  }

  .dialog-trigger {
    cursor: default;
    pointer-events: none;
  }

  .project-filters {
    justify-content: center;
  }

  .project-list {
    padding-bottom: 0;
  }

  .project-list__item:nth-child(even) {
    transform: none;
  }

  .selected-filters-clear {
    margin-left: 0;
  }

  .about-hero__content,
  .about-intro__text,
  .about-intro__images,
  .about-band__label,
  .about-band__content,
  .about-split__media,
  .about-split__content,
  .about-features__intro,
  .about-features__grid {
    grid-column: content-start / content-end;
  }

  .about-hero,
  .about-intro,
  .about-split {
    row-gap: 1.5rem;
  }

  .about-image-pair {
    grid-template-columns: 1fr;
  }

  .about-band {
    padding: 2.5rem 0;
  }

  .about-split__media {
    margin-bottom: 1.5rem;
  }

  .about-features__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-projects__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-sidebar,
  .contact-form-panel {
    grid-column: span 12;
  }

  .richtext img,
  .richtext p img {
    max-width: 100% !important;
    height: auto !important;
  }

  .richtext table {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* filter-group */
.filter-group summary .icon-open {
  display: none !important;
}

.filter-group[open] summary .icon-open {
  display: block !important;
}

.filter-group summary .icon-closed {
  display: block !important;
}

.filter-group[open] summary .icon-closed {
  display: none !important;
}

.filter-group summary::after {
  display: none !important;
  content: none !important;
}

/* gallery 主容器优化 */
.product-hero-flex {
  display: flex;
  flex-direction: row;
  gap: 40px;
  width: 100%;
  margin: 0;
}

.product-gallery {
  flex: 0 0 50%;
  max-width: 50%;
}

.product-info {
  flex: 0 0 50%;
  max-width: 50%;
  margin-top: 0;
}

.product-info .product-subtitle {
  margin-bottom: 0.5rem;
}

/* gallery 大图区域 */
.gallery-main {
  max-width: 700px;
  height: 500px;
  background: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: none;
  margin: 0 auto;
}

.gallery-viewer {
  width: 500px;
  height: 500px;
  max-width: 500px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s;
  background: #fff;
  display: none;
}

.gallery-image.active {
  display: block;
}

/* gallery 缩略图区域 */
.gallery-thumbs {
  display: flex;
  gap: 1rem;
  margin-top: 20px;
  justify-content: center;
}

.thumb-item {
  aspect-ratio: 1 / 1;
  max-width: 152px;
  height: auto;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  border: none;
  border-bottom: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
}

.thumb-item.active,
.thumb-item:focus,
.thumb-item:hover {
  opacity: 1;
  border-bottom: 2px solid #222;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* gallery 大图和缩略图图片 1:1 比例限制 */
.gallery-image,
.thumb-item img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* gallery 切换按钮 */
.gallery-arrow {
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  border-radius: 4px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
}

.gallery-arrow.left {
  left: 0;
}

.gallery-arrow.right {
  right: 0;
}

/* gallery 放大按钮样式与切换一致，底部对齐 */
.gallery-focus {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.gallery-focus:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* gallery 索引位置修正 */
.gallery-index {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: none;
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  z-index: 2;
  padding: 0;
  opacity: 1;
  visibility: visible;
}


.specifications-container {
  max-height: unset;
  margin-bottom: 1rem;
  overflow-y: auto;
}

.specifications-container .richtext table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 0 auto 1rem;
}

.specifications-container .richtext table tr:first-child {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  padding: 0.5rem 0.25rem;
}

.specifications-container .richtext table tr:first-child :is(td, th) {
  background: var(--color-bg-dark) !important;
  color: var(--color-text-on-dark) !important;
  padding: 0.5rem 0.25rem !important;
  text-align: left;
}

.specifications-container .richtext table tr :is(td, th) {
  background: var(--color-bg) !important;
  border: none !important;
  padding: 0.5rem 0.25rem;
  text-align: left;
}

.specifications-container .richtext table tr:first-child :is(td, th) p {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}

.specifications-container .richtext p {
  position: sticky;
  bottom: 0;
  background: #fff;
}

@media (max-width: 1000px) {
  .product-hero-flex {
    flex-direction: column;
  }

  .product-gallery,
  .product-info {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.product-anchor-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
  position: sticky;
  top: 0;
  padding: 0.5rem 0;
  background: #ffffff;
  z-index: 10;
}

.product-anchor-nav a {
  color: #222;
  text-decoration: none;
  font-size: 1.08rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.product-anchor-nav a.active,
.product-anchor-nav a:hover {
  border-bottom: 2px solid #222;
}

.product-detail-page:has(#features:target) .product-anchor-nav a[href="#features"],
.product-detail-page:has(#videos:target) .product-anchor-nav a[href="#videos"],
.product-detail-page:has(#projects:target) .product-anchor-nav a[href="#projects"],
.product-detail-page:has(#specifications:target) .product-anchor-nav a[href="#specifications"],
.product-detail-page:has(#documents:target) .product-anchor-nav a[href="#documents"] {
  border-bottom: 2px solid #222;
}

body.is-at-top .product-detail-page .product-anchor-nav a {
  border-bottom-color: transparent !important;
}

.product-detail .product-section,
.product-detail .page-section {
  scroll-margin-top: 60px;
}

/* Product Features */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
  border-radius: 4px;
  object-fit: contain;
  aspect-ratio: 4/3;
}

.feature-content {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
}

.feature-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
  }

  .feature-image,
  .feature-content {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Product Videos */
.videos-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-top: 2rem;
}

.video-item {
  grid-column: 2 / 12;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  border-radius: 4px;
}

.video-player,
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-title {
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
}

/* Specifications List */
.specifications-container {
  overflow-x: auto;
  width: 100%;
}

.specifications-container table {
  min-width: 600px;
}

/* Locator Styles */
.locator-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: #f5f5f5;
  border-radius: 4px;
  align-items: center;
  text-align: center;
}

.locator-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--color-muted);
}

.loading-spinner {
  width: 24px;
  height: 24px;
  border: 4px solid #e5e5e5;
  border-top-color: #000000;
  border-radius: 50%;
  animation: locator-spin 1s linear infinite;
}

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

.locator-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  font-size: 2rem;
}

.locator-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
}

.locator-filter-bar label {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  background: #fff;
}

/* Add absolute label over inputs like material design outline */
.locator-filter-bar label span {
  position: absolute;
  top: -10px;
  left: 10px;
  background: #f5f5f5;
  /* matches shell background to look like it cuts out */
  padding: 0 4px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  z-index: 1;
  display: none;
  /* We will use standard labels instead to match the mockup */
}

/* Mockup approach: labels are above the fields entirely */
.locator-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.locator-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
  width: 100%;
}

.locator-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 auto;
}

.locator-input-group span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  text-align: left;
}

.locator-input-wrapper {
  display: flex;
  height: 100%;
}

.locator-input-wrapper select,
.locator-input-wrapper input {
  padding: 0.75rem;
  border: none;
  border-right: 1px solid var(--color-border);
  background: #ffffff;
  width: 100%;
  height: 100%;
  min-width: 140px;
  border-radius: 0;
  outline: none;
  box-shadow: none;
}

/* Make search input longer */
.locator-input-wrapper.zip-group {
  flex: 2 1 auto;
}

.locator-input-wrapper.zip-group input {
  border-right: none;
}

.locator-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  align-self: stretch;
  /* fill the vertical space of the flex container */
}

.locator-or {
  font-size: 0.875rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem;
}

.locator-results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  width: 100%;
  gap: 1rem;
  flex-wrap: wrap;
}

.locator-results-header h2 {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
}

.locator-contact-help {
  font-size: 0.875rem;
  color: var(--color-text);
}

.locator-contact-help a {
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}

.list-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  width: 100%;
}

.dealer-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  align-items: start;
}

.dealer-distance-col {
  font-size: 0.9rem;
  color: var(--color-text);
  padding-top: 2rem;
}

.dealer-details-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.dealer-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dealer-badge {
  background: #666;
  color: #fff;
  padding: 4px 12px;
  font-size: 0.75rem;
  border-radius: 2px;
}

.dealer-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.dealer-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: flex-start;
  width: 100%;
}

.dealer-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
}

.dealer-actions {
  margin-top: 0.5rem;
}

.btn-nav-inline {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.25rem;
}

.btn-nav-inline:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .locator-form-row {
    flex-direction: column;
  }

  .locator-input-wrapper select,
  .locator-input-wrapper input {
    border-right: 1px solid var(--color-border);
    margin-bottom: 10px;
  }

  .locator-search-btn {
    padding: 1rem;
  }

  .dealer-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .dealer-distance-col {
    padding-top: 0;
    font-weight: 600;
  }

  .locator-results-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Resources Page */
.resource-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.resource-nav a {
  padding: 0.25rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.resource-nav a.active,
.resource-nav a:hover {
  border-bottom: 2px solid var(--color-text);
}


.resource-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.resource-card {
  display: flex;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 24px;
  border-radius: 0;
}

.resource-image-wrap {
  flex: 0 0 150px;
  width: 150px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  overflow: hidden;
}

.resource-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.resource-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resource-title {
  margin: 0;
  font-size: 1.25rem;
}

.resource-desc {
  margin: 0;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}

.resource-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
}

.resource-link {
  color: var(--color-text);
  text-decoration: none !important;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-bottom-color 0.2s;
}

.resource-link:hover,
.resource-link:focus,
.resource-link:active {
  text-decoration: none !important;
  border-bottom-color: #000;
}

@media (max-width: 991px) {
  .resource-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .resource-card {
    flex-direction: column;
  }

  .resource-image-wrap {
    width: 100%;
    height: 200px;
  }

  .resource-img {
    object-fit: contain;
  }

  .resource-nav {
    flex-direction: row;
    margin-bottom: 2rem;
  }
}

/* Product Quote Form Styling */
.product-quote-form .hs-form-html form,
.product-quote-form .hs-form {
  display: grid;
  gap: 1rem;
}

/* Base resets */
.product-quote-form .hsfc-Field__Input,
.product-quote-form .hsfc-DropdownInput,
.product-quote-form .hsfc-PhoneInput {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Bottom border and sharp corners to text inputs */
.product-quote-form .hsfc-TextInput,
.product-quote-form .hsfc-TextareaInput,
.product-quote-form .hsfc-Field input:not([type="checkbox"]):not([type="radio"]),
.product-quote-form .hsfc-Field textarea,
.product-quote-form .hs-form-html input:not([type="checkbox"]):not([type="radio"]),
.product-quote-form .hs-form-html textarea {
  border: none !important;
  border-bottom: 1px solid #000000 !important;
  padding: 10px 0 !important;
  background: transparent !important;
  width: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* 4-sided border for select inputs */
.product-quote-form .hsfc-Field select,
.product-quote-form .hs-form-html select,
.product-quote-form .hsfc-DropdownInput .hsfc-TextInput--button {
  border: 1px solid #000000 !important;
  padding: 10px !important;
  background: transparent !important;
  width: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Phone flag/caret */
.product-quote-form .hsfc-PhoneInput__FlagAndCaret {
  border: none !important;
  border-bottom: 1px solid #000000 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}

/* Square custom Checkboxes */
.product-quote-form .hsfc-CheckboxInput,
.product-quote-form .hsfc-Field input[type="checkbox"],
.product-quote-form .hs-form-html input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 14px !important;
  height: 14px !important;
  border: 1px solid #000000 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin-right: 8px !important;
  position: relative !important;
  margin-top: 2px !important;
}

.product-quote-form .hsfc-CheckboxInput:checked::after,
.product-quote-form .hsfc-Field input[type="checkbox"]:checked::after,
.product-quote-form .hs-form-html input[type="checkbox"]:checked::after {
  content: '✔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-size: 12px;
  line-height: 1;
  width: 16px;
  height: 16px;
}

/* Fix dropdown options container */
.product-quote-form .hsfc-DropdownOptions,
.product-quote-form .hsfc-DropdownOptions__Search,
.product-quote-form .hsfc-DropdownOptions__List {
  border-radius: 0 !important;
  background-color: #ffffff !important;
}

.product-quote-form .hsfc-DropdownOptions__List__ListItem {
  background-color: #ffffff !important;
}

.product-quote-form .hsfc-DropdownOptions__List__ListItem:hover {
  background-color: #f7f9fc !important;
}

/* Hover/Focus states */
.product-quote-form .hsfc-TextInput:focus,
.product-quote-form .hsfc-TextareaInput:focus,
.product-quote-form .hsfc-Field input:focus,
.product-quote-form .hsfc-Field textarea:focus,
.product-quote-form .hs-form-html input:focus,
.product-quote-form .hs-form-html textarea:focus {
  border-bottom-color: var(--color-accent) !important;
}

.product-quote-form .hsfc-Field select:focus,
.product-quote-form .hs-form-html select:focus {
  border-color: var(--color-accent) !important;
}

/* Submit Button */
.product-quote-form .hsfc-Button,
.product-quote-form .hs-button,
.product-quote-form .hs-form-html button,
.product-quote-form .hs-form-html input[type="submit"] {
  justify-self: start !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  display: block !important;
  padding: 12px 32px !important;
  border: none !important;
  background: #1a1a1a !important;
  color: #ffffff !important;
  border-radius: 0 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-top: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
}

.product-quote-form .hsfc-Button:hover,
.product-quote-form .hs-button:hover,
.product-quote-form .hs-form-html button:hover,
.product-quote-form .hs-form-html input[type="submit"]:hover {
  background: var(--color-accent) !important;
}