.home-page #brands .reference-section-heading {
  background:linear-gradient(115deg,#354e70,#1b3455);
  color:white; padding:20px 14px; border-radius:16px;
}
.home-page #brands .reference-section-heading .section-title,
.home-page #brands .reference-section-heading .section-subtitle {color:white}
.home-page #brands .reference-eyebrow {color:#ffc1b9}
.home-page #brands .brand-logo-card small {color:#54677a; font-size:12px; line-height:1.4}
.home-page .comments-section #commentsList {
  display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
.home-page .comments-section #commentsList .comment-item {
  min-width:0; min-height:0; padding:12px!important; overflow-wrap:anywhere;
}
.home-page #commentsList .comment-header {flex-wrap:wrap;gap:5px}
.home-page #prices .price-summary {
  width:100%; max-width:620px; margin:auto; border-collapse:collapse;
  color:#18314e; background:white; font-size:14px; line-height:1.6;
}
.price-summary caption {padding:6px;font-weight:700}
#prices .price-summary th,#prices .price-summary td {padding:6px 9px;text-align:start;border:1px solid #dbe3eb}
#prices .price-summary thead th {background:#233e60;color:white}
#prices .price-summary tbody th {font-weight:500}
#prices .price-summary tbody tr:nth-child(even) {background:#f3f6fa}
@media(max-width:700px){
  .home-page #brands .brands-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  .home-page #brands .brand-logo-card {min-height:104px;padding:9px 4px!important;gap:3px}
  .home-page #brands .brand-logo-card img {width:88px;height:40px;margin:0}
  .home-page #brands .brand-logo-card span {font-size:12px}
  .home-page .comments-section #commentsList {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .home-page #prices .price-summary {font-size:13px}
}

/* Keep review text and replies readable at narrow viewport widths. */
.home-page .comments-section #commentsList {
  align-items:stretch;
}
.home-page .comments-section #commentsList .comment-item {
  display:flex;
  flex-direction:column;
  height:auto;
  text-align:right;
}
.home-page .comments-section #commentsList .comment-rating {
  order:0;
  margin:0 0 8px;
  font-size:17px;
  letter-spacing:1px;
  line-height:1.4;
}
.home-page .comments-section #commentsList .comment-text {
  order:1;
  flex:none;
  margin:0 0 12px;
  color:#273b50;
  font-size:14px;
  line-height:1.9;
  word-break:normal;
  overflow-wrap:anywhere;
}
.home-page .comments-section #commentsList .comment-header {
  order:2;
  margin-top:auto;
  font-size:13px;
  line-height:1.7;
}
.home-page .comments-section #commentsList .comment-brand {order:3; align-self:flex-start}
.home-page .comments-section #commentsList .comment-footer {order:4}
.home-page .comments-section #commentsList .admin-reply {
  order:5;
  padding:10px;
  font-size:13px;
  line-height:1.8;
  overflow-wrap:anywhere;
}
.home-page .comments-section #commentsList .admin-reply p {margin:5px 0 0}
.home-page .comments-section #commentsList > :not(.comment-item) {grid-column:1/-1}

/* Table row headings need explicit colors to override the site's table theme. */
.home-page #prices .price-summary {
  table-layout:fixed;
  border-collapse:collapse;
}
.home-page #prices .price-summary thead th {
  background:#233e60;
  color:#fff;
  font-weight:700;
}
.home-page #prices .price-summary tbody th,
.home-page #prices .price-summary tbody td {
  background:#fff;
  color:#1e344c;
  font-weight:400;
  vertical-align:middle;
  overflow-wrap:normal;
  word-break:normal;
}
.home-page #prices .price-summary tbody tr:nth-child(even) th,
.home-page #prices .price-summary tbody tr:nth-child(even) td {background:#f5f8fb}
.home-page #prices .price-summary th:first-child {width:46%}
.home-page #prices .price-summary td {font-variant-numeric:tabular-nums}

@media(max-width:700px) {
  .home-page .comments-section #commentsList .comment-item {padding:13px!important}
  .home-page .comments-section .comments-heading {gap:14px}
  .home-page .comments-section .comments-heading .section-subtitle {font-size:14px;line-height:1.9}
  .home-page .comments-section .comment-form-card {padding:16px}
  .home-page #prices .price-summary {font-size:13px;line-height:1.8}
  .home-page #prices .price-summary th,
  .home-page #prices .price-summary td {padding:8px 6px}
}
@media(max-width:379px) {
  .home-page .comments-section #commentsList {grid-template-columns:minmax(0,1fr)!important}
}
