/* Header container */
.header-image {
    width: 100%;
    max-height: 20vh;        /* Header limited to 20% of viewport height */
    overflow: hidden;        /* Hide excess image height */
}
/* Image keeps aspect ratio */
.header-image img {
    width: 100%;             /* Stretch full width */
    height: auto;            /* Maintain aspect ratio */
    display: block;
}
footer.site-footer {
    background-color: #3b3b3b;
    color: #ffffff;
}
footer.site-footer a {
    color: #ffffff;
    text-decoration: none;
}
footer.site-footer a:hover {
    text-decoration: underline;
}
.footer-muted {
    color: #b9b9b9;
}
/* Mobile-only footer layout */
.footer-desktop {
    display: none;
}
.footer-mobile {
    display: block;
}
.mini-menu__icon {
    display: block;
    margin-bottom: 0.75rem;
    width: 30%;
    height: auto;
}
.no-bullets {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}






.gridTable {
  width: 100%;
  max-width: 470px;            /* was 470px fixed */
  border: 1px solid #525252;
  overflow: hidden;
}

/* Desktop/tablet: two-column grid like a table */
.gridRow {
  display: grid;
  grid-template-columns: 2fr 1fr; /* responsive columns */
}

.gridHeader {
  background: #B50200; /* red */
  color: #ffffff;      /* white text */
    font-weight:600;
}

.gridHeader .gridCell {
  color: #ffffff;
}

.gridCell {
  padding: 8px;
  text-align: left;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  word-break: break-word;       /* prevents overflow */
}

.gridRow .gridCell:last-child {
  border-right: 0;
}

.gridTable .gridRow:last-child .gridCell {
  border-bottom: 0;
}

/* Mobile: stack cells and show labels */
@media (max-width: 600px) {
  .gridHeader {
    display: none; /* hide header row */
  }

  .gridRow {
    grid-template-columns: 1fr; /* stack */
    border-bottom: 1px solid #fff;
  }

  .gridCell {
    border-right: 0;
    border-bottom: 0;
    padding: 10px 12px;
  }

  /* add "Polymer:" / "Solubility:" labels */
  .gridCell::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    display: inline;
    margin-right: 6px;
  }
}



@media (min-width: 768px) {
.horizontal-list {
    flex-direction: row;
    gap: 1rem;
}
}
.service-links a {
    line-height: 1.4;
    font-size: 0.75rem; /* ~12px */
}

@media (max-width: 480px) {
.service-links {
    font-size: 0.8125rem; /* slightly larger on mobile for readability */
}
}

@media (min-width: 768px) {
.footer-desktop {
    display: block;
}
.footer-mobile {
    display: none;
}
}