.card {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
  margin: 15px 0;
  background: var(--background);
  border-radius: var(--rounded);
  overflow: hidden;
  box-shadow: var(--shadow);
  gap: 15px; }

.card[data-style="small"] {
  width: 100%; }

.card-image {
  flex-shrink: 0;
  width: 150px;
  background: var(--light-gray); }

.card-image img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-shadow: var(--shadow); }

.card-text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  max-width: 100%;
  padding: 15px;
  flex: 1; }

.card-text > * {
  margin: 0 !important; }

.card-title {
  font-family: var(--heading);
  font-weight: var(--semi-bold);
  font-size: 1.1em; }

.card-subtitle {
  margin-top: -5px !important;
  font-style: italic;
  color: #666;
  font-size: 0.9em; }

.card-text p {
  font-size: 0.95em;
  line-height: 1.4; }

/* Mobile responsive */
@media (max-width: 768px) {
  .card {
    flex-direction: column; }

  .card-image {
    width: 100%; } }
