/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Line clamp utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}


/* リクエストカードの画像を固定サイズに設定 */
.request-card .aspect-square {
  width: 100%;
  height: 144px; /* 4:3比率 */
  flex-shrink: 0;
  overflow: hidden;
}

.request-card .aspect-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


