@charset "UTF-8";
:root {
  --primary-blue: #1e6bb8;
  --light-blue: #e8f4fc;
  --medium-blue: #4a90e2;
  --dark-blue: #0d4d8c;
  --accent-blue: #63a4ff;
}

/*body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
  color: #333;
  background-color: #f8f9fa;
}*/

.company-card {
  background-color: white;
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 2rem;
  overflow: hidden;
  border-left: 5px solid var(--primary-blue);
  height: 100%;
}

.company-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.company-card .row {
  height: 100%;
}

.company-image {
  height: 100%;
  min-height: 200px;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.company-info {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.company-title {
  color: var(--dark-blue);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.company-date {
  color: var(--medium-blue);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eee;
}

.company-subtitle {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  font-weight: 500;
  flex-grow: 1;
}

.company-summary {
  color: #666;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-height: 4.8em;
  overflow: hidden;
  position: relative;
}

.company-summary.expanded {
  max-height: none;
}

.company-summary::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30%;
  height: 1.2em;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
  display: none;
}

.company-summary.collapsed::after {
  display: block;
}

.read-more-btn {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  margin-left: auto;
}

.read-more-btn:hover {
  background-color: var(--dark-blue);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.company-details {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-blue);
  font-size: 0.9rem;
  margin-top: 1.8rem;
  margin-bottom: 1.5rem;
  display: none;
}

.company-details.show {
  display: block;
}

.company-details strong {
  color: var(--dark-blue);
}

.badge-custom {
  background-color: var(--accent-blue);
  color: white;
  font-weight: 500;
  padding: 0.4em 0.8em;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-left: 10px;
}

.company-icon {
  color: var(--primary-blue);
  margin-right: 8px;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--medium-blue), var(--primary-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
}

.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.8;
}

.pagination-container {
  margin-top: 40px;
  margin-bottom: 40px;
}

.load-more-container {
  text-align: center;
  margin: 40px 0;
  display: none;
}

.load-more-btn {
  background-color: var(--primary-blue);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
}

.load-more-btn:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.load-more-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.no-more {
  color: #666;
  font-size: 1rem;
  padding: 20px;
  text-align: center;
}

.row {
  margin-left: -15px;
  margin-right: -15px;
}

.info-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .company-image {
    min-height: 180px;
    height: 180px;
    padding: 15px;
  }

  .company-info {
    padding: 25px;
  }

  .company-title {
    font-size: 1.3rem;
  }

  .load-more-container {
    display: block;
  }

  .pagination-container {
    display: none;
  }

  .company-card .row {
    height: auto;
  }
}

@media (min-width: 769px) {
  .load-more-container {
    display: none;
  }
}
