/* ==================== 文章详情页样式 ==================== */

/* 广告横幅 */
.ad-banner {
  background-color: #f5f5f5;
  padding: 24px 0 30px 0;
}

.ad-banner-inner {
  position: relative;
  width: 1511px;
  height: 150px;
  background: url(../images/gcdf_shi_cao.png) center center no-repeat;
  margin: 0 auto;
}

.ad-banner-text {
  position: absolute;
  width: 530px;
  height: 115px;
  top: 26px;
  left: 290px;
}

.ad-banner-item {
  position: absolute;
  right: 0;
}
.ad-banner-item:first-of-type .highlight {
  top: 0;
  font-size: 46px;
  color: #005068;
  font-weight: bold;
}
.ad-banner-item:last-of-type {
  bottom: 10px;
  color: #fff;
  font-size: 20px;
}
.ad-banner-item:last-of-type i {
  padding-right: 30px;
  font-style: normal;
}

.ad-banner-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ad-banner-item .highlight {
  color: #1B5E20;
  font-weight: 700;
  font-size: 16px;
}

.ad-banner-btn {
  position: absolute;
  width: 96px;
  height: 96px;
  font-size: 0;
  right: 117px;
  top: 31px;
  cursor: pointer;
  border-radius: 50%;
  background: none;
  border: 0;
}

/* 内容区域 */
.detail-section {
  width: 1920px;
  margin: 0 auto;
  background: var(--bg-gray);
  padding-bottom: 30px;
}

.detail-section .container {
  width: 1511px;
  margin: 0 auto;
  padding: 0;
}

.detail-layout {
  font-size: 0;
}

/* 左侧文章内容 */
.detail-main {
  display: inline-block;
  vertical-align: top;
  width: 1000px;
  box-sizing: border-box;
  padding: 30px 42px;
  background-color: #fff;
  border: 1px solid #bccbdd;
  border-radius: 10px;
}

.detail-title {
  font-size: 40px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  margin-bottom: 16px;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.detail-meta-item {
  font-size: 14px;
  color: #5b5b5b;
}

.detail-meta-item svg {
  width: 16px;
  height: 16px;
}

.detail-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin-bottom: 28px;
}

.detail-content {
  font-size: 16px;
  line-height: 1.9;
  color: #5b5b5b;
}

/* 右侧推荐阅读 */
.detail-sidebar {
  display: inline-block;
  vertical-align: top;
  width: 488px;
  padding: 40px 50px;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #bccbdd;
  border-radius: 10px;
  margin-left: 22px;
}

.sidebar-title {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #2c2c2c;
}

.sidebar-title-text {
  font-size: 40px;
  font-weight: 700;
  color: #00adbb;
}

.sidebar-title-icon {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--secondary);
  font-size: 13px;
  margin-left: 10px;
}

.sidebar-title-icon svg {
  width: 16px;
  height: 16px;
}

/* 推荐文章列表 */
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.recommend-item {
  padding: 16px 0;
  border-bottom: 1px solid #2c2c2c;
  transition: background 0.3s;
}

.recommend-item:first-child {
  padding-top: 0;
}

.recommend-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recommend-item-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  background: var(--secondary);
  color: #2e3739;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 25px;
}

.recommend-item-title {
  font-size: 18px;
  font-weight: 600;
  color: #121212;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

.recommend-item-desc {
  font-size: 14px;
  color: #5b5b5b;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.recommend-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recommend-item-date {
  font-size: 14px;
  color: #5b5b5b;
}