
.modern-quote-link { display: inline-block; margin-top: 6px; padding: 4px 8px; background: #195c90; color: #fff !important; text-decoration: none; border-radius: 2px; }
.modern-inquiry-callout {
  margin: 0;
  padding: 26px 24px 24px;
  border: 1px solid #cfd8e1;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8fc 100%);
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  color: #223246;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.modern-inquiry-callout__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}
.modern-inquiry-callout__eyebrow::before,
.modern-inquiry-callout__eyebrow::after {
  content: "";
  width: 72px;
  max-width: 18%;
  height: 2px;
  background: #2f71bf;
}
.modern-inquiry-callout__eyebrow span {
  color: #1e63b5;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.modern-inquiry-callout__title {
  margin: 0;
  color: #082b68;
  font-size: 26px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.4px;
}
.modern-inquiry-callout__divider {
  width: 220px;
  max-width: 34%;
  height: 14px;
  margin: 10px auto 14px;
  position: relative;
}
.modern-inquiry-callout__divider::before,
.modern-inquiry-callout__divider::after {
  content: "";
  position: absolute;
  top: 6px;
  width: calc(50% - 12px);
  height: 2px;
  background: #2f71bf;
}
.modern-inquiry-callout__divider::before { left: 0; }
.modern-inquiry-callout__divider::after { right: 0; }
.modern-inquiry-callout__divider { border-bottom: 0; }
.modern-inquiry-callout__divider:after {}
.modern-inquiry-callout__divider:before {}
.modern-inquiry-callout__divider::marker { content: none; }
.modern-inquiry-callout__divider > * { display:none; }
.modern-inquiry-callout__divider::selection { background: transparent; }
.modern-inquiry-callout__divider::before, .modern-inquiry-callout__divider::after {}
.modern-inquiry-callout__divider:empty::after {}
.modern-inquiry-callout__divider:empty::before {}
.modern-inquiry-callout__divider:empty {
}
.modern-inquiry-callout__divider {
  background:
    linear-gradient(135deg, transparent 49%, #2f71bf 50%, #2f71bf 58%, transparent 59%) center 6px / 18px 10px no-repeat;
}
.modern-inquiry-callout__text {
  margin: 0 auto;
  max-width: 980px;
  color: #394f63;
  font-size: 13px;
  line-height: 1.7;
}
.modern-inquiry-callout__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  margin-top: 18px;
  padding: 11px 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, #116bcc 0%, #0d58ae 100%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 7px 16px rgba(12, 73, 143, .22);
}
.modern-inquiry-callout__button:hover {
  text-decoration: none;
  filter: brightness(1.03);
}
@media (max-width: 760px) {
  .modern-inquiry-callout {
    padding: 20px 14px 18px;
  }
  .modern-inquiry-callout__title {
    font-size: 20px;
  }
  .modern-inquiry-callout__eyebrow {
    gap: 10px;
  }
  .modern-inquiry-callout__eyebrow::before,
  .modern-inquiry-callout__eyebrow::after {
    width: 42px;
  }
  .modern-inquiry-callout__divider {
    max-width: 58%;
  }
}

.modern-home-module { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #333; }
.modern-home-module ul { margin: 0; padding: 4px 4px 0 18px; }
.modern-home-module li { margin: 0 0 6px; line-height: 1.35; }
.modern-home-module li span { display: block; color: #666; }
.legacy-supply,
.legacy-news { height: 120px; overflow: hidden; }
.legacy-supply ul { padding-top: 6px; }
.legacy-supply li { margin-bottom: 9px; line-height: 1.25; }
.legacy-supply a,
.legacy-supply a:link,
.legacy-supply a:visited { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #4b0082 !important; line-height: 1.2; text-decoration: none; }
.legacy-supply a:hover { color: #005b8f !important; text-decoration: underline; }
.legacy-supply span { line-height: 1.2; }
.legacy-news ul { padding-top: 9px; }
.legacy-news li { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 9px; line-height: 1.25; }
.legacy-news a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legacy-news span { white-space: nowrap; }
.legacy-featured-products { padding: 10px 12px; min-height: 160px; overflow: hidden; }
.legacy-featured-track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.legacy-product-card { min-width: 0; border: 1px solid #d8e2ec; background: #fff; padding: 6px; }
.legacy-product-image { display: block; height: 72px; overflow: hidden; background: #f3f7fb; border: 1px solid #d8e2ec; }
.legacy-product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.legacy-product-title,
.legacy-product-title:link,
.legacy-product-title:visited { display: block; margin-top: 6px; color: #005b8f !important; font-weight: bold; line-height: 1.2; text-decoration: none; }
.legacy-product-title:hover { color: #990000 !important; text-decoration: underline; }
.legacy-product-card p { margin: 3px 0 0; height: 28px; overflow: hidden; color: #555; font-size: 11px; line-height: 1.25; }
.legacy-page-content { padding: 18px 22px; color: #222; font-family: Arial, Helvetica, sans-serif; line-height: 1.55; text-align: left; }
.legacy-page-content a { color: #006699 !important; }
.legacy-page-content h1 { margin: 0 0 12px; color: #005b8f; font-size: 24px; line-height: 1.25; }
.legacy-page-content h2 { margin: 4px 0 8px; color: #005b8f; font-size: 16px; }
.legacy-news-list { display: grid; gap: 12px; }
.legacy-news-list article { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px; border: 1px solid #d8d8d8; background: #fbfbfb; }
.legacy-news-list article:has(img) { grid-template-columns: 150px 1fr; }
.legacy-news-list article:not(:has(img)) { grid-template-columns: 1fr; }
.legacy-news-list img { width: 150px; height: 96px; object-fit: cover; border: 1px solid #d8d8d8; }
.legacy-news-list time,
.legacy-news-detail time { color: #666; font-size: 12px; }
.legacy-news-detail .rich-content { font-size: 13px; }
.legacy-news-hero { width: 100%; max-height: 360px; object-fit: cover; margin: 8px 0 14px; border: 1px solid #d8d8d8; }
.legacy-news-back { margin-bottom: 8px; }
.legacy-inquiry-table input,
.legacy-inquiry-table select,
.legacy-inquiry-table textarea { max-width: 620px; }
.legacy-success-message { display: inline-block; padding: 8px 14px; border: 1px solid #8cbf8c; background: #eef8ee; color: #176317; font-weight: bold; }
@media (max-width: 760px) {
  .legacy-featured-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legacy-featured-products { max-height: none; }
  .legacy-news-list article,
  .legacy-news-list article:has(img) { grid-template-columns: 1fr; }
  .legacy-news-list img { width: 100%; height: auto; }
  .legacy-inquiry-table,
  .legacy-inquiry-table tbody,
  .legacy-inquiry-table tr,
  .legacy-inquiry-table td { display: block; width: 100% !important; }
  .legacy-inquiry-table td div { text-align: left !important; }
}

/* Modern factory visit request page */
.visit-modern-cell {
  padding: 22px 16px 26px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
}
.visit-modern-page {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  color: #223246;
}
.visit-modern-hero {
  padding: 4px 10px 16px;
}
.visit-modern-eyebrow {
  margin: 0 0 6px;
  color: #0a6f9d;
  font-size: 11px;
  letter-spacing: 1.8px;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 700;
}
.visit-modern-hero h1,
.visit-modern-hero .seo-h1 {
  margin: 0;
  color: #063f6b;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.2px;
}
.visit-modern-subtitle {
  width: min(680px, 100%);
  margin: 8px auto 0;
  color: #486176;
  font-size: 14px;
  line-height: 1.55;
}
.visit-modern-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.visit-modern-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef6fb;
  color: #0a5f8d;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #d5e9f5;
}
.visit-modern-form {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(10, 61, 99, .10);
  text-align: left;
}
.visit-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.visit-field {
  display: block;
  min-width: 0;
  margin: 0;
  color: #223246;
  font-size: 12px;
  font-weight: 700;
}
.visit-field span {
  display: block;
  margin-bottom: 6px;
  color: #24394d;
  line-height: 1.3;
}
.visit-field em {
  margin-right: 4px;
  color: #c51414;
  font-style: normal;
}
.visit-modern-grid > * {
  min-width: 0;
}
.visit-field input,
.visit-field textarea {
  display: block;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #cbd8e4;
  border-radius: 9px;
  background: #fbfdff;
  color: #1f2f3f;
  font: 13px Arial, Helvetica, sans-serif;
  line-height: 1.4;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.visit-field input {
  height: 38px;
  padding: 8px 11px;
}
.visit-field textarea {
  min-height: 118px;
  padding: 10px 11px;
  resize: vertical;
}
.visit-field input:focus,
.visit-field textarea:focus {
  border-color: #0b6f9f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 111, 159, .12);
}
.visit-field input::placeholder,
.visit-field textarea::placeholder {
  color: #91a0ad;
}
.visit-wide {
  grid-column: 1 / -1;
}
.visit-modern-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf2f6;
}
.visit-modern-actions button {
  min-width: 158px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: linear-gradient(135deg, #064f7c 0%, #0a7aa7 100%);
  color: #fff;
  font: 700 13px Arial, Helvetica, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(5, 83, 126, .22);
}
.visit-modern-actions button:hover {
  text-decoration: none;
  filter: brightness(1.04);
}
.visit-modern-actions .visit-reset-button {
  min-width: 96px;
  background: #eef3f7;
  color: #536779;
  box-shadow: none;
}
.visit-modern-note {
  width: min(720px, 100%);
  margin: 14px auto 0;
  color: #65788a;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}
.visit-modern-note strong {
  color: #0a5f8d;
}
.visit-success-message {
  margin: 0 0 16px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #edf8f0;
  color: #176a2e;
  border: 1px solid #bddfc5;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.visit-modern-form-complete {
  display: none !important;
}
.visit-submission-confirmation {
  width: min(680px, 100%);
  margin: 20px auto 22px;
  padding: 28px 30px 26px;
  border: 1px solid #a9d9b8;
  border-radius: 12px;
  background: #f1fbf4;
  box-shadow: 0 12px 28px rgba(23, 106, 46, .10);
  box-sizing: border-box;
  color: #284736;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}
.visit-submission-confirmation__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #198b43;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 52px;
}
.visit-submission-confirmation__eyebrow {
  margin: 0 0 6px !important;
  color: #198b43;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.visit-submission-confirmation h2 {
  margin: 0;
  color: #115e2d;
  font-size: 26px;
  line-height: 1.2;
}
.visit-submission-confirmation p {
  margin: 12px auto 0;
  max-width: 570px;
  font-size: 15px;
  line-height: 1.55;
}
.visit-submission-confirmation__reply {
  color: #527161;
  font-size: 13px !important;
}
.visit-submission-confirmation__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.visit-submission-confirmation__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 5px;
  background: #13723a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
.visit-submission-confirmation__actions a.secondary {
  border: 1px solid #bfd8c7;
  background: #fff;
  color: #25623b !important;
}
.public-form-errors {
  width: min(760px, 100%);
  margin: 0 auto 16px;
  padding: 13px 15px;
  border: 1px solid #e5b9b9;
  border-radius: 8px;
  background: #fff5f5;
  box-sizing: border-box;
  color: #9a2525;
  font: 700 13px/1.45 Arial, Helvetica, sans-serif;
  text-align: left;
}
.public-form-errors ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
@media (max-width: 760px) {
  .visit-modern-cell { padding: 16px 10px 20px !important; }
  .visit-modern-hero h1,
  .visit-modern-hero .seo-h1 { font-size: 22px; }
  .visit-modern-form { padding: 16px; border-radius: 14px; }
  .visit-modern-grid { grid-template-columns: 1fr; }
  .visit-modern-actions { flex-direction: column; }
  .visit-modern-actions button { width: 100%; }
  .visit-submission-confirmation { padding: 22px 16px 20px; }
  .visit-submission-confirmation h2 { font-size: 22px; }
}


/* Modern inquiry form page */
.inquiry-modern-cell {
  padding: 22px 16px 28px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%) !important;
}
.inquiry-modern-page {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  color: #223246;
}
.inquiry-modern-hero {
  padding: 4px 10px 16px;
}
.inquiry-modern-eyebrow {
  margin: 0 0 6px;
  color: #0a6f9d;
  font-size: 11px;
  letter-spacing: 1.8px;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 700;
}
.inquiry-modern-hero h1,
.inquiry-modern-hero .seo-h1 {
  margin: 0;
  color: #063f6b;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.2px;
}
.inquiry-modern-subtitle {
  width: min(760px, 100%);
  margin: 8px auto 0;
  color: #486176;
  font-size: 14px;
  line-height: 1.6;
}
.inquiry-modern-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.inquiry-modern-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef6fb;
  color: #0a5f8d;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #d5e9f5;
}
.inquiry-modern-form {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(10, 61, 99, .10);
  text-align: left;
}
.inquiry-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.inquiry-modern-grid > * { min-width: 0; }
.inquiry-field {
  display: block;
  min-width: 0;
  margin: 0;
  color: #223246;
  font-size: 12px;
  font-weight: 700;
}
.inquiry-field span {
  display: block;
  margin-bottom: 6px;
  color: #24394d;
  line-height: 1.3;
}
.inquiry-field em {
  margin-right: 4px;
  color: #c51414;
  font-style: normal;
}
.inquiry-field input,
.inquiry-field textarea,
.inquiry-field select {
  display: block;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #cbd8e4;
  border-radius: 9px;
  background: #fbfdff;
  color: #1f2f3f;
  font: 13px Arial, Helvetica, sans-serif;
  line-height: 1.4;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.inquiry-field input,
.inquiry-field select {
  height: 38px;
  padding: 8px 11px;
}
.inquiry-field textarea {
  min-height: 132px;
  padding: 10px 11px;
  resize: vertical;
}
.inquiry-upload-field input[type=file] {
  padding: 9px 11px;
  height: auto;
  background: #f9fcff;
}
.inquiry-field input:focus,
.inquiry-field textarea:focus,
.inquiry-field select:focus {
  border-color: #0b6f9f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 111, 159, .12);
}
.inquiry-field input::placeholder,
.inquiry-field textarea::placeholder {
  color: #91a0ad;
}
.inquiry-wide {
  grid-column: 1 / -1;
}
.inquiry-modern-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf2f6;
}
.inquiry-modern-actions button {
  min-width: 168px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: linear-gradient(135deg, #064f7c 0%, #0a7aa7 100%);
  color: #fff;
  font: 700 13px Arial, Helvetica, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(5, 83, 126, .22);
}
.inquiry-modern-actions button:hover {
  text-decoration: none;
  filter: brightness(1.04);
}
.inquiry-modern-actions .inquiry-reset-button {
  min-width: 96px;
  background: #eef3f7;
  color: #536779;
  box-shadow: none;
}
.inquiry-modern-note {
  width: min(760px, 100%);
  margin: 14px auto 0;
  color: #65788a;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}
.inquiry-modern-note strong,
.inquiry-modern-privacy strong {
  color: #0a5f8d;
}
.inquiry-modern-privacy {
  width: min(760px, 100%);
  margin: 8px auto 0;
  color: #7a8996;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}
.inquiry-success-message {
  margin: 0 0 16px;
  padding: 11px 14px;
  border-radius: 10px;
  background: #edf8f0;
  color: #176a2e;
  border: 1px solid #bddfc5;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.inquiry-modern-form-complete {
  display: none !important;
}
.inquiry-submission-confirmation {
  width: min(680px, 100%);
  margin: 20px auto 22px;
  padding: 28px 30px 26px;
  border: 1px solid #a9d9b8;
  border-radius: 12px;
  background: #f1fbf4;
  box-shadow: 0 12px 28px rgba(23, 106, 46, .10);
  box-sizing: border-box;
  color: #284736;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}
.inquiry-submission-confirmation__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #198b43;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 52px;
}
.inquiry-submission-confirmation__eyebrow {
  margin: 0 0 6px !important;
  color: #198b43;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.inquiry-submission-confirmation h2 {
  margin: 0;
  color: #115e2d;
  font-size: 26px;
  line-height: 1.2;
}
.inquiry-submission-confirmation p {
  margin: 12px auto 0;
  max-width: 570px;
  font-size: 15px;
  line-height: 1.55;
}
.inquiry-submission-confirmation__reply {
  color: #527161;
  font-size: 13px !important;
}
.inquiry-submission-confirmation__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.inquiry-submission-confirmation__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 5px;
  background: #13723a;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
.inquiry-submission-confirmation__actions a.secondary {
  border: 1px solid #bfd8c7;
  background: #fff;
  color: #25623b !important;
}
@media (max-width: 760px) {
  .inquiry-modern-cell { padding: 16px 10px 20px !important; }
  .inquiry-modern-hero h1,
  .inquiry-modern-hero .seo-h1 { font-size: 23px; }
  .inquiry-modern-form { padding: 16px; border-radius: 14px; }
  .inquiry-modern-grid { grid-template-columns: 1fr; }
  .inquiry-modern-actions { flex-direction: column; }
  .inquiry-modern-actions button { width: 100%; }
  .inquiry-submission-confirmation { padding: 22px 16px 20px; }
  .inquiry-submission-confirmation h2 { font-size: 22px; }
}


/* Modern contact form embedded on contact page */
.contact-modern-card {
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 32px rgba(10, 61, 99, .10);
  box-sizing: border-box;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  color: #223246;
}
.contact-modern-hero {
  text-align: center;
  padding: 0 4px 13px;
}
.contact-modern-eyebrow {
  margin: 0 0 5px;
  color: #0a6f9d;
  font-size: 10px;
  letter-spacing: 1.7px;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 700;
}
.contact-modern-hero h2 {
  margin: 0;
  color: #063f6b;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.2px;
}
.contact-modern-hero p {
  margin: 8px auto 0;
  color: #526a7f;
  font-size: 12px;
  line-height: 1.55;
}
.contact-modern-form {
  margin: 0;
}
.contact-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 12px;
}
.contact-modern-grid > * {
  min-width: 0;
}
.contact-field {
  display: block;
  min-width: 0;
  margin: 0;
  color: #223246;
  font-size: 12px;
  font-weight: 700;
}
.contact-field span {
  display: block;
  margin-bottom: 5px;
  color: #24394d;
  line-height: 1.3;
}
.contact-field em {
  margin-right: 4px;
  color: #c51414;
  font-style: normal;
}
.contact-field input,
.contact-field textarea {
  display: block;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #cbd8e4;
  border-radius: 9px;
  background: #fbfdff;
  color: #1f2f3f;
  font: 13px Arial, Helvetica, sans-serif;
  line-height: 1.4;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.contact-field input {
  height: 37px;
  padding: 8px 10px;
}
.contact-field textarea {
  min-height: 112px;
  padding: 10px;
  resize: vertical;
}
.contact-upload-field input[type=file] {
  padding: 9px 10px;
  height: auto;
  background: #f9fcff;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #0b6f9f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 111, 159, .12);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #91a0ad;
}
.contact-wide {
  grid-column: 1 / -1;
}
.contact-modern-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid #edf2f6;
}
.contact-modern-actions button {
  min-width: 138px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: linear-gradient(135deg, #064f7c 0%, #0a7aa7 100%);
  color: #fff;
  font: 700 13px Arial, Helvetica, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(5, 83, 126, .22);
}
.contact-modern-actions button:hover {
  text-decoration: none;
  filter: brightness(1.04);
}
.contact-modern-actions .contact-reset-button {
  min-width: 86px;
  background: #eef3f7;
  color: #536779;
  box-shadow: none;
}
.contact-modern-note {
  margin: 12px auto 0;
  color: #65788a;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}
.contact-modern-note strong {
  color: #0a5f8d;
}
.contact-success-message {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #edf8f0;
  color: #176a2e;
  border: 1px solid #bddfc5;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
@media (max-width: 760px) {
  .contact-modern-card {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
  }
  .contact-modern-grid {
    grid-template-columns: 1fr;
  }
  .contact-modern-actions {
    flex-direction: column;
  }
  .contact-modern-actions button {
    width: 100%;
  }
}


/* Contact page inquiry form: same fields and backend as Inquiry page, compact high-end layout */
.contact-inquiry-modern-card {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 32px rgba(10, 61, 99, .10);
  box-sizing: border-box;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  color: #223246;
}
.contact-inquiry-hero {
  text-align: center;
  padding: 0 4px 13px;
}
.contact-inquiry-eyebrow {
  margin: 0 0 5px;
  color: #0a6f9d;
  font-size: 10px;
  letter-spacing: 1.7px;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 700;
}
.contact-inquiry-hero h2 {
  margin: 0;
  color: #063f6b;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.2px;
}
.contact-inquiry-hero p {
  margin: 8px auto 0;
  color: #526a7f;
  font-size: 12px;
  line-height: 1.55;
}
.contact-inquiry-modern-form {
  margin: 0;
}
.contact-inquiry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}
.contact-inquiry-grid > * {
  min-width: 0;
}
.contact-inquiry-field {
  display: block;
  min-width: 0;
  margin: 0;
  color: #223246;
  font-size: 12px;
  font-weight: 700;
}
.contact-inquiry-field span {
  display: block;
  margin-bottom: 5px;
  color: #24394d;
  line-height: 1.3;
}
.contact-inquiry-field em {
  margin-right: 4px;
  color: #c51414;
  font-style: normal;
}
.contact-inquiry-field input,
.contact-inquiry-field textarea,
.contact-inquiry-field select {
  display: block;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #cbd8e4;
  border-radius: 9px;
  background: #fbfdff;
  color: #1f2f3f;
  font: 13px Arial, Helvetica, sans-serif;
  line-height: 1.4;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.contact-inquiry-field input,
.contact-inquiry-field select {
  height: 37px;
  padding: 8px 10px;
}
.contact-inquiry-field textarea {
  min-height: 118px;
  padding: 10px;
  resize: vertical;
}
.contact-inquiry-upload-field input[type=file] {
  padding: 9px 10px;
  height: auto;
  background: #f9fcff;
}
.contact-inquiry-field input:focus,
.contact-inquiry-field textarea:focus,
.contact-inquiry-field select:focus {
  border-color: #0b6f9f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 111, 159, .12);
}
.contact-inquiry-field input::placeholder,
.contact-inquiry-field textarea::placeholder {
  color: #91a0ad;
}
.contact-inquiry-wide {
  grid-column: 1 / -1;
}
.contact-inquiry-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid #edf2f6;
}
.contact-inquiry-actions button {
  min-width: 148px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: linear-gradient(135deg, #064f7c 0%, #0a7aa7 100%);
  color: #fff;
  font: 700 13px Arial, Helvetica, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(5, 83, 126, .22);
}
.contact-inquiry-actions button:hover {
  text-decoration: none;
  filter: brightness(1.04);
}
.contact-inquiry-actions .contact-inquiry-reset-button {
  min-width: 86px;
  background: #eef3f7;
  color: #536779;
  box-shadow: none;
}
.contact-inquiry-note {
  margin: 12px auto 0;
  color: #65788a;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}
.contact-inquiry-note strong {
  color: #0a5f8d;
}
@media (max-width: 760px) {
  .contact-inquiry-modern-card {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
  }
  .contact-inquiry-actions {
    flex-direction: column;
  }
  .contact-inquiry-actions button {
    width: 100%;
  }
}


/* Contact page left info upgrade */
.contact-left-td { padding: 12px 10px 12px 12px !important; }
.contact-left-modern {
  font-family: Arial, Helvetica, sans-serif;
  color: #24384b;
}
.contact-left-hero {
  padding: 16px 16px 14px;
  border: 1px solid #d9e7f1;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 8px 24px rgba(9, 71, 110, .08);
}
.contact-left-eyebrow {
  margin: 0 0 6px;
  color: #0a6f9d;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.4;
}
.contact-left-hero h2 {
  margin: 0;
  color: #063f6b;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.2px;
}
.contact-left-company {
  margin-top: 10px;
  color: #0f2233;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}
.contact-left-address {
  margin-top: 8px;
  color: #5a6c7d;
  font-size: 13px;
  line-height: 1.6;
}
.contact-left-section {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #dfeaf2;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(12, 69, 104, .06);
}
.contact-left-section-title {
  margin-bottom: 10px;
  color: #0a5f8d;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
}
.contact-left-row {
  display: block;
  padding: 7px 0;
  border-top: 1px dashed #e8eff5;
  font-size: 13px;
  line-height: 1.55;
}
.contact-left-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-left-row span {
  display: block;
  color: #6c7d8c;
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: 2px;
}
.contact-left-row strong {
  color: #1d3041;
  font-weight: 700;
}
.contact-left-row a {
  color: #0a6f9d !important;
  font-weight: 700;
  text-decoration: none;
}
.contact-left-row a:hover { text-decoration: underline; }

.contact-left-row .contact-left-label-accent {
  color: #8b1e1e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
}
.contact-left-section-compact { padding-bottom: 10px; }
.contact-left-sites {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 14px;
  padding: 0 8px;
}
.contact-left-sites a {
  color: #063f6b !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.contact-left-sites a:hover { text-decoration: underline; }
.contact-left-sites .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8db0c7;
}


/* Contact page full-width modern layout */
.contact-page-title-cell {
  padding: 8px 8px 4px !important;
}
.contact-page-title-cell span {
  display: block;
  color: #063f6b;
  font: 800 31px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: -.2px;
}
.contact-main-shell > table { table-layout: auto; }
.contact-main-shell > table > tbody > tr > td > table { width: 100% !important; }
.contact-main-shell .white-bg1 {
  background: transparent !important;
}
.contact-left-column,
.contact-form-column {
  vertical-align: top !important;
}
.contact-left-column { width: 42% !important; }
.contact-form-column { width: 55% !important; padding-right: 6px; }
.contact-divider-col {
  width: 3% !important;
  padding: 0 10px;
}
.contact-divider-line {
  display: block;
  width: 1px;
  min-height: 980px;
  background: #dbe7f0;
  margin: 0 auto;
}
.contact-sidebar-legacy {
  display: none;
}
.contact-left-hero {
  padding: 18px 20px 16px;
}
.contact-left-hero h2 {
  font-size: 20px;
}
.contact-left-company {
  font-size: 17px;
}
.contact-left-section {
  padding: 16px 18px;
}
.contact-left-row strong,
.contact-left-row a {
  font-size: 14px;
}
.contact-left-other-section .contact-left-row strong {
  line-height: 1.6;
}
.contact-left-sites {
  margin-top: 16px;
  justify-content: flex-start;
  padding-left: 8px;
}
.contact-inquiry-modern-card {
  width: 100%;
  max-width: none;
  padding: 22px;
  border-radius: 18px;
}
.contact-inquiry-hero h2 {
  font-size: 25px;
}
.contact-inquiry-hero p {
  font-size: 14px;
  width: min(640px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.contact-inquiry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.contact-inquiry-field {
  font-size: 12px;
}
.contact-inquiry-field input,
.contact-inquiry-field select {
  height: 39px;
  padding: 8px 11px;
}
.contact-inquiry-field textarea {
  min-height: 136px;
}
.contact-inquiry-wide {
  grid-column: 1 / -1;
}
.contact-inquiry-note {
  font-size: 12px;
}
@media (max-width: 1080px) {
  .contact-left-column,
  .contact-form-column {
    width: 100% !important;
    display: block;
  }
  .contact-divider-col,
  .contact-sidebar-legacy,
  .contact-divider-line {
    display: none !important;
  }
  .contact-inquiry-grid {
    grid-template-columns: 1fr;
  }
  .contact-inquiry-modern-card {
    margin-top: 14px;
  }
}


/* Modern News list and detail pages */
.news-modern-cell {
  padding: 24px 20px 30px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
}
.news-modern-page,
.news-detail-modern {
  width: min(920px, 100%);
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #223246;
  text-align: left;
}
.news-modern-head {
  text-align: center;
  padding: 4px 10px 18px;
}
.news-modern-eyebrow {
  margin: 0 0 7px;
  color: #0a6f9d;
  font-size: 11px;
  letter-spacing: 1.8px;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 700;
}
.news-modern-head h1,
.news-detail-header h1 {
  margin: 0;
  color: #063f6b;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.2px;
}
.news-modern-head p {
  width: min(720px, 100%);
  margin: 9px auto 0;
  color: #526a7f;
  font-size: 14px;
  line-height: 1.6;
}
.news-modern-list {
  display: grid;
  gap: 16px;
}
.news-modern-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(10, 61, 99, .08);
}
.news-modern-image {
  display: block;
  min-height: 142px;
  border-radius: 13px;
  overflow: hidden;
  background: #edf5fa;
  border: 1px solid #d5e5ef;
  text-decoration: none;
}
.news-modern-image img {
  width: 100%;
  height: 100%;
  min-height: 142px;
  object-fit: cover;
  display: block;
}
.news-modern-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.75), transparent 32%),
    linear-gradient(135deg, #0a5f8d 0%, #083d66 100%);
}
.news-modern-image-placeholder span {
  color: rgba(255,255,255,.9);
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 800;
}
.news-modern-card-body {
  min-width: 0;
  padding: 2px 2px 0;
}
.news-modern-card time,
.news-detail-top time {
  color: #718496;
  font-size: 12px;
  line-height: 1.4;
}
.news-modern-card h2 {
  margin: 7px 0 8px;
  color: #063f6b;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 800;
}
.news-modern-card h2 a {
  color: #063f6b !important;
  text-decoration: none;
}
.news-modern-card h2 a:hover {
  color: #0a6f9d !important;
  text-decoration: underline;
}
.news-modern-card p {
  margin: 0;
  color: #526a7f;
  font-size: 13px;
  line-height: 1.65;
}
.news-modern-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 13px;
  min-width: 96px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef6fb;
  color: #0a5f8d !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #d5e9f5;
}
.news-modern-readmore:hover {
  background: #0a6f9d;
  color: #fff !important;
  text-decoration: none;
}
.news-empty-card {
  padding: 24px;
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 26px rgba(10, 61, 99, .08);
}
.news-empty-card h2 {
  margin: 0;
  color: #063f6b;
  font-size: 22px;
}
.news-empty-card p {
  margin: 8px 0 0;
  color: #607487;
}
.news-detail-modern {
  max-width: 860px;
  padding: 26px 34px 34px;
  border: 1px solid #dbe7f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(10, 61, 99, .10);
}
.news-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f6;
}
.news-detail-back {
  display: inline-flex;
  align-items: center;
  color: #0a5f8d !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.news-detail-back:hover {
  text-decoration: underline;
}
.news-detail-header {
  text-align: center;
  padding: 22px 0 16px;
}
.news-detail-summary {
  width: min(700px, 100%);
  margin: 12px auto 0;
  color: #526a7f;
  font-size: 15px;
  line-height: 1.7;
}
.news-detail-hero-image {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  margin: 8px 0 22px;
  border-radius: 15px;
  border: 1px solid #dbe7f0;
}
.news-detail-body {
  color: #26384a;
  font-size: 15px;
  line-height: 1.85;
}
.news-detail-body p {
  margin: 0 0 16px;
}
.news-detail-body h2,
.news-detail-body h3 {
  color: #063f6b;
  line-height: 1.35;
  margin: 24px 0 12px;
}
.news-detail-body ul,
.news-detail-body ol {
  margin: 0 0 16px 22px;
  padding: 0;
}
.news-detail-body li {
  margin-bottom: 7px;
}
.news-detail-body a {
  color: #0a6f9d !important;
}
@media (max-width: 760px) {
  .news-modern-cell {
    padding: 16px 10px 22px !important;
  }
  .news-modern-head h1,
  .news-detail-header h1 {
    font-size: 24px;
  }
  .news-modern-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .news-modern-image,
  .news-modern-image img {
    min-height: 180px;
  }
  .news-detail-modern {
    padding: 18px 16px 24px;
    border-radius: 15px;
  }
  .news-detail-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}


/* News outer frame alignment and spacing fix */
.news-shell-table {
  margin-bottom: 14px;
}
.news-modern-cell {
  padding-bottom: 34px !important;
}


/* Final News width alignment fix
   Keep the outer News frame aligned with the lower flange strip,
   while preserving a comfortable reading width inside detail articles. */
.news-shell-table {
  width: 100% !important;
  margin: 0 0 14px 0 !important;
  border-collapse: separate;
}

.news-modern-cell {
  padding: 24px 12px 34px !important;
}

.news-modern-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}

.news-modern-list {
  width: 100% !important;
  box-sizing: border-box;
}

.news-modern-card {
  width: 100% !important;
  box-sizing: border-box;
}

.news-detail-modern {
  width: calc(100% - 24px) !important;
  max-width: none !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}

.news-detail-header,
.news-detail-body,
.news-detail-summary {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.news-detail-hero-image {
  width: min(920px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* News subtitle no-wrap on desktop */
.news-modern-head p {
  width: 100% !important;
  max-width: none !important;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .news-modern-head p {
    white-space: normal;
  }
}


/* Global featured product strip title alignment */
.legacy-featured-products .legacy-product-title,
.legacy-featured-products .legacy-product-title:link,
.legacy-featured-products .legacy-product-title:visited {
  text-align: center !important;
}

.legacy-featured-products .legacy-product-card p {
  text-align: center;
}


/* Featured product strip compact vertical spacing */
.legacy-featured-products {
  min-height: 0 !important;
  height: auto !important;
  padding: 10px 12px 10px !important;
}

.legacy-featured-products .legacy-featured-track {
  align-items: stretch;
}

.legacy-featured-products .legacy-product-card {
  box-sizing: border-box;
}


/* Contact page website links center alignment */
.contact-left-sites {
  justify-content: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
}


/* Modern Company Photos / Gallery page */
.company-gallery-shell-table {
  width: 100% !important;
  margin: 0 0 14px 0 !important;
}
.company-gallery-cell {
  padding: 24px 14px 34px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
}
.company-gallery-page {
  width: 100%;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #223246;
  text-align: left;
}
.company-gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid #dbe7f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 61, 99, .08);
}
.company-gallery-eyebrow {
  margin: 0 0 8px;
  color: #0a6f9d;
  font-size: 11px;
  letter-spacing: 1.8px;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 700;
}
.company-gallery-hero h1 {
  margin: 0;
  color: #063f6b;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.2px;
}
.company-gallery-hero p {
  width: min(760px, 100%);
  margin: 10px 0 0;
  color: #526a7f;
  font-size: 14px;
  line-height: 1.65;
}
.company-gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.company-gallery-tags span,
.company-gallery-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef6fb;
  color: #0a5f8d;
  border: 1px solid #d5e9f5;
  font-size: 11px;
  font-weight: 700;
}
.company-gallery-hero-image-wrap {
  min-width: 0;
}
.company-gallery-image-button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
}
.company-gallery-hero-image-wrap .company-gallery-image-button {
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #d6e5ef;
  box-shadow: 0 8px 22px rgba(10, 61, 99, .10);
}
.company-gallery-hero-image-wrap img {
  display: block;
  width: 100%;
  height: 215px;
  object-fit: cover;
}
.company-gallery-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 61, 99, .06);
}
.company-gallery-intro-card h2 {
  margin: 0;
  color: #063f6b;
  font-size: 23px;
  line-height: 1.3;
}
.company-gallery-intro-card p {
  margin: 8px 0 0;
  color: #526a7f;
  font-size: 13px;
  line-height: 1.65;
}
.company-gallery-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.company-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.company-gallery-card {
  overflow: hidden;
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 61, 99, .07);
}
.company-gallery-card img {
  display: block;
  width: 100%;
  height: 178px;
  object-fit: cover;
  transition: transform .22s ease, filter .22s ease;
}
.company-gallery-card:hover img {
  transform: scale(1.035);
  filter: brightness(1.03);
}
.company-gallery-card-body {
  padding: 13px 14px 15px;
}
.company-gallery-card-body span {
  display: block;
  color: #0a6f9d;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  font-weight: 700;
}
.company-gallery-card-body h2 {
  margin: 6px 0 5px;
  color: #063f6b;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}
.company-gallery-card-body p {
  margin: 0;
  color: #526a7f;
  font-size: 12px;
  line-height: 1.55;
  min-height: 38px;
}
.company-gallery-note {
  margin: 18px auto 0;
  color: #65788a;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}
.company-gallery-empty {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px solid #dbe7f0;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.company-gallery-empty h2 {
  margin: 0;
  color: #063f6b;
}
.company-gallery-preview {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(4, 21, 36, .78);
}
.company-gallery-preview.active {
  display: flex;
}
.company-gallery-preview-inner {
  position: relative;
  max-width: min(1080px, 96vw);
  max-height: 92vh;
  padding: 14px 14px 44px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.company-gallery-preview-inner img {
  display: block;
  max-width: calc(96vw - 28px);
  max-height: calc(92vh - 80px);
  border-radius: 12px;
  object-fit: contain;
}
.company-gallery-preview-title {
  position: absolute;
  left: 18px;
  right: 58px;
  bottom: 13px;
  color: #223246;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.company-gallery-preview-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(5, 42, 69, .92);
  color: #fff;
  font-size: 24px;
  line-height: 34px;
  cursor: pointer;
}
@media (max-width: 900px) {
  .company-gallery-hero,
  .company-gallery-intro-card {
    grid-template-columns: 1fr;
  }
  .company-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-gallery-highlights {
    justify-content: flex-start;
  }
}
@media (max-width: 620px) {
  .company-gallery-cell {
    padding: 16px 10px 24px !important;
  }
  .company-gallery-hero {
    padding: 18px 16px;
  }
  .company-gallery-hero h1 {
    font-size: 25px;
  }
  .company-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin company gallery management */
.gallery-create-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.gallery-create-grid label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #34465b;
}
.gallery-create-grid .wide-field {
  grid-column: 1 / -1;
}
.gallery-table-wrap {
  overflow-x: auto;
}
.gallery-admin-table {
  min-width: 1300px;
}
.gallery-table-preview {
  width: 112px;
  height: 76px;
  border: 1px solid #d8e2ec;
  background: #f5f8fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #65758a;
  font-size: 12px;
  overflow: hidden;
  border-radius: 8px;
}
.gallery-table-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .gallery-create-grid {
    grid-template-columns: 1fr;
  }
}


/* Company gallery hero text refinement */
.company-gallery-hero {
  grid-template-columns: minmax(0, 1fr) 360px;
  padding: 26px 28px;
  gap: 28px;
}
.company-gallery-hero-text {
  max-width: 820px;
}
.company-gallery-eyebrow {
  color: #075f8d;
  letter-spacing: 2.6px;
}
.company-gallery-hero h1 {
  font-size: 34px;
  letter-spacing: 1.6px;
  margin-top: 4px;
  margin-bottom: 0;
}
.company-gallery-hero .company-gallery-kicker {
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
  color: #0b5d86;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}
.company-gallery-hero .company-gallery-lead {
  width: min(860px, 100%);
  margin: 8px 0 0;
  color: #4b6278;
  font-size: 14px;
  line-height: 1.75;
}
.company-gallery-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.company-gallery-proof span {
  display: block;
  padding: 11px 12px;
  border: 1px solid #d9e9f4;
  border-radius: 13px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
  box-shadow: 0 5px 16px rgba(10, 61, 99, .045);
}
.company-gallery-proof strong {
  display: block;
  color: #063f6b;
  font-size: 13px;
  line-height: 1.25;
}
.company-gallery-proof small {
  display: block;
  margin-top: 4px;
  color: #63798d;
  font-size: 11px;
  line-height: 1.35;
}
.company-gallery-tags {
  margin-top: 14px;
}
.company-gallery-tags span {
  min-height: 26px;
  padding: 0 12px;
}
.company-gallery-intro-card {
  padding: 20px 24px;
}
.company-gallery-intro-card h2 {
  margin: 2px 0 6px;
  color: #063f6b;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
}
.company-gallery-intro-card p {
  max-width: 760px;
  font-size: 13px;
  line-height: 1.75;
}
@media (max-width: 900px) {
  .company-gallery-hero {
    grid-template-columns: 1fr;
  }
  .company-gallery-proof {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .company-gallery-hero h1 {
    font-size: 27px;
    letter-spacing: .8px;
  }
  .company-gallery-hero .company-gallery-kicker,
  .company-gallery-hero .company-gallery-lead {
    font-size: 13px;
  }
}






/* Home page Selling Leads / What's New old-site orange link color consistency
   Match the legacy hsflanges.com orange link style and prevent visited links from turning purple. */
.legacy-supply a,
.legacy-supply a:link,
.legacy-supply a:visited,
.legacy-news a,
.legacy-news a:link,
.legacy-news a:visited,
.modern-home-module.legacy-supply a,
.modern-home-module.legacy-supply a:link,
.modern-home-module.legacy-supply a:visited,
.modern-home-module.legacy-news a,
.modern-home-module.legacy-news a:link,
.modern-home-module.legacy-news a:visited {
  color: #f05a00 !important;
  text-decoration: none !important;
}

.legacy-supply a:hover,
.legacy-news a:hover,
.modern-home-module.legacy-supply a:hover,
.modern-home-module.legacy-news a:hover {
  color: #d94800 !important;
  text-decoration: underline !important;
}

.legacy-supply li a strong,
.legacy-supply li a:visited strong,
.legacy-news li a strong,
.legacy-news li a:visited strong {
  color: inherit !important;
}

/* Pre-launch public UI polish: consistent buttons, tables, mobile behavior */
body:not(.admin-layout-page) .modern-quote-link,
body:not(.admin-layout-page) .modern-inquiry-callout__button,
body:not(.admin-layout-page) .news-modern-readmore,
body:not(.admin-layout-page) .visit-modern-actions button[type="submit"],
body:not(.admin-layout-page) .inquiry-modern-actions button[type="submit"],
body:not(.admin-layout-page) .contact-inquiry-actions button[type="submit"] {
  border-radius: 5px !important;
  background: linear-gradient(180deg, #0b6fb8 0%, #07588f 100%) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(8, 88, 143, .18) !important;
  text-decoration: none !important;
}
body:not(.admin-layout-page) .modern-quote-link:hover,
body:not(.admin-layout-page) .modern-inquiry-callout__button:hover,
body:not(.admin-layout-page) .news-modern-readmore:hover,
body:not(.admin-layout-page) .visit-modern-actions button[type="submit"]:hover,
body:not(.admin-layout-page) .inquiry-modern-actions button[type="submit"]:hover,
body:not(.admin-layout-page) .contact-inquiry-actions button[type="submit"]:hover {
  filter: brightness(1.04);
  text-decoration: none !important;
}
body:not(.admin-layout-page) .btn1 {
  min-height: 30px !important;
  padding: 5px 12px !important;
  border: 1px solid #9dbbd3 !important;
  border-radius: 4px !important;
  background: linear-gradient(180deg, #ffffff 0%, #e8f1f8 100%) !important;
  color: #195c90 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
body:not(.admin-layout-page) table.text5 {
  border-collapse: separate !important;
  border-spacing: 1px !important;
  background: #c6d2dc !important;
  border: 1px solid #bdcbd7 !important;
}
body:not(.admin-layout-page) table.text5 td,
body:not(.admin-layout-page) table.text5 th {
  padding: 6px 7px !important;
  border: 0 !important;
  line-height: 1.35 !important;
}
body:not(.admin-layout-page) table.text5 tr:first-child td,
body:not(.admin-layout-page) table.text5 tr:first-child th {
  background: #0b5d8a !important;
  color: #fff !important;
  font-weight: 800 !important;
}
body:not(.admin-layout-page) table.text5 tr:not(:first-child) td {
  background: #fff !important;
}
body:not(.admin-layout-page) table.text5 tr:nth-child(even):not(:first-child) td {
  background: #f7fafc !important;
}
body:not(.admin-layout-page) .legacy-page-content,
body:not(.admin-layout-page) .white-bg1 {
  color: #243244;
}
body:not(.admin-layout-page) .seo-h1 {
  letter-spacing: .2px;
}
body:not(.admin-layout-page) .legacy-featured-products .legacy-product-card {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body:not(.admin-layout-page) .legacy-featured-products .legacy-product-card:hover {
  border-color: #b8cfdf;
  box-shadow: 0 8px 20px rgba(18, 58, 96, .08);
  transform: translateY(-1px);
}
@media (max-width: 760px) {
  body:not(.admin-layout-page) .outertable,
  body:not(.admin-layout-page) .white-bg1,
  body:not(.admin-layout-page) .news-shell-table,
  body:not(.admin-layout-page) .company-gallery-shell-table {
    width: 100% !important;
  }
  body:not(.admin-layout-page) img {
    max-width: 100%;
    height: auto;
  }
  body:not(.admin-layout-page) table.text5 {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  body:not(.admin-layout-page) .legacy-featured-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  body:not(.admin-layout-page) .legacy-product-image {
    height: 86px !important;
  }
  body:not(.admin-layout-page) .modern-inquiry-callout__title {
    font-size: 20px !important;
  }
}


/* About us page: restore legacy heading style and polish flange range tables */
body.aboutus-page h1.seo-h1,
body.aboutus-page h1.seo-h1 span,
body.aboutus-page h1.seo-h1 font {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Impact, Verdana, Arial, Helvetica, sans-serif !important;
  font-size: 19px !important;
  line-height: 24px !important;
  font-weight: normal !important;
  letter-spacing: 0 !important;
  color: #195c90 !important;
  text-transform: none !important;
}

body.aboutus-page .heading1,
body.aboutus-page .heading1 font {
  font-family: Impact, Verdana, Arial, Helvetica, sans-serif !important;
  font-weight: normal !important;
  color: #195c90 !important;
}

body.aboutus-page .aboutus-range-table {
  width: 100% !important;
  margin: 8px 0 18px !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 1px solid #c8d7e3 !important;
  background: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
}

body.aboutus-page .aboutus-range-table td {
  padding: 7px 8px !important;
  border: 1px solid #d8e3eb !important;
  background: #fbfdff !important;
  color: #1f2f3f !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  vertical-align: middle !important;
}

body.aboutus-page .aboutus-range-table tr:first-child td {
  padding: 8px 10px !important;
  background: linear-gradient(180deg, #0d6898 0%, #07537e 100%) !important;
  color: #ffffff !important;
  text-align: center !important;
  font-weight: 700 !important;
  letter-spacing: .2px !important;
}

body.aboutus-page .aboutus-range-table tr:first-child td *,
body.aboutus-page .aboutus-range-table tr:first-child td font,
body.aboutus-page .aboutus-range-table tr:first-child td span {
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.aboutus-page .aboutus-range-table tr:nth-child(2) td {
  background: #eef5fb !important;
  color: #123a60 !important;
  text-align: center !important;
  font-weight: 700 !important;
}

body.aboutus-page .aboutus-range-table tr:nth-child(2) td *,
body.aboutus-page .aboutus-range-table tr:nth-child(2) td font,
body.aboutus-page .aboutus-range-table tr:nth-child(2) td span {
  color: #123a60 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.aboutus-page .aboutus-range-table tr:nth-child(n+3):nth-child(even) td {
  background: #f6f9fc !important;
}

body.aboutus-page .aboutus-range-table td[rowspan] {
  background: #f2f7fb !important;
  color: #123a60 !important;
  font-weight: 700 !important;
}

body.aboutus-page .aboutus-range-table td[rowspan] * {
  color: #123a60 !important;
}

body.aboutus-page .aboutus-range-table a,
body.aboutus-page .aboutus-range-table a:visited {
  color: #075f8d !important;
}

@media (max-width: 760px) {
  body.aboutus-page .aboutus-range-table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
}


/* Right sidebar Hot Flanges Exporting module
   The homepage selling-leads area stays compact. The right sidebar shows actual active records, up to 17 items. */
.legacy-supply.sidebar-supply {
  height: auto !important;
  overflow: visible !important;
  padding: 0 2px 2px 0;
}
.legacy-supply.sidebar-supply ul {
  margin: 0;
  padding: 3px 0 0 18px;
}
.legacy-supply.sidebar-supply li {
  margin: 0 0 8px;
  padding: 0;
  line-height: 1.28;
}
.legacy-supply.sidebar-supply a,
.legacy-supply.sidebar-supply a:link,
.legacy-supply.sidebar-supply a:visited {
  color: #f05a00 !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.28;
  text-decoration: none !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
.legacy-supply.sidebar-supply a:hover {
  color: #d94800 !important;
  text-decoration: underline !important;
}
.legacy-supply.sidebar-supply strong {
  color: inherit !important;
}


.legacy-supply.sidebar-supply li:nth-child(n+13) {
  margin-bottom: 6px;
}


/* Homepage Selling Leads and What's New modules are separate from the right sidebar module.
   Homepage modules show up to 6 records and remain compact. Sidebar Hot Flanges Exporting shows up to 17 records. */
.legacy-supply.homepage-supply,
.legacy-news {
  height: 120px;
  overflow: hidden;
}
.legacy-supply.homepage-supply ul,
.legacy-news ul {
  padding-top: 3px;
}
.legacy-supply.homepage-supply li,
.legacy-news li {
  margin-bottom: 4px;
  line-height: 1.18;
}
.legacy-supply.homepage-supply a,
.legacy-supply.homepage-supply strong,
.legacy-news a,
.legacy-news span {
  line-height: 1.18;
}


/* Company Photos hero compact refinement */
.company-gallery-hero {
  padding: 18px 24px !important;
  gap: 22px !important;
  align-items: center !important;
}
.company-gallery-hero-text {
  max-width: 820px !important;
}
.company-gallery-hero .company-gallery-eyebrow {
  margin: 0 0 4px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: 3px !important;
}
.company-gallery-hero h1,
.company-gallery-hero .seo-h1 {
  margin: 0 0 8px !important;
  font-size: 26px !important;
  line-height: 1.15 !important;
}
.company-gallery-hero .company-gallery-kicker {
  margin: 0 0 6px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
.company-gallery-hero .company-gallery-lead {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
.company-gallery-proof {
  gap: 10px !important;
  margin-top: 12px !important;
}
.company-gallery-proof span {
  padding: 8px 11px !important;
  border-radius: 11px !important;
}
.company-gallery-proof strong {
  font-size: 12px !important;
  line-height: 1.2 !important;
}
.company-gallery-proof small {
  margin-top: 3px !important;
  font-size: 10.5px !important;
  line-height: 1.25 !important;
}
.company-gallery-tags {
  margin-top: 10px !important;
  gap: 8px !important;
}
.company-gallery-tags span {
  min-height: 24px !important;
  padding: 0 11px !important;
  font-size: 11px !important;
}
.company-gallery-hero-image,
.company-gallery-hero img {
  max-height: 210px !important;
}
.company-gallery-hero-image img {
  width: 100% !important;
  height: 210px !important;
  object-fit: cover !important;
}
.company-gallery-intro-card {
  margin-top: 14px !important;
  padding: 16px 22px !important;
}
@media (max-width: 900px) {
  .company-gallery-hero {
    min-height: 84px !important;
    padding: 12px 18px !important;
    margin-bottom: 18px !important;
  }
  .company-gallery-hero-image img {
    height: auto !important;
    max-height: 210px !important;
  }
}


/* News page header V2 refinement */
.news-modern-head-v2 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 430px !important;
  align-items: center !important;
  gap: 24px !important;
  min-height: 120px !important;
  margin: 18px 24px 22px !important;
  padding: 20px 24px 20px 30px !important;
  border: 1px solid #d7e3ec !important;
  border-left: 7px solid #075f8d !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 55, 85, .06) !important;
  text-align: left !important;
}
.news-modern-head-v2 .news-modern-eyebrow {
  margin: 0 0 6px !important;
  color: #0a668e !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 2.8px !important;
  text-transform: uppercase !important;
}
.news-modern-head-v2 h1,
.news-modern-head-v2 .seo-h1 {
  margin: 0 0 8px !important;
  color: #083f63 !important;
  font-size: 34px !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  letter-spacing: .3px !important;
  text-align: left !important;
}
.news-modern-head-v2 .news-modern-head-main p:last-child {
  max-width: 760px !important;
  margin: 0 !important;
  color: #40566a !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.news-modern-head-side {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.news-modern-head-side span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  min-width: 126px !important;
  padding: 0 12px !important;
  border: 1px solid #cfe3f0 !important;
  border-radius: 999px !important;
  background: #eef6fb !important;
  color: #0a5f89 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
.news-modern-head-side small {
  flex-basis: 100% !important;
  margin-top: 4px !important;
  color: #6d7d8a !important;
  font-size: 12px !important;
  text-align: right !important;
}
@media (max-width: 900px) {
  .news-modern-head-v2 {
    grid-template-columns: 1fr !important;
    margin: 12px 12px 18px !important;
    padding: 18px 18px 18px 22px !important;
  }
  .news-modern-head-side {
    justify-content: flex-start !important;
  }
  .news-modern-head-side small {
    text-align: left !important;
  }
  .news-modern-head-v2 h1,
  .news-modern-head-v2 .seo-h1 {
    font-size: 28px !important;
  }
}


/* News page header V3 compact line refinement */
.news-modern-head-v3 {
  display: block !important;
  min-height: 0 !important;
  margin: 10px 24px 18px !important;
  padding: 15px 26px 16px 30px !important;
  border: 1px solid #d7e3ec !important;
  border-left: 6px solid #075f8d !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(15, 55, 85, .045) !important;
  text-align: left !important;
}
.news-modern-head-v3 .news-modern-head-line {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
  min-width: 0 !important;
}
.news-modern-head-v3 .news-modern-eyebrow,
.news-modern-head-v3 h1.news-modern-eyebrow,
.news-modern-head-v3 .seo-h1.news-modern-eyebrow {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #0a668e !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 2.8px !important;
  text-transform: uppercase !important;
  text-align: left !important;
}
.news-modern-topics {
  flex: 0 1 auto !important;
  color: #075f8d !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}
.news-modern-topics em {
  margin: 0 8px !important;
  color: #7f94a4 !important;
  font-style: normal !important;
}
.news-modern-latest {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  color: #6b7b89 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
.news-modern-head-v3 > p {
  margin: 9px 0 0 !important;
  max-width: none !important;
  color: #34495d !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  text-align: left !important;
}
@media (max-width: 900px) {
  .news-modern-head-v3 {
    margin: 8px 12px 14px !important;
    padding: 14px 16px 15px 20px !important;
  }
  .news-modern-head-v3 .news-modern-head-line {
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
  }
  .news-modern-topics {
    white-space: normal !important;
  }
  .news-modern-latest {
    width: 100% !important;
    margin-left: 0 !important;
  }
}


/* Site search module and search results page */
.site-search-form {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}
.site-search-form label {
  display: block;
}
.site-search-form label > span {
  display: block;
  margin: 0 0 6px;
  color: #607182;
  font-size: 11px;
  line-height: 1.35;
}
.site-search-form-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 260px;
  min-height: 34px;
  border: 1px solid #cdd9e4;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
}
.site-search-form-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  border: 0 !important;
  outline: 0;
  background: transparent;
  color: #213547;
  font-size: 12px;
}
.site-search-form-row button {
  flex: 0 0 42px;
  width: 42px;
  height: 34px;
  border: 0;
  border-left: 1px solid #d4e0ea;
  background: linear-gradient(180deg, #f4f9fd 0%, #e7f1f8 100%);
  color: #0b6696;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}
.site-search-form-row button:hover {
  background: #0b6696;
  color: #fff;
}

.site-search-shell-table {
  margin-top: 8px;
}
.site-search-page-cell {
  padding: 0 !important;
}
.site-search-page {
  padding: 22px 26px 28px;
  font-family: Arial, Helvetica, sans-serif;
  color: #273a4b;
}
.site-search-hero {
  padding: 22px 26px;
  border: 1px solid #d7e3ec;
  border-left: 6px solid #075f8d;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 10px 24px rgba(15,55,85,.055);
}
.site-search-eyebrow {
  margin: 0 0 8px;
  color: #0a668e;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.8px;
}
.site-search-hero h1,
.site-search-hero .seo-h1 {
  margin: 0 0 8px !important;
  color: #083f63 !important;
  font-size: 30px !important;
  line-height: 1.15 !important;
  text-align: left !important;
}
.site-search-hero p {
  margin: 0 0 16px;
  color: #40566a;
  font-size: 14px;
  line-height: 1.65;
}
.site-search-main-form {
  display: flex;
  width: min(760px, 100%);
  min-height: 44px;
  border: 1px solid #cbd9e5;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.035);
}
.site-search-main-form input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: #20384b;
  font-size: 14px;
}
.site-search-main-form button {
  flex: 0 0 120px;
  border: 0;
  border-left: 1px solid #cbd9e5;
  background: #0b6696;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.site-search-main-form button:hover {
  background: #084f78;
}
.site-search-summary {
  margin: 18px 0 12px;
  color: #4a5d70;
  font-size: 13px;
}
.site-search-summary strong {
  color: #083f63;
  font-size: 20px;
}
.site-search-summary span {
  color: #0b6696;
  font-weight: 800;
}
.site-search-results {
  display: grid;
  gap: 12px;
}
.site-search-result {
  padding: 16px 18px;
  border: 1px solid #d7e3ec;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15,55,85,.035);
}
.site-search-result-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.site-search-result-meta span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef6fb;
  color: #0a5f89;
  font-size: 11px;
  font-weight: 800;
}
.site-search-result-meta a {
  color: #718091 !important;
  font-size: 12px;
  font-weight: 400 !important;
  text-decoration: none;
}
.site-search-result h2 {
  margin: 0 0 7px !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
}
.site-search-result h2 a {
  color: #083f63 !important;
  text-decoration: none;
}
.site-search-result h2 a:hover {
  color: #0b6696 !important;
  text-decoration: underline;
}
.site-search-result p {
  margin: 0;
  color: #42576b;
  font-size: 13px;
  line-height: 1.65;
}
.site-search-tips,
.site-search-empty {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #d7e3ec;
  border-radius: 9px;
  background: #fff;
}
.site-search-tips h2,
.site-search-empty h2 {
  margin: 0 0 10px !important;
  color: #083f63 !important;
  font-size: 18px !important;
}
.site-search-tips div,
.site-search-empty-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.site-search-tips a,
.site-search-empty-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef6fb;
  color: #0a5f89 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 800 !important;
}
@media (max-width: 720px) {
  .site-search-page {
    padding: 14px 12px 20px;
  }
  .site-search-hero {
    padding: 18px;
  }
  .site-search-main-form {
    flex-direction: column;
  }
  .site-search-main-form input {
    min-height: 42px;
  }
  .site-search-main-form button {
    flex-basis: 40px;
    width: 100%;
    border-left: 0;
    border-top: 1px solid #cbd9e5;
  }
}


.site-search-highlight {
  display: inline;
  padding: 0 2px;
  border-radius: 2px;
  background: #fff1a6;
  color: #a64200;
  font-weight: 800;
}


/* Company Photos premium hero copy refinement */
.company-gallery-hero {
  grid-template-columns: minmax(0, 1fr) 360px !important;
  padding: 22px 26px !important;
  gap: 28px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}
.company-gallery-hero .company-gallery-eyebrow {
  margin: 0 0 8px !important;
  color: #0b62a5 !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: 4px !important;
}
.company-gallery-hero h1,
.company-gallery-hero .seo-h1 {
  margin: 0 0 14px !important;
  color: #071944 !important;
  font-size: 38px !important;
  line-height: 1.06 !important;
  font-weight: 800 !important;
  letter-spacing: .2px !important;
}
.company-gallery-hero .company-gallery-kicker {
  margin: 0 0 18px !important;
  color: #095eb2 !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: .8px !important;
}
.company-gallery-hero .company-gallery-lead {
  display: none !important;
}
.company-gallery-proof-premium,
.company-gallery-proof {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 0 !important;
}
.company-gallery-proof-premium span,
.company-gallery-proof span {
  position: relative !important;
  display: block !important;
  min-height: 62px !important;
  padding: 13px 14px 12px 58px !important;
  border: 1px solid #d7e4ef !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 8px 18px rgba(8, 49, 83, .035) !important;
}
.company-gallery-proof-premium span::before,
.company-gallery-proof span::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #eef6fb;
  border: 1px solid #dcebf5;
}
.company-gallery-proof-premium span::after,
.company-gallery-proof span::after {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b5d9a;
  font-size: 18px;
  font-weight: 800;
}
.company-gallery-proof-premium span:nth-child(1)::after,
.company-gallery-proof span:nth-child(1)::after { content: "□"; }
.company-gallery-proof-premium span:nth-child(2)::after,
.company-gallery-proof span:nth-child(2)::after { content: "⌄"; }
.company-gallery-proof-premium span:nth-child(3)::after,
.company-gallery-proof span:nth-child(3)::after { content: "▥"; }
.company-gallery-proof-premium strong,
.company-gallery-proof strong {
  display: block !important;
  color: #073f78 !important;
  font-size: 16px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}
.company-gallery-proof-premium small,
.company-gallery-proof small {
  display: block !important;
  margin-top: 6px !important;
  color: #344a60 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}
.company-gallery-tags {
  margin-top: 16px !important;
  gap: 10px !important;
}
.company-gallery-tags span {
  min-height: 30px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  color: #074f89 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  background: #fbfdff !important;
  border-color: #d4e3ee !important;
}
.company-gallery-hero-image-wrap .company-gallery-image-button {
  border-radius: 16px !important;
  box-shadow: 0 12px 28px rgba(8, 49, 83, .14) !important;
}
.company-gallery-hero-image-wrap img {
  height: 230px !important;
  max-height: 230px !important;
}
@media (max-width: 980px) {
  .company-gallery-hero {
    grid-template-columns: 1fr !important;
  }
  .company-gallery-proof-premium,
  .company-gallery-proof {
    grid-template-columns: 1fr !important;
  }
  .company-gallery-hero h1,
  .company-gallery-hero .seo-h1 {
    font-size: 30px !important;
  }
  .company-gallery-hero .company-gallery-kicker {
    font-size: 16px !important;
  }
}


/* Company Photos simple compact hero refinement */
.company-gallery-hero {
  grid-template-columns: minmax(0, 1fr) 320px !important;
  gap: 22px !important;
  align-items: center !important;
  padding: 18px 22px !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(10, 61, 99, .06) !important;
}
.company-gallery-hero .company-gallery-eyebrow {
  margin: 0 0 6px !important;
  color: #0a5f8d !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 3.2px !important;
}
.company-gallery-hero h1,
.company-gallery-hero .seo-h1 {
  margin: 0 0 6px !important;
  color: #063f6b !important;
  font-size: 26px !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
  letter-spacing: -.1px !important;
}
.company-gallery-hero .company-gallery-kicker {
  margin: 0 0 12px !important;
  color: #075f9a !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  letter-spacing: .3px !important;
}
.company-gallery-hero .company-gallery-lead {
  display: none !important;
}
.company-gallery-simple-line {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 12px !important;
}
.company-gallery-simple-line span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 0 10px !important;
  border: 1px solid #d6e7f2 !important;
  border-radius: 999px !important;
  background: #f5faff !important;
  color: #174f79 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}
.company-gallery-proof,
.company-gallery-proof-premium {
  display: none !important;
}
.company-gallery-proof span,
.company-gallery-proof-premium span {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.company-gallery-proof span::before,
.company-gallery-proof span::after,
.company-gallery-proof-premium span::before,
.company-gallery-proof-premium span::after {
  content: none !important;
  display: none !important;
}
.company-gallery-tags {
  margin-top: 0 !important;
  gap: 8px !important;
}
.company-gallery-tags span {
  min-height: 25px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  background: #eef6fb !important;
  border: 1px solid #d5e9f5 !important;
  color: #0a5f8d !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
.company-gallery-hero-image-wrap .company-gallery-image-button {
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #d6e5ef !important;
  box-shadow: 0 8px 20px rgba(10, 61, 99, .10) !important;
}
.company-gallery-hero-image-wrap img {
  width: 100% !important;
  height: 188px !important;
  max-height: 188px !important;
  object-fit: cover !important;
}
.company-gallery-intro-card {
  margin-top: 14px !important;
}
@media (max-width: 900px) {
  .company-gallery-hero {
    grid-template-columns: 1fr !important;
    padding: 16px 18px !important;
  }
  .company-gallery-hero h1,
  .company-gallery-hero .seo-h1 {
    font-size: 24px !important;
  }
  .company-gallery-hero .company-gallery-kicker {
    font-size: 14px !important;
  }
  .company-gallery-hero-image-wrap img {
    height: auto !important;
    max-height: 210px !important;
  }
}


/* Company Photos ultra simple hero refinement */
.company-gallery-hero {
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 22px !important;
  align-items: center !important;
  padding: 18px 22px !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(10, 61, 99, .06) !important;
}
.company-gallery-hero .company-gallery-eyebrow {
  margin: 0 0 7px !important;
  color: #0a5f8d !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 3.2px !important;
}
.company-gallery-hero h1,
.company-gallery-hero .seo-h1 {
  margin: 0 0 7px !important;
  color: #063f6b !important;
  font-size: 26px !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
}
.company-gallery-hero .company-gallery-kicker {
  margin: 0 0 15px !important;
  color: #075f9a !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  letter-spacing: .3px !important;
}
.company-gallery-hero .company-gallery-lead,
.company-gallery-simple-line,
.company-gallery-proof,
.company-gallery-proof-premium,
.company-gallery-intro-card {
  display: none !important;
}
.company-gallery-tags {
  margin-top: 0 !important;
  gap: 8px !important;
}
.company-gallery-tags span {
  min-height: 25px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  background: #eef6fb !important;
  border: 1px solid #d5e9f5 !important;
  color: #0a5f8d !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
.company-gallery-hero-image-wrap .company-gallery-image-button {
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #d6e5ef !important;
  box-shadow: 0 8px 20px rgba(10, 61, 99, .10) !important;
}
.company-gallery-hero-image-wrap img {
  width: 100% !important;
  height: 185px !important;
  max-height: 185px !important;
  object-fit: cover !important;
}
.company-gallery-grid {
  margin-top: 14px !important;
}
@media (max-width: 900px) {
  .company-gallery-hero {
    grid-template-columns: 1fr !important;
    padding: 16px 18px !important;
  }
  .company-gallery-hero h1,
  .company-gallery-hero .seo-h1 {
    font-size: 24px !important;
  }
  .company-gallery-hero .company-gallery-kicker {
    font-size: 14px !important;
  }
  .company-gallery-hero-image-wrap img {
    height: auto !important;
    max-height: 210px !important;
  }
}


/* Company Photos selected final hero: clean split banner, no category buttons */
.company-gallery-cell {
  padding: 10px 14px 10px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
}
.company-gallery-page {
  max-width: none !important;
}
.company-gallery-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40% !important;
  gap: 22px !important;
  align-items: center !important;
  min-height: 265px !important;
  padding: 20px 24px !important;
  border: 1px solid #dbe7f0 !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 0% 100%, rgba(205, 230, 248, .38) 0, rgba(205, 230, 248, .0) 40%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 45%, #f4f9fd 100%) !important;
  box-shadow: 0 14px 32px rgba(10, 61, 99, .06) !important;
  overflow: hidden !important;
}
.company-gallery-hero-text {
  max-width: 760px !important;
  position: relative !important;
  z-index: 2 !important;
}
.company-gallery-hero .company-gallery-eyebrow {
  margin: 0 0 12px !important;
  color: #0b67bd !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 4.8px !important;
  text-transform: uppercase !important;
}
.company-gallery-hero .company-gallery-eyebrow::after {
  content: "" !important;
  display: block !important;
  width: 56px !important;
  height: 2px !important;
  margin-top: 12px !important;
  background: #0b67bd !important;
  border-radius: 99px !important;
}
.company-gallery-hero h1,
.company-gallery-hero .seo-h1 {
  margin: 0 0 10px !important;
  color: #063f6b !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 30px !important;
  line-height: 1.13 !important;
  font-weight: 800 !important;
  letter-spacing: -.4px !important;
  text-align: left !important;
}
.company-gallery-hero .company-gallery-kicker {
  max-width: 620px !important;
  margin: 0 !important;
  color: #5f6f7e !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  letter-spacing: .1px !important;
}
.company-gallery-hero .company-gallery-lead,
.company-gallery-simple-line,
.company-gallery-proof,
.company-gallery-proof-premium,
.company-gallery-tags,
.company-gallery-intro-card {
  display: none !important;
}
.company-gallery-hero-image-wrap {
  position: relative !important;
  z-index: 1 !important;
  min-width: 0 !important;
  align-self: center !important;
}
.company-gallery-hero-image-wrap::before {
  content: "" !important;
  position: absolute !important;
  left: -54px !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 110px !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,.72) 42%, rgba(255,255,255,0) 100%) !important;
}
.company-gallery-hero-image-wrap .company-gallery-image-button {
  display: block !important;
  width: 100% !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: 0 12px 28px rgba(10, 61, 99, .12) !important;
  cursor: zoom-in !important;
}
.company-gallery-hero-image-wrap img {
  display: block !important;
  width: 100% !important;
  height: 225px !important;
  max-height: 225px !important;
  object-fit: cover !important;
}
.company-gallery-grid {
  margin-top: 10px !important;
}
@media (max-width: 980px) {
  .company-gallery-hero {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 16px !important;
  }
  .company-gallery-hero h1,
  .company-gallery-hero .seo-h1 {
    font-size: 26px !important;
  }
  .company-gallery-hero .company-gallery-kicker {
    font-size: 14px !important;
  }
  .company-gallery-hero-image-wrap::before {
    display: none !important;
  }
  .company-gallery-hero-image-wrap img {
    height: auto !important;
    max-height: 225px !important;
  }
}
@media (max-width: 980px) {
  .company-gallery-hero {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 10px 16px !important;
  }
  .company-gallery-hero h1,
  .company-gallery-hero .seo-h1 {
    font-size: 34px !important;
  }
  .company-gallery-hero .company-gallery-kicker {
    font-size: 16px !important;
  }
  .company-gallery-hero-image-wrap::before {
    display: none !important;
  }
  .company-gallery-hero-image-wrap img {
    height: auto !important;
    max-height: 260px !important;
  }
}

/* Company Photos final compact banner
   The gallery page should feel like a refined catalogue page, not a homepage hero. */
.company-gallery-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 450px !important;
  gap: 22px !important;
  align-items: center !important;
  min-height: 150px !important;
  padding: 14px 18px 14px 24px !important;
  border: 1px solid #d7e2ea !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
.company-gallery-hero-text {
  max-width: 520px !important;
}
.company-gallery-hero .company-gallery-eyebrow {
  margin: 0 0 8px !important;
  color: #075f9a !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 4px !important;
}
.company-gallery-hero .company-gallery-eyebrow::after {
  width: 44px !important;
  height: 2px !important;
  margin-top: 8px !important;
  background: #0b67bd !important;
}
.company-gallery-hero h1,
.company-gallery-hero .seo-h1 {
  margin: 0 0 4px !important;
  color: #063f6b !important;
  font-size: 21px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}
.company-gallery-hero .company-gallery-kicker {
  margin: 0 !important;
  color: #536b82 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}
.company-gallery-hero .company-gallery-lead,
.company-gallery-simple-line,
.company-gallery-proof,
.company-gallery-proof-premium,
.company-gallery-tags,
.company-gallery-intro-card {
  display: none !important;
}
.company-gallery-hero-image-wrap {
  align-self: center !important;
}
.company-gallery-hero-image-wrap::before {
  display: none !important;
}
.company-gallery-hero-image-wrap .company-gallery-image-button {
  border-radius: 8px !important;
  border: 1px solid #cfdce6 !important;
  box-shadow: 0 4px 12px rgba(10, 61, 99, .08) !important;
}
.company-gallery-hero-image-wrap img {
  width: 100% !important;
  height: 126px !important;
  max-height: 126px !important;
  object-fit: cover !important;
}
@media (max-width: 980px) {
  .company-gallery-hero {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }
  .company-gallery-hero-text {
    max-width: none !important;
  }
  .company-gallery-hero h1,
  .company-gallery-hero .seo-h1 {
    font-size: 21px !important;
  }
  .company-gallery-hero-image-wrap img {
    height: auto !important;
    max-height: 190px !important;
  }
}

/* Company Photos title-only banner per latest direction */
.company-gallery-hero {
  grid-template-columns: 1fr !important;
  min-height: 92px !important;
  padding: 14px 26px 12px !important;
  margin-bottom: 22px !important;
}
.company-gallery-hero-text {
  max-width: 100% !important;
}
.company-gallery-hero-image-wrap {
  display: none !important;
}
.company-gallery-hero .company-gallery-eyebrow {
  font-size: 20px !important;
  letter-spacing: 6px !important;
  margin-bottom: 8px !important;
}
.company-gallery-hero .company-gallery-eyebrow::after {
  width: 70px !important;
  margin-top: 9px !important;
}
.company-gallery-hero h1,
.company-gallery-hero .seo-h1 {
  font-size: 42px !important;
  line-height: 1.15 !important;
  margin-bottom: 0 !important;
}
.company-gallery-hero .company-gallery-kicker {
  display: none !important;
}
@media (max-width: 760px) {
  .company-gallery-hero {
    padding: 16px 18px !important;
  }
  .company-gallery-hero .company-gallery-eyebrow {
    font-size: 14px !important;
    letter-spacing: 3.5px !important;
  }
  .company-gallery-hero h1,
  .company-gallery-hero .seo-h1 {
    font-size: 30px !important;
  }
  .company-gallery-hero .company-gallery-kicker {
    font-size: 18px !important;
  }
}

/* Contact page primary inquiry email highlight */
.contact-email-row {
  padding: 14px 0 16px !important;
}
.contact-primary-email,
.contact-primary-email:link,
.contact-primary-email:visited {
  display: inline-block !important;
  margin-top: 5px !important;
  padding: 6px 10px !important;
  border: 1px solid #f0b8a0 !important;
  border-radius: 6px !important;
  background: #fff4ee !important;
  color: #bd0000 !important;
  font-size: 28px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: .2px !important;
  text-decoration: none !important;
}
.contact-primary-email:hover {
  background: #ffe8dc !important;
  color: #9b0000 !important;
  text-decoration: none !important;
}
@media (max-width: 760px) {
  .contact-primary-email,
  .contact-primary-email:link,
  .contact-primary-email:visited {
    font-size: 22px !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
}

/* Products page: keep both catalogue section headings visually aligned. */
.products-list-heading {
  padding: 8px 0 4px !important;
  font-family: Impact, Verdana, Arial, Helvetica, sans-serif !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  color: #195c90 !important;
  letter-spacing: 0 !important;
}
.products-list-heading h1,
.products-list-heading h1.seo-h1 {
  margin: 0 !important;
  padding: 0 !important;
  font: inherit !important;
  color: inherit !important;
  letter-spacing: 0 !important;
}

/* Mobile-only compatibility layer: preserve the desktop legacy layout. */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  body:not(.admin-layout-page) .outertable,
  body:not(.admin-layout-page) .innertable {
    width: 100% !important;
    min-width: 0 !important;
  }
  body:not(.admin-layout-page) .outertable > tbody > tr > td,
  body:not(.admin-layout-page) .innertable > tbody > tr > td {
    max-width: 100vw;
  }
  body:not(.admin-layout-page) img {
    max-width: 100%;
    height: auto;
  }
  body:not(.admin-layout-page) .menu-bg {
    height: auto !important;
    min-height: 42px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  body:not(.admin-layout-page) .menu,
  body:not(.admin-layout-page) #lists {
    white-space: nowrap;
  }
  body:not(.admin-layout-page) #lists {
    display: flex;
    width: max-content;
    min-width: 100%;
  }
  body:not(.admin-layout-page) #lists > li {
    flex: 0 0 auto;
  }
  body:not(.admin-layout-page) #lists > li > div {
    display: none !important;
  }
  body:not(.admin-layout-page) table.text5,
  body:not(.admin-layout-page) .mobile-scroll-table {
    display: block;
    max-width: 100vw !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  body:not(.admin-layout-page) .legacy-featured-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body:not(.admin-layout-page) .contact-main-shell,
  body:not(.admin-layout-page) .contact-left-column,
  body:not(.admin-layout-page) .contact-form-column {
    display: block;
    width: 100% !important;
  }
  body:not(.admin-layout-page) .contact-divider-col {
    display: none;
  }
  body:not(.admin-layout-page) .contact-inquiry-modern-card {
    width: 100%;
  }
  body:not(.admin-layout-page) .products-list-heading {
    font-size: 20px !important;
  }
}
