/* ============================================
   新闻中心 - 桌面版适老化样式
   基于《互联网网站适老化通用设计规范》
   ============================================ */

/* ========== 全局基础设置 ========== */
.oldType {
  font-size: 20px !important;
  line-height: 1.8 !important;
}

.oldType body {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

/* ========== 容器宽度调整 ========== */
.oldType .container,
.oldType .container_box {
  max-width: 1400px !important;
  margin: 0 auto;
  padding: 0 30px;
}

/* ========== 顶部大图轮播适老化 ========== */
.oldType .banner-section {
  margin: 30px auto;
}

.oldType .banner-swiper {
  height: 520px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.oldType .banner-slide {
  position: relative;
  height: 100%;
  display: flex;
}

.oldType .banner-slide img {
  width: 748px;
  height: 100%;
  object-fit: cover;
}

.oldType .banner-content {
  width: 500px;
  height: 100%;
  background: rgba(0, 123, 255, 0.95);
  color: #fff;
  padding: 50px 40px;
}

.oldType .banner-date {
  display: flex;
  align-items: center;
}

.oldType .banner-day {
  font-size: 48px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 8px;
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.oldType .banner-month-year {
  display: flex;
  flex-direction: column;
  font-size: 24px;
}

.oldType .banner-day::after {
  content: "/";
  font-size: 32px;
  font-weight: 400;
  margin-left: 5px;
}

.oldType .banner-title {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 20px;
  margin-top: 15px;
}

.oldType .banner-desc {
  font-size: 20px;
  line-height: 1.8;
  opacity: 0.95;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 轮播导航按钮放大 */
.oldType .banner-swiper .swiper-button-prev,
.oldType .banner-swiper .swiper-button-next {
  width: 50px;
  height: 70px;
  background: rgba(255, 255, 255, 0.7);
  color: #333;
  transition: all 0.3s ease;
}

.oldType .banner-swiper .swiper-button-prev:hover,
.oldType .banner-swiper .swiper-button-next:hover {
  background: rgba(0, 123, 255, 0.8);
  color: #fff;
}

.oldType .banner-swiper .swiper-button-prev::after,
.oldType .banner-swiper .swiper-button-next::after {
  font-size: 28px;
  font-weight: bold;
}

.oldType .banner-swiper .swiper-button-prev {
  left: 480px;
}

.oldType .banner-swiper .swiper-button-next {
  right: 20px;
}

/* 分页器放大 */
.oldType .banner-swiper .swiper-pagination {
  bottom: 20px !important;
  text-align: right;
  padding-right: 20px;
}

.oldType .banner-swiper .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 8px !important;
}

.oldType .banner-swiper .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.2);
}

/* ========== 今日南山区域适老化 ========== */
.oldType .today-nanshan-section {
  margin: 50px 0;
}

.oldType .section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 35px;
  position: relative;
}

.oldType .info-title,
.oldType .section-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  position: relative;
  padding-bottom: 20px;
}

.oldType .info-title span:last-child,
.oldType .section-title span:last-child {
  color: #3366cc;
}

.oldType .info-title::after,
.oldType .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 5px;
  background: #ff8f1f;
}

/* 新闻卡片 */
.oldType .news-swiper-container {
  position: relative;
}

.oldType .news-swiper {
  padding: 10px 0;
}

.oldType .news-card {
  background: #f3f7fe;
  padding: 30px;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid #eee;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height:268px;
}

.oldType .news-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.oldType .news-date {
  display: flex;
  flex-direction: column;
  padding: 30px 35px;
  background: #ffffff;
  position: relative;
}

.oldType .news-date::after {
  content: "";
  width: 36px;
  height: 2px;
  background: #007bff;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.oldType .news-day {
  font-weight: bold;
  line-height: 1;
  text-align: center;
  font-size: 48px;
  font-weight: 400;
}

.oldType .news-month {
  font-size: 20px;
  margin-left: 5px;
  margin-top: 8px;
  color: #666666;
}

.oldType .news-content {
  margin-left: 30px;
}

.oldType .news-title {
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 60px;
  font-weight: 600;
}

.oldType .news-desc {
  font-size: 20px;
  color: #555;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 新闻轮播导航按钮 */
.oldType .news-swiper-container .swiper-button-prev,
.oldType .news-swiper-container .swiper-button-next {
  width: 48px;
  height: 64px;
  opacity: 1;
  border: 2px solid #a8c1ff;
  color: #fff;
  transition: all 0.3s ease;
}

.oldType .news-swiper-container .swiper-button-prev:hover,
.oldType .news-swiper-container .swiper-button-next:hover {
  background: #0056b3;
  transform: scale(1.1);
  color: #fff;
}

.oldType .news-swiper-container .swiper-button-prev::after,
.oldType .news-swiper-container .swiper-button-next::after {
  font-size: 24px;
  font-weight: bold;
  color: #007bff;
}

.oldType .news-swiper-container .swiper-button-prev {
  left: -40px;
}

.oldType .news-swiper-container .swiper-button-next {
  right: -40px;
}

/* ========== 底部信息区域适老化 ========== */
.oldType .bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 50px 0 80px;
}

.oldType .info-column {
  width: 100%;
}

.oldType .info-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.oldType .info-more {
  margin-left: auto;
  font-size: 20px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 10px 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
}

.oldType .info-more:hover {
  color: #007bff;
  border-color: #007bff;
}

.oldType .info-list {
  list-style: none;
}

.oldType .info-item {
  display: flex;
  flex-direction: column;
  border-bottom: 2px dashed rgba(0, 123, 255, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 25px;
  padding: 25px 0;
}

.oldType .info-item:hover {
  background: #f8f9fa;
  padding-left: 15px;
}

.oldType .info-date {
  width: 140px;
  height: 42px;
  opacity: 1;
  color: #333333;
  text-align: left;
  font-size: 22px;
  font-weight: 400;
  font-family: "PingFang SC";
  line-height: 42px;
  background: url(data-icon.png) no-repeat center;
  background-size: cover;
  text-align: center;
}

.oldType .info-link {
  font-size: 24px;
  margin: 15px 0 25px 0;
  color: #333;
  text-decoration: none;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
  font-weight: 500;
}

.oldType .info-link:hover {
  color: #007bff;
}

/* ========== 通用组件适老化 ========== */






/* 链接放大 */
.oldType a {
  font-size: inherit;
  color: #0056b3;
}

.oldType a:hover {
}

/* 焦点状态高亮 */
.oldType *:focus {
  outline: 3px solid #ff8f1f !important;
  outline-offset: 2px;
}

/* 选中文字高对比 */
.oldType ::selection {
  background: #ff8f1f;
  color: #fff;
}

/* ========== 滚动条放大 ========== */
.oldType ::-webkit-scrollbar {
  width: 20px;
  height: 20px;
}

.oldType ::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.oldType ::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
  border: 4px solid #f1f1f1;
}

.oldType ::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ========== 图片适老化 ========== */
.oldType img {
  max-width: 100%;
  height: auto;
}

/* ========== 语音阅读辅助 ========== */
.oldType .voice-read-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oldType .voice-read-btn:hover {
  background: #0056b3;
  transform: scale(1.1);
}

/* ========== 高对比度模式 ========== */
.oldType.high-contrast {
  background: #000 !important;
  color: #fff !important;
}

.oldType.high-contrast a {
  color: #ffff00 !important;
}

.oldType.high-contrast button,
.oldType.high-contrast .btn {
  background: #000 !important;
  color: #fff !important;
  border: 3px solid #ffff00 !important;
}

.oldType.high-contrast input,
.oldType.high-contrast textarea {
  background: #000 !important;
  color: #fff !important;
  border: 3px solid #ffff00 !important;
}

.oldType.high-contrast .banner-content {
  background: #000 !important;
  border: 3px solid #ffff00;
}

.oldType.high-contrast .news-card {
  background: #000 !important;
  border: 3px solid #ffff00;
}

.oldType.high-contrast .info-item:hover {
  background: #333 !important;
}