/* About Us page-only overrides (phase 2, non-breaking) */

.aboutus-page {
  background: #ffffff;
  color: #1a1a1a;
}

.aboutus-outer {
  max-width: 1200px;
}

.aboutus-layout {
  width: 100%;
  table-layout: fixed;
}

.aboutus-sidebar {
  width: 280px;
  vertical-align: top;
}

.aboutus-main {
  vertical-align: top;
}

.aboutus-content {
  line-height: 1.6;
  font-size: 14px;
}

.aboutus-content ul {
  margin: 10px 0 16px 20px;
  padding: 0;
}

.aboutus-content li {
  margin: 6px 0;
}

.aboutus-content img {
  max-width: 100%;
  height: auto;
}

.homepage-content {
  font-size: 15px;
}

.homepage-hero {
  margin-bottom: 18px;
}

.homepage-title {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.1;
  color: #17324d;
}

.homepage-lead {
  margin: 0 0 12px;
  font-size: 18px;
  color: #33475b;
}

.homepage-manufacture-callout {
  margin: 12px 0 0;
  padding: 12px;
  border-left: 4px solid #6fb1d9;
  background: #f3f9fd;
  border-radius: 8px;
}

.homepage-services-list {
  columns: 2;
  column-gap: 28px;
  margin: 12px 0 0 18px;
  padding: 0;
}

.homepage-services-list li {
  break-inside: avoid;
  margin: 0 0 8px;
}

.monitor-content {
  font-size: 15px;
}

.monitor-title {
  margin-bottom: 12px;
}

.monitor-hero-grid {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.monitor-hero-media,
.monitor-hero-copy {
  flex: 1;
}

.monitor-hero-media img {
  width: 100%;
  max-width: 420px;
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  background: #ffffff;
}

.monitor-contact-wrap {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.monitor-slideshow-wrap {
  max-width: 900px;
}

#monitor-slideshow-image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #ffffff;
}

.monitor-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.monitor-gallery-item {
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  padding: 12px;
  background: #f8fbfe;
}

.monitor-gallery-item h3 {
  margin: 0 0 6px;
}

.monitor-gallery-item p {
  margin: 0 0 10px;
}

.monitor-gallery-item img {
  width: 100%;
  border-radius: 8px;
  background: #ffffff;
}

.monitor-shipping-card {
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  padding: 14px;
  background: #f8fbfe;
}

.monitor-shipping-card h2 {
  margin-top: 0;
}

.shop-content {
  font-size: 15px;
}

.shop-title {
  margin-bottom: 12px;
}

.shop-contact-wrap {
  max-width: none;
}

.shop-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.shop-gallery-item,
.shop-diagnostic-item {
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  padding: 12px;
  background: #f8fbfe;
}

.shop-gallery-item h2,
.shop-diagnostic-item h3 {
  margin: 0 0 10px;
}

.shop-gallery-item img,
.shop-diagnostic-item img {
  width: 100%;
  border-radius: 8px;
  background: #ffffff;
}

.shop-diagnostics-card {
  margin-top: 20px;
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  padding: 14px;
  background: #f8fbfe;
}

.shop-diagnostics-card h2 {
  margin-top: 0;
}

.shop-diagnostics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.contact-outer {
  max-width: 1200px;
}

.contact-content {
  font-size: 15px;
}

.contact-title {
  margin-bottom: 10px;
}

.contact-lead {
  margin-bottom: 16px;
}

.contact-info-wrap {
  max-width: none;
}

.contact-status {
  margin: 10px 0 14px;
}

.contact-status-success,
.contact-status-errors {
  margin-bottom: 8px;
}

.contact-status-success {
  color: #17643a;
  font-weight: 700;
}

.contact-status-errors {
  color: #b42318;
  font-weight: 700;
}

.contact-form-card {
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  padding: 16px;
  background: #f8fbfe;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form-group {
  margin-bottom: 14px;
}

.contact-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #17324d;
}

.contact-form-group small {
  display: block;
  margin-top: 6px;
  color: #4a5f74;
}

.contact-input,
.contact-textarea {
  width: 100%;
  border: 1px solid #b9cadc;
  border-radius: 8px;
  padding: 10px 12px;
  box-sizing: border-box;
  background: #ffffff;
  color: #1a1a1a;
  font: inherit;
}

.contact-textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-submit-button {
  border: 2px solid #17324d;
  border-radius: 8px;
  padding: 10px 16px;
  background: #17324d;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.contact-submit-button:hover {
  background: #23486c;
}

.quote-content {
  font-size: 15px;
}

.quote-title {
  margin-bottom: 10px;
}

.quote-lead {
  margin-bottom: 16px;
}

.quote-contact-wrap {
  max-width: none;
}

.quote-summary-card,
.quote-matches-card,
.quote-benefits-card,
.quote-form-card,
.quote-threads-card {
  margin: 16px 0;
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  padding: 14px;
  background: #f8fbfe;
}

.quote-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quote-summary-item {
  border: 1px solid #d4e0ec;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.quote-summary-label {
  display: block;
  margin-bottom: 6px;
  color: #4a5f74;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quote-alert {
  margin: 12px 0;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
}

.quote-alert-success {
  background: #edfdf3;
  border: 1px solid #abefc6;
  color: #17643a;
}

.quote-alert-warning {
  background: #fff8e8;
  border: 1px solid #f3d07a;
  color: #7a4b00;
}

.quote-alert-error {
  background: #fff1f1;
  border: 1px solid #f2b8b5;
  color: #b42318;
}

.quote-matches-card h2,
.quote-benefits-card h2,
.quote-form-card h2,
.quote-threads-card h2 {
  margin-top: 0;
}

.quote-match-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.quote-match-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  border: 1px solid #d4e0ec;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
}

.quote-match-link {
  font-weight: 700;
}

.quote-directory-link {
  white-space: nowrap;
  color: #17324d;
}

.quote-benefits-list {
  margin: 12px 0 0 18px;
}

.quote-benefits-list li {
  margin: 0 0 8px;
}

.quote-form-lead {
  margin-bottom: 14px;
}

.quote-form-shell > blockquote {
  display: none;
}

.quote-form-shell center {
  display: block;
  text-align: left;
}

.quote-form-shell form {
  margin-top: 12px;
}

.quote-form-shell table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.quote-form-shell td {
  padding: 8px 10px;
  vertical-align: top;
}

.quote-form-shell input[type="text"],
.quote-form-shell textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #b9cadc;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: #1a1a1a;
  font: inherit;
}

.quote-form-shell textarea {
  resize: vertical;
  min-height: 190px;
}

.quote-form-shell input[type="submit"],
.quote-form-shell .mainoption {
  border: 2px solid #17324d;
  border-radius: 8px;
  padding: 10px 16px;
  background: #17324d;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.quote-thread-list blockquote,
.quote-thread-list ul {
  margin-left: 0;
  padding-left: 18px;
}

.quote-thread-list li {
  margin-bottom: 8px;
}

.forum-content {
  font-size: 15px;
}

.forum-title {
  margin-bottom: 10px;
}

.forum-lead {
  margin-bottom: 16px;
}

.forum-summary-card,
.forum-list-card {
  margin: 16px 0;
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  padding: 14px;
  background: #f8fbfe;
}

.forum-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.forum-summary-item {
  border: 1px solid #d4e0ec;
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.forum-summary-label {
  display: block;
  margin-bottom: 6px;
  color: #4a5f74;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.forum-list-header,
.forum-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.forum-list-header h2 {
  margin: 0;
}

.forum-topic-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.forum-topic-card {
  border: 1px solid #d4e0ec;
  border-radius: 10px;
  padding: 14px;
  background: #ffffff;
}

.forum-topic-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #4a5f74;
  font-size: 13px;
}

.forum-topic-manufacture {
  font-weight: 700;
  color: #17324d;
}

.forum-topic-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.forum-topic-title a {
  color: #17324d;
  text-decoration: none;
}

.forum-topic-title a:hover {
  text-decoration: underline;
}

.forum-topic-byline,
.forum-topic-excerpt,
.forum-topic-actions {
  margin: 0 0 10px;
}

.forum-topic-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.forum-topic-actions {
  margin-bottom: 0;
}

.forum-topic-actions-primary {
  margin-right: auto;
}

.forum-topic-actions-danger {
  margin-left: auto;
}

.forum-topic-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.forum-topic-action-link:hover {
  text-decoration: underline;
}

.forum-topic-delete-link {
  color: #8a1f11;
  background: #fff1ee;
}

.forum-topic-delete-link:hover {
  background: #ffe4de;
}

.forum-empty-state {
  border: 1px dashed #b9cadc;
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
  color: #4a5f74;
}

.forum-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.forum-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid #b9cadc;
  border-radius: 8px;
  background: #ffffff;
  color: #17324d;
  text-decoration: none;
  font-weight: 700;
}

.forum-page-link:hover {
  background: #eef5fa;
  text-decoration: none;
}

.forum-page-link.is-current {
  border-color: #17324d;
  background: #17324d;
  color: #ffffff;
}

.forum-page-link-nav {
  min-width: auto;
}

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

.aboutus-contact-wrap {
  max-width: 900px;
  margin: 10px auto 14px;
  padding: 12px;
  border: 2px solid #c7d8ea;
  border-radius: 10px;
  background: #f6faff;
  text-align: left;
}

.aboutus-contact-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  color: #16334f;
}

.aboutus-contact-grid {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.aboutus-contact-col {
  flex: 1;
  border: 1px solid #d4e0ec;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.aboutus-contact-col h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #17324d;
}

.aboutus-contact-col p {
  margin: 0;
}

.aboutus-contact-col small {
  display: block;
  margin-top: 6px;
  color: #4a5f74;
}

.aboutus-contact-phone-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.aboutus-contact-phone-line {
  margin-top: 8px;
}

.aboutus-phone-link {
  display: inline-block;
  padding: 6px 10px;
  border: 2px solid #d22a2a;
  border-radius: 8px;
  background: #fff5f5;
  color: #c81616;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.aboutus-phone-link:hover {
  background: #ffe9e9;
  text-decoration: none;
}

.aboutus-slideshow-wrap {
  max-width: 760px;
  margin: 12px auto 20px;
  padding: 10px;
  border: 1px solid #d8e1eb;
  border-radius: 10px;
  background: #f8fbfe;
}

.aboutus-slideshow-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.aboutus-slideshow-frame {
  background: #ffffff;
  border: 1px solid #ccd8e6;
  border-radius: 8px;
  overflow: hidden;
}

#aboutus-slideshow-image {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  background: #ffffff;
}

.aboutus-slideshow-controls {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.aboutus-slideshow-controls button {
  border: 1px solid #9fb2c6;
  background: #ffffff;
  color: #17324d;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 600;
}

.aboutus-slideshow-controls button:hover {
  background: #eef5fa;
}

.aboutus-card,
.aboutus-side-card {
  background: #ffffff;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  margin-bottom: 12px;
}

.aboutus-card-header,
.aboutus-side-card-header {
  background: #eef5fa;
  border-bottom: 1px solid #d7e1eb;
  padding: 10px 12px;
  text-align: center;
}

.aboutus-card-body,
.aboutus-side-card-body {
  padding: 12px;
}

/* Left panel refinements without changing structure */
.aboutus-sidebar table {
  margin-bottom: 12px;
}

.aboutus-sidebar .postdetails a {
  text-decoration: none;
}

.aboutus-sidebar .postdetails a:hover,
.aboutus-content a:hover {
  text-decoration: underline;
}

.aboutus-sidebar input[type="text"] {
  width: 100%;
  max-width: 220px;
  box-sizing: border-box;
}

/* Mobile-friendly behavior for modern traffic */
@media (max-width: 900px) {
  .aboutus-layout,
  .aboutus-layout tbody,
  .aboutus-layout tr,
  .aboutus-layout td {
    display: block;
    width: 100% !important;
  }

  .aboutus-sidebar,
  .aboutus-main {
    margin: 0;
    padding: 0;
  }

  .aboutus-main {
    margin-top: 10px;
  }

  .aboutus-card-body,
  .aboutus-side-card-body {
    padding: 10px;
  }

  .aboutus-sidebar img,
  .aboutus-main img {
    max-width: 100%;
    height: auto;
  }

  #aboutus-slideshow-image {
    max-height: 320px;
  }

  .aboutus-contact-grid {
    flex-direction: column;
  }

  .aboutus-phone-link {
    font-size: 20px;
  }

  .homepage-title {
    font-size: 28px;
  }

  .homepage-lead {
    font-size: 16px;
  }

  .homepage-services-list {
    columns: 1;
  }

  .monitor-hero-grid {
    flex-direction: column;
  }

  .monitor-gallery {
    grid-template-columns: 1fr;
  }

  .shop-gallery,
  .shop-diagnostics-grid {
    grid-template-columns: 1fr;
  }

  .quote-summary-grid {
    grid-template-columns: 1fr;
  }

  .forum-summary-grid {
    grid-template-columns: 1fr;
  }

  .forum-list-header,
  .forum-list-footer,
  .forum-topic-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-topic-actions-row {
    width: 100%;
    justify-content: space-between;
    align-items: stretch;
    gap: 12px;
  }

  .forum-topic-actions-primary,
  .forum-topic-actions-danger {
    margin-left: 0;
    margin-right: 0;
  }

  .forum-topic-action-link {
    min-height: 44px;
  }

  .quote-match-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-form-shell td {
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  #monitor-slideshow-image {
    max-height: 320px;
  }
}
