.fy-project-and-heir-container {
  background: none;
}

/* query form */
.query-box {
  background: none;
  border-radius: 3px;
  margin-left: -10px;
  margin-right: -10px;
  padding: 15px;
  margin-bottom: 20px;
}

.select-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.select-group .label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  font-size: 14px;
}

.select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.select a {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  text-decoration: none;
  color: #495057;
  font-size: 13px;
  transition: all 0.2s ease;
}

.select a:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.select a.active {
  background: #a62721;
  color: #fff;
  border-color: #a62721;
}

/* search form */
.kw-group {
  margin-top: 10px;
}

.kw-group form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  max-width: 200px;
  padding: 8px 12px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
}

.search-btn,
.reset-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-btn {
  background: #a62721;
  color: #fff;
}

.search-btn:hover {
  background: #a62721;
}

.reset-btn {
  background: #ffffff;
  border: 1px solid #666;
}

/* result table */
.result-table {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.result-thead {
  background: #f8f9fa;
}

.result-thead th {
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #495057;
  border-bottom: 1px solid #dee2e6;
  text-align: center;
}

.result-tbody td {
  padding: 10px 8px;
  font-size: 13px;
  border-bottom: 1px solid #f1f3f4;
  text-align: center;
  vertical-align: middle;
}

.result-tbody td:first-child {
  text-align: left;
}

.result-tbody td a {
  color: #a62721;
  text-decoration: none;
  font-weight: 500;
}

.result-tbody td a:hover {
  text-decoration: underline;
}

.no-data {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 20px;
}

/* pagination */
.paginator {
  margin-top: 20px;
}

.paginator .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background: #f8f9fa; */
  border-radius: 6px;
  padding: 10px 15px;
}

.paginator .col {
  flex: 1;
}

.paginator .col a {
  display: inline-block;
  padding: 8px 16px;
  background: none;
  color: #a62721;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.paginator .col a:hover {
  color: #a62721;
}

.paginator .col a:not([href]) {
  background: #ffffff;
  color: #666;
  cursor: not-allowed;
}

.paginator .col:last-child {
  text-align: right;
}

/* detail page styles */
.fy-detail-container {
  padding: 20px 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.fy-detail-container .title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #a62721;
  text-align: center;
}

.intro-project {
  margin-bottom: 25px;
}
/* 每行有2列 */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  /* border-left: 4px solid #a62721; */
}

.grid-item label {
  font-weight: 600;
  color: #495057;
  font-size: 13px;
  margin-bottom: 4px;
}

.grid-item span {
  color: #333;
  font-size: 14px;
  line-height: 1.4;
}

.content {
  line-height: 1.6;
  color: #333;
  font-size: 14px;
}

.content p {
  margin-bottom: 12px;
}

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 10px 0;
}

/* 超小屏幕优化 */
/*
@media (max-width: 480px) {
}
*/
