/* 引入阿里巴巴普惠体字体 */

@font-face {
  font-family: 'SiYuanFont';    
  src: url('../font/SiYuanSongTiHeavy.ttf') format('opentype'); 
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

@font-face {
  font-family: 'ShuziFont';    
  src: url('../font/SmileySans-Oblique.ttf') format('opentype'); 
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}
/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




.focus-box {
    background-position: center;
    position: relative;
}

.focus-container {
    overflow: hidden;
    position: relative;
    visibility: hidden;
}

.focus-container .focus-item {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
}

.focus-container .focus-item img {
    width: 100%;
    height: 100%;
    border: 0;
    vertical-align: top;
}

.focus-title-bar {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 40;
    width: 100%;
    height: 30px;
}

.focus-title-bg {
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.focus-title {
    display: inline-block;
    white-space: nowrap;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    color: #fff;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 50;
}

.focus-title a,.focus-text a {
    color: #fff;
    text-decoration: none;
    line-height: 30px;
}

.focus-title a:hover,.focus-text a:hover {
    color: #e5e5e5;
    text-decoration: none;
}

.focus-text-box {
    position: absolute;
    left: 30px;
    top: 10px;
    z-index: 20;
    width: 40%;
    height: 100px;
}

.focus-text-bg {
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.7;
    filter: alpha(opacity=70);
}

.focus-text-inner {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 30;
    height: 100%;
    overflow: hidden;
}

.focus-text {
    padding: 10px;
    line-height: 1.5;
    color: #fff;
    font-size: 13px;
}

.focus-navigation {
    display: block;
    width: 30px;
    text-align: center;
    height: 50px;
    line-height: 50px;
    background: #000;
    text-decoration: none;
    color: #fff;
    font-family: "Simsun";
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    z-index: 50;
    opacity: 0.5;
    filter: alpha(opacity=50);
}

.focus-navigation:hover {
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    line-height: 50px;
    text-align: center;
}

.focus-navigation:active {
    opacity: 0.8;
    filter: alpha(opacity=80);
    text-align: center;
}

.focus-prev {
    left: 0px;
}

.focus-next {
    right: 0px;
}

.focus-pagination {
    position: absolute;
    right: 10px;
    bottom: 0;
    z-index: 60;
    height: 20px;
    text-align: right;
}

.focus-page {
    display: inline-block;
    width: 10px;
    height: 10px;
    line-height: 10px;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    border-radius: 5px;
    background-color: #999;
    color: #fff;
    margin-right: 5px;
    cursor: pointer;
}

.focus-page span {
    display: none;
}

.focus-page:hover {
    text-decoration: none;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
}

.focus-page-active {
    background-color: #fff;
}







a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none; /* 去掉下划线 */
    color: inherit;        /* 继承父元素颜色，已有的 .more-link/.email-btn 等类颜色仍会生效（类选择器优先） */
    background-color: transparent;
}

.focus-title-bar{
    visibility: hidden !important;
}

.focus-pagination{
    bottom: 40px !important;
}

.focus-container .focus-item img{

    height: 100% !important;
    
}

.focus-container{
    height: 700px !important;
}

.focus-box{
    height: 730px !important;
}





.background-setting{
    background-color: #fafcff;
}


/* 蓝色文字样式 */
.text-blue {
    color:#1757bf;
}





/* 搜索框 */
.header-search {
    width: 230px;
    overflow: hidden;
}


.header-search {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: auto; 
    margin-right: 150px; 
}

.header-search form {
    width: 100%;
    height: 100%;
}

.header-search form .wp_search {
    width: 100%;
    height: 35px;

    background-color: white;
    border-radius: 20px;
}

.header-search form .wp_search table {
    width: 100%;
    height: 100%;
}

.header-search form .wp_search table td:first-child input {
    height: 100%;
    width: 90% !important;

    border: none !important;
    border-radius: 20px;
    padding-left: 20px;
    font-size: 15px;
    color: gray;
    outline: none !important;
    background-color: unset !important;
}

.header-search form .wp_search table td:nth-child(2) {
    width: 20%;
    height: 100%;
}

.header-search form .wp_search table td:nth-child(2) input {
    width: 100%;
    height: 100%;
    background-size: 50% 60%;
    background-image: url("../images/research-icon.svg");
    box-shadow: 0px 0px 32px 0px rgba(89, 89, 89, 0.1);
    border-radius: 0px 10px 10px 0px;
    background-repeat: no-repeat;
    background-position: center;

    margin-top: 2px;
    margin-left: -5px;

}





.focus-navigation{
   
    margin-top: -48px !important;

}





* --- 新增：头部搜索框样式 --- */
.header-container {
    justify-content: space-between; /* 让logo和右侧内容分开 */
    padding-right: 20px;
}


.search-input {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 8px 40px 8px 15px;
    font-size: 14px;
    width: 220px;
    transition: width 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #1757bf;
    width: 280px;
}

.search-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0 12px;
    height: 100%;
    cursor: pointer;
    color: #555;
}

.search-button:hover {
    color: #1757bf;
}

/* 用于辅助技术的隐藏标签 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* --- 结束：头部搜索框样式 --- */



















/* 头部样式 */
.header {
    width: 100%;
    height: 130px;
    background-image: url(../images/head.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
      
}

.header-container {
    width: 100%;
    height: 100%;
    padding-left: 0;
    display: flex;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 20px;
}

.logo1 {
    height: 120px;
    width: auto;
}

.logo2 {
    height: 80px;
    width: auto;
}

/* 导航菜单样式 */
.nav-menu {
    width: 100%;
    height: 40px;
    background-color: rgb(37, 97, 195);
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 0 30px;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 轮播图样式 */


.carousel{
    background-color: #fafcff;
}

.carousel-section {
    width: 100%;
    background-color: #f5f5f5;

     padding-bottom: 0; /* 移除轮播底部空隙 */
    margin-bottom: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;

    margin: 0;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 轮播控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background-color: white;
}

/* 主内容区样式 */
.main-content {
    width: 100%;
    background-color: #ffffff;
    padding-bottom: 0px;
    padding-top: 0;
}

.content-wrapper {
    max-width: 1400px;
    height: 460px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    gap: 0;
    align-items: stretch;
}

/* 左侧新闻区 */
.news-section {
    flex: 0 0 68%;
    background-color: #fafcff;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    height: 50px;
}

.section-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background-color: #ddd;
    z-index: 0;
}

.section-title {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    background-color: #fafcff !important;
    padding: 0 0 0 0;
    position: relative;
    z-index: 1;
    text-align: center;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;

    letter-spacing: 2px;
}

.more-link {
    color: black !important;
    letter-spacing: 3px;
    text-decoration: none;
    font-size: 14px;
    background-color: #fafcff !important;
    padding: 0 0 0 10px;
    position: relative;
    z-index: 1;

}



/* 切换改变底部边距在这 */
.dual-header.info-active {
    margin-bottom: 10px;
}


/* 学院新闻主内容区 - 左右布局 */
.news-main-content {
    display: flex;
    gap: 40px;
    flex: 1;
    align-items: stretch;
}

/* 左侧区域 */
.news-left {
    flex: 0 0 43%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* 顶部新闻条目 */
.news-top-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-date-box {
    width: 60px;
    height: 60px;
    background-color: #1757bf;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.date-day {
    font-family: 'ShuziFont';
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    font-family: 'ShuziFont';
    font-size: 12px;
    margin-top: 5px;
}

.news-top-info {
    flex: 1;
    display: flex;
    align-items: center;
}

.news-top-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* 大图片 */
.news-main-image {
    width: 100%;
    margin-bottom: 15px;
}

.news-main-image img {
    width: 100%;
    height: 260px;
    display: block;
}

/* 图片描述 */
.news-image-desc {
    margin-bottom: 15px;
}

.news-image-desc p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 详情链接 */
.news-detail-link {
    text-align: right;
}

.news-detail-link a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

/* 右侧列表 */
.news-right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 420px;
}

.news-list-item {
    display: flex;
    gap: 13px;
    padding-bottom: 20px;
    /* border-bottom: 1px solid #eee; */
    align-items: center;
}

.news-list-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #1757bf;
    flex-shrink: 0;
    width: 50px;
    padding-top: 2px;
}

.date-md {
    font-family: 'ShuziFont';
    font-size: 17px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 2px;
}

.date-year {
    font-family: 'ShuziFont';
    font-size: 15px;
    line-height: 1.2;
}

.news-list-content {
    flex: 1;
}

.news-list-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.news-list-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 右侧边栏 */
.sidebar {
    width: 420px;
    display: flex;
    flex-direction: column;
}

.dual-header .header-item { cursor: pointer; outline: none; }
.dual-header .header-item .section-title  { color: #333; }            /* 未选中黑色 */
.dual-header .header-item.active .section-title { color: #1757bf; }   /* 选中蓝色 */

/* 隐藏面板的通用规则（确保 JS 切换 hidden 时生效） */
.combined-notice-section .panel.hidden { display: none !important; }

/* 合并的通知公告区域 */
.combined-notice-section {
    background-color: #fafcff;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;

    flex: 1 1 30%;      
    min-width: 320px;
}

/* 双标题头部 */
.dual-header {
    justify-content: center;   
    text-align: center;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    height: 50px;
    gap: 40px;
}

.header-item {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    text-align: center;
}

/* 标题容器 */
.title-wrapper {
    background-color: #fafcff;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.header-item .section-title {
    text-align: center;
    font-size: 19px;
    color: #333;
    font-weight: bold;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
}

.section-subtitle {
    text-align: right;
    font-size: 11px;
    color: #1757bf;
    text-transform: uppercase;
    margin: 0;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
}

/* 左侧标题 - 横线在左边 */
.header-item:first-child {
    justify-content: right;
    padding-left: 20px;
}

.header-item:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    right: 55%;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background-color: #ddd;
    z-index: 0;
}

/* 右侧标题 - 横线在右边 */
.header-item:last-child {
    justify-content: left;
    padding-right: 20px;
}

.header-item:last-child::before {
    content: '';
    position: absolute;
    left: 55%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background-color: #ddd;
    z-index: 0;
}

/* 中间的斜线分隔 */
.dual-header::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 5%;
    bottom: 5%;
    width: 1px;
    background-color: #ddd;
    transform: translateX(-50%) skewX(-30deg);
}




/*  新闻栏样式与notice相同 */

.news1-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.news1-item {
    padding: 0 0 27px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.news1-item a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;

    position: relative;      /* 使伪元素相对定位于文本 */
    display: block;
    padding-left: 16px;
}

.news1-item a::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #b9b7b9;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.02) inset;
}

.news1-item a:hover {
    color: #1757bf;
}

.news1-date {
    color: #999;
    font-size: 15px;
    flex-shrink: 0;
}




.notice-list {
    list-style: none;
    padding: 0;
    margin-top: -10px;
    flex: 1;
}

.notice-item {
    padding: 0 0 27px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.notice-item a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;

    position: relative;      /* 使伪元素相对定位于文本 */
    display: block;
    padding-left: 16px;
}

.notice-item a::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #b9b7b9;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.02) inset;
}

.notice-item a:hover {
    color: #1757bf;
}

.notice-date {
    color: #999;
    font-size: 15px;
    flex-shrink: 0;
}

.section-footer {
    text-align: right;
    margin-top: -15px;
}

.section-footer .more-link {
    color: #1757bf;
    text-decoration: none;
    font-size: 14px;
    word-spacing: 2px;
}

/* 科学研究区域 */
.research-section {
    width: 100%;
    background-color: #E4EAFA;
    padding: 40px 0;
}

.research-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

.research-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.research-title-group {
    text-align: center;
}

.research-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
}

.research-subtitle {
     font-size: 14px;
    color: #1757bf;
    text-transform: uppercase;
    margin: 0;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
}

.view-more {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #1757bf !important;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 3px !important;
}

.view-more:hover {
    text-decoration: underline;
}

/* 研究卡片网格 */
.research-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 0;
}

.research-grid > .research-col {
    display: contents; /* 组语义存在，但不生成布局盒子 */
}

.research-card {
    background-color: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;

    height: 400px;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 第一列 - 下边框 */
.research-card:nth-child(4n+1) {
    border-bottom: 3px solid #1757bf;
}

/* 第二列 - 上边框 */
.research-card:nth-child(4n+2) {
    border-bottom: 3px solid #1757bf;
}

/* 第三列 - 下边框 */
.research-card:nth-child(4n+3) {
    border-bottom: 3px solid #1757bf;
}

/* 第四列 - 上边框 */
.research-card:nth-child(4n) {
    border-bottom: 3px solid #1757bf;
}

/* 纯图片卡片 */
.research-card.image-only {
    height: 250px;
}

.research-card.image-only .card-image {
    height: 100%;
}

/* 纯文字卡片 */
.research-card.text-only {
    height: 250px;
    justify-content: center;
}

.card-image {
    width: 100%;
    overflow: hidden;
    flex: 1 1 50%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 人才培养区域 */
.talent-section {
    width: 100%;
    background-color: #fafcff;
    padding: 40px 0;
}

.talent-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 ;
}

.talent-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.talent-title-group {
    text-align: center;
}

.talent-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
}

.talent-subtitle {
    font-size: 14px;
    color: #1757bf;
    text-transform: uppercase;
    margin: 0;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
}

/* 内容区域 - 左右布局 */
.talent-content {
    display: flex;
    gap: 30px;
}

/* 左侧图文列表 */
.talent-left {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.talent-item {
    display: flex;
    gap: 35px;
    /* background-color: #f9f9f9; */
    padding: 12px;
}

.talent-image {
    width: 280px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.talent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.talent-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 340px
}

.talent-item-title {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.talent-item-desc {
    font-size: 17px;
    color: #666;
    line-height: 2;
    margin: 0 0 15px 0;
    flex: 1;
}

.talent-item-date {
    font-size: 15px;
    color: #999;
    margin: 0;
}

/* 右侧纯文字列表 */
.talent-right {
    flex: 1 1 50%;
    /* background-color: #f9f9f9; */
    padding: 15px;
}

.talent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.talent-list-item {
    padding: 0 0 35px 0;
    /* border-bottom: 1px dashed #ddd; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.talent-list-item:last-child {
    border-bottom: none;
}

.talent-list-item a {
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.7;
}

.talent-list-item a:hover {
    color: #1757bf;
}

.talent-list-date {
    color: #000000;
    font-size: 16px;
    flex-shrink: 0;
}

/* 党群工作区域 */
.party-section {
    width: 100%;
    background-color: #E4EAFA;
    padding: 40px 0;
}

.party-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0px;
}

.party-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.party-title-group {
    text-align: center;
}

.party-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
}

.party-subtitle {
    font-size: 14px;
    color: #1757bf;
    text-transform: uppercase;
    margin: 0;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
}

/* 党群卡片网格 */
.party-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    justify-content: center;
    align-items: start;
    justify-items: center;
}

.party-card {
    background-color: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    width: 300px;
    height: 300px;
}

.party-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.party-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.party-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 日期标签 */
.party-date {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #1757bf;
    color: white;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.date-day {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.date-ym {
    font-size: 11px;
    margin-top: 3px;
    line-height: 1;
}

.party-text {
    padding: 20px;
    height: 90px;
}

.party-card-title {
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

/* 学生工作区域 */
.student-section {
    width: 100%;
    background-color: #fafcff;
    padding: 40px 0;
}

.student-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0px;
}

.student-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.student-title-group {
    text-align: center;
}

.student-title {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
}

.student-subtitle {
   font-size: 14px;
    color: #1757bf;
    text-transform: uppercase;
    margin: 0;
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
}

/* 内容区域 - 左右布局 */
.student-content {
    display: flex;
    gap: 30px;
}

/* 左侧图文列表 */
.student-left {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.student-item {
    display: flex;
    gap: 35px;
    padding: 12px;
}

.student-image {
    width: 280px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.student-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 340px
}

.student-item-title {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.student-item-desc {
     font-size: 17px;
    color: #666;
    line-height: 2;
    margin: 0 0 15px 0;
    flex: 1;
}

.student-item-date {
    font-size: 15px;
    color: #999;
    margin: 0;
}

/* 右侧纯文字列表 */
.student-right {
    flex: 1 1 50%;
    /* background-color: #f9f9f9; */
    padding: 15px;
}

.student-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.student-list-item {
    padding: 0 0 35px 0;
    /* border-bottom: 1px dashed #ddd; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.student-list-item:last-child {
    border-bottom: none;
}

.student-list-item a {
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.6;
}

.student-list-item a:hover {
    color: #1757bf;
}

.student-list-date {
    color: #000000;
    font-size: 16px;
    flex-shrink: 0;
}


/* 底部区域 */
.footer {
    width: 100%;
    background-image: url(../images/footer.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 40px 0 0;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 30px;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}

.footer-left{
    text-align: left;
    width: 90%;
}
.footer-right{
    text-align: right;
    padding-right: 30px;
}

.footer-left .link-group {
    align-items: flex-start;
}

/* 让下拉选择靠左显示（保留宽度，可按需改为 100%） */
.footer-left .link-select {
    width: 70%;
    align-self: flex-start;
}

.footer-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    letter-spacing: 2px;
}

.footer-title1 {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    letter-spacing: 2px;
}

/* 友情链接 */
.link-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.link-select {
    width: 70%;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0);
    color: white;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;

    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.link-select:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.link-select option {
    background-color: #2563ba;
    color: white;
}

/* 相关邮箱 */
.email-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.email-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    width: 50%;
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 1);
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.email-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.email-icon {
    font-size: 18px;
}

/* 联系我们 */
.footer-right {
    text-align: right;
}

.footer-right .footer-title {
    text-align: right;
}

.contact-info p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 10px 0;
    color: white;
    text-align: right;
}


.contact-info1 p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 10px 0;
    color: white;
    text-align: center;
}

/* 底部版权信息 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}



@media (max-width: 1255px) {

    .content-wrapper {
        height: auto; 
        flex-direction: column;
        padding: 0; 
        gap: 18px;
    }

    .news-section, .sidebar {
        width: 100%;
        padding: 15px; 
        box-sizing: border-box;
    }

    .sidebar {
        height: auto;
    }

    .content-wrapper,
    .research-container,
    .talent-container,
    .party-container,
    .student-container {
        width: 100%; 
        padding: 0 15px;
        box-sizing: border-box;
    }

 
    .research-grid, .party-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; /* 统一使用 gap */
    }

    .research-card, .party-card {
        height: auto; 
        width: 100%; 
    }


    @media (max-width: 480px) {
        .research-grid, .party-grid {
            grid-template-columns: 1fr;
        }
    }

    .header { height: 100px; background-size: cover; padding: 8px 0; }
    .header-container { padding-left: 12px; }
    .logo-group { gap: 0px; padding-left: 10px; }
    .logo1 { height: 64px; width: auto; }
    .logo2 { height: 48px; width: auto; }

 
    .nav-menu { --nav-height: 48px; height: var(--nav-height); height: auto; padding: 0; background-color: #3b7ac9; position: relative; display: block; }

    .header { --header-height: 100px; }


    .mobile-hamburger {
        display: none; /* 在 @media 内启用 */
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: white;
        font-size: 18px;
        cursor: pointer;
        z-index: 10001; /* 确保汉堡在半透明幕布之上 */
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        padding: 6px;
    }
    .mobile-hamburger .hamburger-line {
        display:block;
        width:22px;
        height:2px;
        background:#fff;
        position:relative;
        transition: transform .25s ease;
    }
    .mobile-hamburger .hamburger-line::before,
    .mobile-hamburger .hamburger-line::after {
        content:'';
        position:absolute;
        left:0;
        width:22px;
        height:2px;
        background:#fff;
        transition: transform .25s ease, top .25s ease;
    }
    .mobile-hamburger .hamburger-line::before { top:-7px; }
    .mobile-hamburger .hamburger-line::after { top:7px; }

    /* 显示汉堡、并默认隐藏导航项，打开时显示 */
    .mobile-hamburger { display: flex; }

    /* 导航幕布：全屏固定容器，用伪元素做遮罩，白色面板位于顶部靠下位置 */
    .nav-container {
        position: fixed;
        
        width: 100%;
        height: 100vh;
        display: block;
        padding: 0;
        background: transparent;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        -webkit-overflow-scrolling: touch;
        transition: opacity 0.28s ease, visibility 0.28s ease;
        z-index: 10000;
    }


    body.nav-open::before {
        content: '';
        position: fixed;
        left: 0;
        right: 0;
        top: calc(var(--header-height, 100px)); /* 遮罩从 header 底部开始 */
        bottom: 0;
        background: rgba(0,0,0,0.48);
        opacity: 0;
        transition: opacity 0.28s ease;
        pointer-events: none; /* 不拦截点击，面板在上方接收点击 */
        z-index: 10000; /* 低于 .nav-panel (10020)，高于页面内容 */
    }

    /* 白色面板：从 header 底部向下全宽展开（不居中窗口化） */
    .nav-container .nav-panel {
        position: fixed;
        left: 0;
        right: 0;
        top: calc(var(--header-height, 100px)); /* 紧贴 header 底部 */
        height: calc(100vh - var(--header-height, 100px));
        background: #ffffff;
        border-radius: 0;
        box-shadow: none;
        pointer-events: auto; /* 确保面板接收点击 */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px 0;
        z-index: 10020; /* 高于遮罩 */
    }
    .nav-container .nav-panel::-webkit-scrollbar { display: none; }

    .nav-container .nav-panel .nav-item {
        color: #222;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        font-size: 18px;
        border-bottom: 1px solid #eee;
        white-space: normal;
        height: auto; 
    }

    .nav-panel{
        height: auto; 
    }
    .nav-container .nav-panel .nav-item:last-child { border-bottom: none; }
    
    .nav-container.shrink .nav-panel .nav-item { padding: 12px 16px; font-size: 16px; }
    .nav-container::-webkit-scrollbar { display: none; }
    


    .nav-item {
        color: white;
        text-decoration: none;
        font-size: 16px;
        padding: 10px 14px;
        background: rgba(23,87,191,1) !important;
        white-space: nowrap;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }

    
    .nav-menu.open .nav-container,
    body.nav-open .nav-container {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    body.nav-open::before {
        opacity: 1;

        pointer-events: none;
    }


    #wp_nav_w11 .wp_nav {
        position: relative;
        top: 0; 
        padding: 0px;
        display: block;
    }

    body.nav-open {
        overflow: hidden;
        height: 100vh;
    }
 
    .nav-menu.open .mobile-hamburger .hamburger-line,
    body.nav-open .mobile-hamburger .hamburger-line {

        background: transparent;
    }
    .nav-menu.open .mobile-hamburger .hamburger-line::before,
    body.nav-open .mobile-hamburger .hamburger-line::before {
        top: 0;
        transform: rotate(45deg);
    }
    .nav-menu.open .mobile-hamburger .hamburger-line::after,
    body.nav-open .mobile-hamburger .hamburger-line::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .carousel-container { 
        height: 220px; 
        overflow: hidden; 
        margin: 0; 
        width: 100%;
        box-shadow: none; 
    }
    .carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .carousel-control { display: none; }
    .carousel-indicators { bottom: 10px; gap: 10px; }
    .indicator { width: 14px; height: 14px; }

    .content-wrapper > * { width: 100%; }


 .section-header::after {
        display: none !important;
    }

    .section-header .title-wrapper,
    .section-header .section-title,
    .section-header .section-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
    .section-header .section-title {
        width: 100%;
        display: block;
    }
    .section-header .section-subtitle {
        width: 100%;
        display: block;
    }

    .section-subtitle {

        text-align: center !important;
    }

.title-wrapper{
     /* 修正：移除定位 */
    transform: none;
    padding: 0;
}

.title-wrapper1{
     /* 修正：移除定位 */

    position: relative;
    padding: 0;
    transform: translateX(-50%);
    left: 50%;
}

.section-title{

    padding: 0 !important;
}



.sub-nav{
    visibility: hidden !important;
}

.notice-item a:first-child::before {
    content: none !important;
}
    
    .news-main-content,
    .combined-notice-section {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .news-right{

        max-width: none;
    }
    .news-left, .news-right,
    .sidebar {
        width: 100%;
        flex: 0 0 auto;
        min-width: 0;
        padding: 0;
    }


    .news-top-item {
        display: flex;
        gap: 12px;
        flex-direction: row; /* 保持一行 */
        align-items: center;
        padding: 12px;
        margin-bottom: 6px;
        background: #fff;
        box-shadow: 0 6px 18px rgba(0,0,0,0.04);
        border: none;
        min-width: 0;
    }

    .news-date-box {
        width: 64px;
        height: 64px;
        flex: 0 0 64px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px;
    }

    .news-top-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex: 1;
        min-width: 0; /* 允许子项被裁切 */
    }

    .news-top-title {
        font-size: 16px;
        font-weight: bold; /* 修正：移除无效的 800px */
        color: #333;
        margin: 0;
        white-space: nowrap;        /* 强制单行，与日期同行 */
        overflow: hidden;
        text-overflow: ellipsis;   
        min-width: 0;
        
    }

    /* 若有需要显示的辅助信息，放在右侧不换行 */
    .news-top-meta {
        margin-left: auto;
        font-size: 13px;
        color: #888;
        white-space: nowrap;
        flex-shrink: 0;
    }

.research-title-group, .talent-title-group, .party-title-group, .student-title-group {
    margin: 0 auto;
   
}


    .research-header,
    .talent-header,
    .party-header,
    .student-header {
        display: flex;
        flex-direction: row; /* 恢复为水平布局 */
        align-items: center; /* 垂直居中 */
        justify-content: center; /* 水平居中标题组 */
        position: relative;
        margin-left: 0;
        width: 100%; /* 确保容器占满可用宽度 */
    }

    .view-more {
        position: absolute; /* 绝对定位，相对于父容器 */
        right: 0; /* 紧贴右侧 */
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
        z-index: 2;
        text-align: right;
        background: transparent; /* 移除背景 */
        padding: 0; /* 移除内边距 */
        box-shadow: none; /* 移除阴影 */
    }


    /* 图片自适应并圆角化 */
    .news-main-image, .talent-image, .student-image, .card-image, .party-image {
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .news-main-image img,
    .card-image img,
    .party-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }
    .news-list-item,
    .notice-item {
        padding: 12px 0;
        gap: 10px;
        border-bottom: 1px dashed #eee;
    }


    .talent-content, .student-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .talent-left, .talent-right,
    .student-left, .student-right {
        width: 100%;
        padding: 0;
        min-width: 0;
    }

    .talent-item, .student-item {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 14px;
        align-items: stretch;
    }

    .talent-image, .student-image {
        width: 100%;
        height: 180px;
        overflow: hidden;
        flex-shrink: 0;
    }
    .talent-image img, .student-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .talent-info, .student-info { padding: 6px 2px; width: auto; } /* 修正：移除固定宽度 */

    .talent-item-title, .student-item-title {
        font-size: 18px;
        line-height: 1.4;
        margin: 0 0 8px 0;
        font-weight: 600;
        color: #222;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-width: 0;
    }

    .talent-item-desc, .student-item-desc {
        font-size: 14px;
        color: #555;
        line-height: 1.6;
        margin: 0 0 8px 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .talent-item-date, .student-item-date {
        font-size: 13px;
        color: #888;
        text-align: right;
    }

    .talent-right, .student-right {
        padding: 12px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    }

    .talent-list-item, .student-list-item {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px dashed #eee;
    }
    .talent-list-item:last-child, .student-list-item:last-child { border-bottom: none; }

    .talent-list-item a, .student-list-item a {
        font-size: 15px;
        color: #333;
        text-decoration: none;
        flex: 1;
        white-space: normal;
        line-height: 1.6;
        display: block; /* 整行可点 */
        padding-right: 12px;
    }

    .talent-list-date, .student-list-date {
        color: #999; /* 修正：统一颜色 */
        font-size: 13px;
        flex-shrink: 0;
        margin-left: 8px;
    }

    /* 修正：移除空的和冲突的样式 */
    
    .nav-container .nav-panel .sub-nav {
        display: none; /* 默认隐藏 */
        background-color: #f8f9fa;
        padding: 0 20px;
        margin-top: 4px;
        border-left: 2px solid #1757bf;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
    }

    /* 当子菜单被激活时显示 */
    .nav-container .nav-panel .nav-item > a.parent-open + .sub-nav,
    .nav-container .nav-panel .nav-item > a.expanded + .sub-nav {
        display: block;
        max-height: 500px; /* 设置一个足够大的值以容纳内容 */
        opacity: 1;
    }

    /* 修正：移除旧的加号逻辑 */

    .contact-info1 p,
    .contact-info p {
        text-align: left !important;
    }

    .party-card{
        max-width: none !important;
        height: auto !important; /* 修正：高度自适应 */
    }

    .footer-container {
        width: 100%; /* 修正：占满宽度 */
        max-width: none; 
        margin: 0 auto;
        padding: 0 15px; /* 修正：统一内边距 */
        box-sizing: border-box;
    }
    .header,
    .nav-menu,
    .carousel-section,
    .footer {
        width: 100%;
    }

    .header-container,
    .nav-container,
    .carousel-container {
        width: 100%;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }







.address .zipcode {
    display: block;
    margin-top: 4px;
}




    .logo-group {
        padding-left: 0;
    }

     .link-group {
        align-items: flex-start; /* 修正：左对齐 */
    }
    .link-group a {
        display: block;
        text-align: left; /* 修正：左对齐 */
        width: 100%;
        max-width: 360px;
        margin: 0;
    }
    .link-select {
        width: 100%;
        max-width: 360px;
        margin: 0;
        text-align: left; /* 修正：左对齐 */
    }
    .link-select option {
        text-align: left; /* 修正：左对齐 */
    }

    .footer-content {
        width: 100%;
        flex-direction: column;
        gap: 28px;
    }

    .footer-left, .footer-center, .footer-right {
        margin-right: 0; /* 修正：移除外边距 */
        text-align: left; /* 修正：全部左对齐 */
    } 
    .footer-center .footer-title1,
    .footer-right .footer-title { 
        width: 100%; 
        text-align: left !important; 
    }

    .research-title, .talent-title, .student-title, .party-title, .section-title{ font-size: 20px; }
    .view-more { 
        position: absolute; 
        transform: none; 
        display: block; 
        text-align: center;
        background: #fff;
    }

    .link-select { width: 100%; padding: 12px 14px; }
    .email-btn { width: 100%; padding: 12px 14px; justify-content: center; } /* 修正：居中 */

    .footer-container { padding: 0 45px 20px; }

    .news-list-content, .talent-list-item a, .student-list-item a, .notice-item a,
    .card-title, .card-desc, .party-card-title {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        -webkit-line-clamp: unset;
    }
    
    .focus-pagination{
    bottom: 15px !important;
    }







}




@media(max-width: 1200px){
.header-search {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: auto; 
    margin-right: 60px !important; 
}

.focus-container .focus-item img{

    height: 100% !important;

}

.focus-container{
    height: 500px !important;
}

.focus-box{
    height: 500px !important;
}



.focus-navigation{
   
    margin-top: -48px !important;

}



}



@media(max-width: 780px){
.header-search {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: auto; 
    margin-right: 60px !important; 
}

.focus-container .focus-item img{

    height: 100% !important;

}

.focus-container{
    height: 300px !important;
}

.focus-box{
    height: 300px !important;
}


}



@media(max-width: 640px){


.header-search {

    visibility: hidden;

}


}

@media(max-width: 520px){


.focus-container .focus-item img{

    height: 100% !important;

}

.focus-container{
    height: 220px !important;
}

.focus-box{
    height: 220px !important;
}

.focus-pagination{
    bottom: 20px !important;
}

}



@media(max-width: 640px){

    .header-search form .wp_search{

        width: 60% !important;
    }
}



@media(max-width: 510px){

    .header-search{

        visibility: hidden;
    }
}