 * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
        font-family: 'Arial', sans-serif;
        line-height: 1.6;
        color: #333;
        text-decoration:none;
    }
   a{text-decoration:none;} 
.text-module span{
     text-decoration: none;
     color: #000;
}
    .container {
        max-width: 1580px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* 头部样式 */
    .text-module {
    font-size: 30px;       
    padding: 12px 20px;    
    
    
}
    header {
        background-color: #fff;
        padding: 15px 0;
        border-bottom: 1px solid #b7b4b4;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-container {
        width: 100%;
        text-align: center;
    }

    .logo img {
        display: inline-block;
        width: 480px;
        height: auto;
        margin:0 0 30px 0
    }

    .menu-toggle {
        width: 20%;
        display: none;
        justify-content: flex-end;
    }

    .hamburger {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        position: relative;
    }

    .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .close-button {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        font-size: 24px;
        color: #333;
    }

    .desktop-nav ul {
        list-style: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .desktop-nav li {
        margin: 0 15px;
    }

    .desktop-nav a {
        text-decoration: none;
        color: #333;
        font-size: 20px;
        transition: color 0.3s;
    }
.desktop-nav a:hover {
        text-decoration: none;
        color: #004ec3;
        
        transition: color 0.3s;
    }
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        
        background-color: #fff;
        min-width: 150px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        display: flex;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .dropdown-menu li {
        margin: 0 10px;
    }

    .dropdown-menu a {
        display: block;
        padding: 8px 15px;
        color: #333;
        font-size: 13px;
        white-space: nowrap;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-nav {
        display: none;
        background-color: #fff;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        overflow-y: auto;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: all 0.3s ease;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .mobile-nav-title {
        font-size: 18px;
        font-weight: bold;
    }

    .mobile-nav-close {
        font-size: 24px;
        color: #333;
    }

    .mobile-nav ul {
        list-style: none;
        padding: 20px;
    }

    .mobile-nav li {
        margin: 10px 0;
    }

    .mobile-nav a {
        text-decoration: none;
        color: #333;
        font-size: 16px;
        display: block;
        padding: 10px 0;
    }

    .mobile-nav .dropdown-menu {
        display: none;
        background-color: #f8f9fa;
        padding-left: 20px;
    }

    /* 主要内容区 */
    .main-content {
        padding: 40px 0;
    }

    .section-title {
        text-align: center;
        font-size: 55px;
        margin: 30px 0px 0px 0px;
        font-weight:400;
        letter-spacing: 10px;
        color: #333;
        border-top: 6px solid #000;
        padding:10px;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 5px;
    }
.hero-image{
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-image:hover {
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
    .articles-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding-top:10px;
        
    }

    .article-card {
        background-color: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
		padding-bottom: 10px;
    }

    .article-card:hover {
        transform: translateY(-5px);
    }

    .article-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .article-title {
        text-decoration:none;
        padding: 15px;
        font-size: 21px;
        color: #0B3861;
        height: 80px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 订阅区域 */
    .subscription-section {
        padding: 40px 0;
        border-top: 8px solid #140101;
    }

    .subscription-container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .subscription-form {
        width: 60%;
    }

    .subscription-form p {
        font-size: 22px;
        color: #666;
        font-weight:500;
        margin-bottom: 15px;
    }

    .subscription-form input[type="email"] {
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        width: 100%;
        margin-bottom: 10px;
    }

    .subscription-form label {
        font-size: 16px;
        color: #666;
        display: block;
        margin-bottom: 10px;
    }

    .subscribe-btn {
        background-color: #007bff;
        color: #fff;
        border: none;
        padding: 12px 24px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s;
    }

    .subscribe-btn:hover {
        background-color: #0056b3;
    }

    .advertisement  {
        width: 38%;
        height: auto;
    }
    .advertisement  img{
        
        max-height: 400px;
    }

    /* 底部 */
    footer {
        background-color: #333;
        color: #fff;
        padding: 40px 0;
        margin-top: 40px;
    }

    footer .container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .coffee-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .coffee-section p {
        font-size: 14px;
        color: #ccc;
        margin-bottom: 20px;
    }

    .buy-coffee-btn {
        background-color: #007bff;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
        transition: background-color 0.3s;
    }

    .buy-coffee-btn:hover {
        background-color: #0056b3;
    }

    .search-section form {
        display: flex;
        width: 300px;
    }

    .search-section input[type="text"] {
        flex: 1;
        padding: 10px;
        border: 1px solid #555;
        border-radius: 4px 0 0 4px;
        font-size: 14px;
    }

    .search-section button {
        background-color: #007bff;
        color: #fff;
        border: none;
        padding: 10px 15px;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
    }
    

    /* 响应式设计 */
    @media (max-width: 992px) {
        .articles-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .subscription-container {
            flex-direction: column;
        }

        .subscription-form {
            width: 100%;
            margin-bottom: 20px;
        }

        .advertisement img {
            width: 100%;
        }
    }

    @media (max-width: 768px) {
        .wpcf7 {
    background-color: var(--bg-color);
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
   
    margin: 20px auto; /* 居中显示 */
}
       .mobile-nav .dropdown-menu {
    /* display: none; */
    background-color: #f8f9fa;
    padding-left: 20px;
}
.dropdown-menu {
    /* position: absolute; */
    top: 100%;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    /* opacity: 0; */
    /* visibility: hidden; */
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
}
.mobile-nav .dropdown-menu {
    /* display: none; */
    background-color: #f8f9fa;
    padding-left: 20px;
}
        .advertisement  {
        width: 100%;
        height: auto;
    }
    .logo img {
        display: inline-block;
        width: 180px;
        height: auto;
        margin: 0;
    }
    .section-title {
        text-align: center;
        font-size: 25px;
        margin: 30px 0px 0px 0px;
        font-weight:400;
        letter-spacing: 6px;
        color: #333;
        border-top: 1px solid #000;
        padding: 10px;
    }
    .text-module {
    font-size: 14px;       
    padding: 12px 20px;    
    
    
}
        .desktop-nav {
            display: none;
        }

        .menu-toggle {
            display: block;
        }

        .articles-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        footer .container {
            flex-direction: column;
            gap: 30px;
        }

        .search-section form {
            width: 100%;
        }
		.mobile-nav.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hamburger {
    display: block;
}

.close-button {
    display: none;
}

.mobile-nav.active ~ .hamburger {
    display: none;
}

.mobile-nav.active ~ .close-button {
    display: block;
}
.article-card img {
        width: 100%;
        height: 100px;
        object-fit: cover;
    }
	.article-title {
            font-size: 14px;
			line-height: 1.4;
			height: 50px;
			display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
        }
    }

    @media (max-width: 480px) {
        .hero-image img {
            height: 200px;
            object-fit: cover;
        }

        .article-title {
            font-size: 14px;
			line-height: 1.4;
			height: 50px;
			display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
        }
		
    }
    
    /* 表单主容器 */
.wpcf7 {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
   
    margin: 20px auto; /* 居中显示 */
}

/* 表单字段布局 */
.wpcf7-form label {
    display: block; /* 让标签和输入框各占一行 */
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--label-color);
    font-size: 16px;
}

/* 所有输入框和文本域的通用样式 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%; /* 宽度100% */
    padding: 12px 15px;
    border: 1px solid #d1cfcf;
    border-radius: 5px;
    font-size: 16px;
    color: var(--text-color);
    background-color: #fff;
    transition: all 0.3s ease; /* 平滑过渡效果 */
    box-sizing: border-box; /* 防止padding撑大宽度 */
}

/* 文本域特殊设置 */
.wpcf7-form textarea {
    min-height: 120px; /* 设置最小高度 */
    resize: vertical; /* 允许用户垂直拖动调整大小 */
}

/* 输入框获得焦点时的样式 */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    outline: none; 
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 115, 170, 0.3); 
}

/* 提交按钮样式 */
.wpcf7-form input[type="submit"] {
    background-color: #1f71c9;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer; /* 鼠标悬停时显示手型 */
    transition: background-color 0.3s ease;
    width: 100%; /* 按钮也占满整行 */
    margin-top: 10px;
}

/* 提交按钮悬停效果 */
.wpcf7-form input[type="submit"]:hover {
    background-color: #1a5697;
}


.wpcf7 .ajax-loader {
    display: none;
}


.wpcf7-not-valid-tip {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
    display: block;
}


.wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
    
}

#searchform {
  max-width: 500px; /* 限制最大宽度，显得更精致 */
  margin: 20px auto; /* 上下外边距20px，左右自动居中 */
}

.input-group {
  display: flex; 
  border: 1px solid #c1bdbd;
  border-radius:30px;
  overflow: hidden; /* 关键：让内部的圆角生效 */
  background-color: #fff;
  transition: box-shadow 0.3s ease, border-color 0.3s ease; /* 平滑过渡效果 */
}


.input-group:focus-within {
  border-color: #939292;
  box-shadow: 0 0 0 1px #939292; /* 柔和的阴影 */
}

#searchform .form-control {
  flex: 1; /* 占据剩余的所有空间 */
  border: none; /* 去掉输入框自己的边框 */
  padding: 12px 20px; /* 舒适的内边距 */
  font-size: 16px;
  color: var(--text-color);
  background-color: transparent; /* 背景透明，使用父级的背景 */
  outline: none; 
  width: 110px;
}

#searchform .form-control::placeholder {
  color: #aaa; /* 占位符文字颜色 */
}

#searchform .btn {
    border: none;
    background-color: #fff;
    color: #0c0000;
    padding: 15px 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}



#searchform .btn i {
  font-size: 16px; /* 图标大小 */
}       