/*
Theme Name: CPIM Lab
Theme URI: https://cpim.sites.unlv.edu/
Author: CPIM Lab, UNLV
Description: A modern block theme for the Circuits, Packaging, and Intelligent Microsystems Lab at UNLV.
Version: 1.6.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: cpim-lab
*/

html { scroll-behavior: smooth; }

.cpim-research-gallery .wp-block-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #ffffff;
}

.cpim-research-gallery .wp-element-caption {
  color: #d0d5dd !important;
}
body { text-rendering: optimizeLegibility; }
a { text-underline-offset: .18em; }
.cpim-kicker { letter-spacing: .16em; text-transform: uppercase; }
.cpim-card { transition: transform .22s ease, box-shadow .22s ease; }
.cpim-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(16,24,40,.12); }
.cpim-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(5,9,13,.78) 0%, rgba(5,9,13,.42) 48%, rgba(5,9,13,.10) 100%) !important; opacity: 1 !important; }
.cpim-rule { height: 3px; width: 72px; background: #b10202; }
@media (max-width: 700px) {
  .cpim-hero { min-height: auto !important; }
}
