/* ============================================
   政务公开 - 桌面版适老化样式
   基于《互联网网站适老化通用设计规范》
   ============================================ */

/* ========== 全局基础设置 ========== */
.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-box {
  max-width: 1250px !important;
  margin: 0 auto;
  padding: 0;
}

/* ========== box1 区域适老化 ========== */
.oldType  .box1 {
  width: 100%;
  background: url(bg001.png) no-repeat right top;
  background-size: contain;
  margin-top: 50px;
}

.oldType  .leader-section {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.oldType  .leader-card {
  flex-shrink: 0;
}

.oldType  .leader-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
}

.oldType  .key-area-title span:last-child,
.oldType  .notice-title span:last-child,
.oldType  .leader-title span:last-child {
  color: #007bff;
  margin-left: -6px;
}

.oldType  .notice-title::after,
.oldType  .leader-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  width: 40px;
  height: 5px;
  background: #ff8f1f;
}

.oldType  .leader-info {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #dff0ff 0%, #eefbff 100%);
  padding: 25px;
  width: 420px;
  height: auto;
  min-height: 371px;
}

.oldType  .leader-photo {
  width: 200px;
  height: 264px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.oldType  .leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oldType  .leader-details {
  flex: 1;
}

.oldType  .leader-name {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #007bff;
}

.oldType  .leader-position {
  font-size: 20px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 12px;
}

.oldType  .leader-more {
  font-size: 18px;
  color: #007bff;
  text-decoration: none;
}

.oldType  .leader-more:hover {
  text-decoration: underline;
}

.oldType  .leader-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.oldType  .leader-item {
  font-size: 20px;
  color: #333;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 400;
}

.oldType  .leader-item:hover {
  color: #007bff;
  background: #e6f2ff;
}

.oldType  .leader-more-section {
  display: flex;
  margin-top: 32px;
  justify-content: space-between;
  gap: 15px;
}

.oldType  .leader-more-card {
  flex: 1;
  height: auto;
  min-height: 90px;
  padding: 33px 0 36px 20px;
  font-weight: bold;
  cursor: pointer;
  font-size: 22px;
}

/* ========== 公示公告适老化 ========== */

.oldType  .notice-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
  display: block;
}

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

.oldType  .notice-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 22px;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1.8;
  align-items: center;
}

.oldType  .notice-item::before {
  content: "";
  background: #333;
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
}

.oldType  .notice-item:hover {
  color: #007bff;
}

.oldType  .notice-title-text {
  flex: 1;
  margin-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oldType  .notice-date {
  color: #999;
  font-size: 20px;
  white-space: nowrap;
}

/* ========== 特色功能适老化 ========== */
.oldType  .feature-section {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.oldType  .feature-card {
  width: 174px;
  height: 100px;
  background: rgba(73, 145, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.oldType  .feature-cion {
  width: 56px;
  height: 56px;
}

.oldType  .feature-title {
  margin-top: 5px;
  font-size: 20px;
}

.oldType  .feature-card:hover {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
  transform: translateY(-2px);
}

/* ========== box2 区域适老化 ========== */
.oldType  .box2 {
  width: 100%;
  background: #edf4fe;
  border: 1px solid #d8d8d8;
}

.oldType  .policy-proposal-wrapper {
  display: flex;
  margin: 50px 0;
  align-items: stretch;
}

/* ========== 政策侧边栏适老化 ========== */
.oldType  .policy-sidebar {
  width: 220px;
  background: none;
  display: flex;
  flex-direction: column;
  border: 1px solid #fff;
  background: #fff;
}

.oldType  .sidebar-item {
  padding: 15px 20px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  width: 100%;
  height: auto;
  min-height: 120px;
  border-bottom: 1px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #edf4fe;
}

.oldType  .sidebar-item.active::before {
  content: "";
  background: #007bff;
  display: inline-block;
  width: 6px;
  height: 40px;
  position: absolute;
  left: 0;
}

.oldType  .sidebar-deco {
  width: 220px;
  height: 180px;
  background: url(zcfgicon.png) no-repeat -4px top;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oldType  .deco-text {
  font-size: 20px;
  font-weight: bold;
  color: #007bff;
}

/* ========== 政策主内容适老化 ========== */
.oldType  .policy-main {
  width: 700px;
  background: #fff;
  padding: 25px 25px 0 25px;
}

.oldType  .section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
}

/* ========== 搜索框适老化 ========== */
.oldType  .yj-search {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 80px;
  background: url(yjzzc1.png) no-repeat center;
  background-size: 100%;
  align-items: center;
  justify-content: flex-end;
}

.oldType  .yj-search form {
  margin-right: 30px;
  width: 400px;
  height: auto;
  min-height: 45px;
  border-radius: 32px;
  border: 2px solid #9bbae6;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.oldType  .yj-search form .yjsearchText {
  flex: 1;
  border: none;
  border-radius: 32px;
  padding: 10px 15px;
  font-size: 20px;
  min-height: 45px;
}

.oldType  .yj-search form .yjsmt {
  width: 28px;
  height: 28px;
  background: url(search-icon.png) no-repeat center;
  border: none;
  background-size: cover;
  margin-right: 10px;
  cursor: pointer;
}

/* ========== 政策列表适老化 ========== */
.oldType  .policy-list {
  list-style: none;
  margin-top: 25px;
}

.oldType  .policy-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  font-size: 22px;
  cursor: pointer;
  transition: color 0.3s ease;
  border-bottom: 1px dashed #eee;
  align-items: center;
}

.oldType  .policy-item::before {
  content: "";
  background: #007bff;
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
}

.oldType  .policy-item:hover {
  color: #007bff;
}

.oldType  .item-title {
  flex: 1;
  margin-right: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oldType  .item-date {
  color: #999;
  font-size: 20px;
  white-space: nowrap;
}

/* ========== 建议提案适老化 ========== */
.oldType  .proposal-sidebar {
  width: 340px;
  background: url(jytabg1.png) no-repeat center;
  background-size: cover;
  padding: 25px 0 0 0;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 400px;
}

.oldType  .proposal-list {
  margin-left: 25px;
}

.oldType  .proposal-title {
  font-size: 28px;
  margin-bottom: 35px;
  color: #286ace;
  margin-left: 25px;
  font-weight: bold;
}

.oldType  .proposal-item {
  background: #fff;
  padding: 0 25px;
  margin-bottom: 20px;
  display: flex;
  font-size: 22px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  min-width: 268px;
  height: auto;
  min-height: 65px;
}

.oldType  .proposal-item:hover {
  background: #f0f7ff;
  transform: translateX(5px);
}

.oldType  .arrow {
  color: #007bff;
  font-weight: bold;
  font-size: 20px;
  width: 40px;
  height: 40px;
  background: url(right.png) no-repeat center;
}

.oldType  .view-all {
  width: 100%;
  height: auto;
  min-height: 101px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.oldType  .view-all-btn {
  background: #fff;
  color: #007bff;
  border: 2px solid #007bff;
  border-radius: 24px;
  font-size: 22px;
  cursor: pointer;
  width: auto;
  min-width: 140px;
  height: auto;
  min-height: 55px;
  line-height: 55px;
  text-align: center;
  padding: 0 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  transition: all 0.3s ease;
}

.oldType  .view-all-btn:hover {
  background: #007bff;
  color: #fff;
}

/* ========== box3 区域适老化 ========== */
.oldType  .box3 {
  width: 100%;
  background: #fff;
}

.oldType  .info-section {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 50px 0;
}

.oldType  .info-card {
  flex: 1;
  background: #999;
  height: auto;
  min-height: 120px;
  display: flex;
  color: #3366cc;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
  padding: 40px 0 46px 105px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.oldType  .info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* ========== box4 区域适老化 ========== */
.oldType  .box4 {
  width: 100%;
  background: url(zdbg.png) no-repeat center;
  height: auto;
  min-height: 378px;
}

.oldType  .key-area-section {
  border-radius: 8px;
  padding: 25px;
  margin: 30px 0;
}

.oldType  .key-area-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
  margin-top: 50px;
}

.oldType  .key-area-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  width: 100px;
  height: 5px;
  background: #ff8f1f;
}

.oldType  .key-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.oldType  .key-area-item {
  width: 100%;
  height: auto;
  min-height: 60px;
  border-radius: 4px;
  border: 2px solid #d8d8d8;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  padding: 10px;
  transition: all 0.3s ease;
}

.oldType  .key-area-item:hover,
.oldType  .key-area-item.active {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

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




.oldType  input[type="text"]:focus,
.oldType  input[type="search"]:focus,
.oldType  textarea:focus {
  border-color: #007bff;
  outline: 3px solid rgba(0, 123, 255, 0.3);
}

.oldType  a {
  font-size: inherit;
  color: #0056b3;
}

.oldType  a:hover {
  text-decoration: underline;
  color: #003d80;
}

/* 焦点状态高亮 */
.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 .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 .leader-info {
  background: #333 !important;
}

.oldType .high-contrast .box2 {
  background: #000 !important;
  border-color: #ffff00;
}

.oldType .high-contrast .policy-sidebar {
  background: #000 !important;
  border-color: #ffff00;
}

.oldType .high-contrast .proposal-sidebar {
  background: #000 !important;
}

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

.oldType .high-contrast .key-area-item {
  background: #000 !important;
  border: 2px solid #ffff00;
  color: #fff;
}

.oldType .high-contrast .key-area-item:hover,
.oldType .high-contrast .key-area-item.active {
  background: #ffff00 !important;
  color: #000 !important;
}

.oldType .high-contrast .notice-item::before,
.oldType .high-contrast .policy-item::before {
  background: #ffff00 !important;
}