/* PHIMAXX site patches */


/* ===== Solutions Page: View solution link normalization ===== */
/* Only affects Industry Solutions cards */
.solutions-grid .solution-card .view-solution,
.solutions-grid .card .view-solution,
.solutions-grid a.view-solution {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}
.solutions-grid .solution-card .view-solution:hover,
.solutions-grid .card .view-solution:hover,
.solutions-grid a.view-solution:hover {
  color: #111827;
  text-decoration: underline;
}


/* ===== Solution Detail Page Typography Normalization ===== */
/* Applies ONLY to solution detail pages */
.solution-detail h1 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 16px;
}
.solution-detail .solution-intro,
.solution-detail .solution-description,
.solution-detail > p {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  max-width: 880px;
}
.solution-detail h2 {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}
.solution-detail h3 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
}
.solution-detail p,
.solution-detail li {
  font-size: 14px;
  line-height: 1.6;
}
.solution-detail .solution-actions {
  margin-top: 18px;
}


/* PM Gallery */
/* Shared gallery styles (PM + MS). PM pages use the same class names as MS pages. */
.gallery{margin-top:10px}
.galleryMain{background:#fff;border:1px solid var(--line,#e7e7ea);border-radius:14px;display:flex;align-items:center;justify-content:center;min-height:240px;max-height:420px;overflow:hidden}
.galleryMain img{max-width:100%;max-height:380px;object-fit:contain;object-position:center;display:block}
.thumbRow{display:flex;gap:10px;justify-content:flex-start;flex-wrap:wrap;margin-top:12px}
.thumb{border:1px solid var(--line,#e7e7ea);background:#fff;border-radius:12px;padding:6px;cursor:pointer}
.thumb img{width:110px;height:78px;object-fit:cover;border-radius:8px;display:block}
.thumb.active{outline:2px solid rgba(124,58,237,.55);border-color:rgba(124,58,237,.55)}
/* Make PM media card layout clean */
.media-grid{display:grid;grid-template-columns:1fr;gap:18px}


/* PM gallery sizing */
.galleryMain{background:#fff;}
.galleryMain .mainImage{width:100%;height:360px;max-height:360px;object-fit:contain;object-position:center;display:block;background:#fff;padding:8px 12px;box-sizing:border-box;}
.galleryThumbRow{gap:12px;justify-content:flex-start;}
.galleryThumbRow .thumb{border:1px solid #e9e9ef;background:#fff;border-radius:14px;padding:6px;cursor:pointer;}
.galleryThumbRow .thumb.is-active{outline:3px solid rgba(93, 63, 255, .45);border-color:rgba(93, 63, 255, .35);}
.galleryThumbRow .thumbImage{width:96px;height:72px;object-fit:contain;display:block;background:#fff;border-radius:10px;}
