/* --- Base Card --- */
.biff-card {
  border-radius: 18px;
  padding: 28px;
  background: linear-gradient(145deg, #ffffff, #f9fbff);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

/* Elegant hover */
.biff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* --- Inner Layout --- */
.biff-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* --- Image Section --- */
.biff-left {
  flex: 0 0 200px;
  position: relative;
}

.biff-image,
.biff-image--placeholder {
  width: 200px;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid #4aa3ff;
  box-shadow: 0 4px 12px rgba(74, 163, 255, 0.25);
  transition: transform 0.35s ease, box-shadow 0.3s ease;
}

.biff-card:hover .biff-image {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(74, 163, 255, 0.35);
}

/* --- Text Section --- */
.biff-right {
  flex: 1;
}

.biff-name {
  margin: 0 0 10px 0;
  font-size: 30px;
  font-weight: 800;
  color: #222;
  letter-spacing: -0.3px;
}

.biff-right p {
  margin: 6px 0;
  color: #333;
  font-size: 16.5px;
  line-height: 1.6;
}

/* Subtle label emphasis */
.biff-right strong {
  color: #111;
  font-weight: 600;
}

/* --- Accent line under name --- */
.biff-name::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #4aa3ff;
  margin-top: 6px;
  border-radius: 2px;
}

/* --- Mobile Layout --- */
@media (max-width: 768px) {
  .biff-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 0;
  }

  .biff-left {
    width: 100%;
  }

  .biff-image,
  .biff-image--placeholder {
    width: 100%;
    height: auto;
    max-height: 420px;
    border-radius: 14px;
    border: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  }

  .biff-inner .biff-right {
    width: 100%;
    text-align: left;
    padding: 0 10px;
  }

  .biff-name {
    font-size: 26px;
    margin-top: 4px;
  }

  .biff-right p {
    font-size: 15.5px;
    margin: 5px 0;
  }
}


