/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器样式 */
.joe_container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.joe_header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.joe_header__logo {
    float: left;
}

.joe_header__logo a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.joe_header__logo img {
    height: 40px;
}

.joe_header__nav {
    float: left;
    margin-left: 50px;
}

.joe_header__nav ul {
    list-style: none;
}

.joe_header__nav li {
    float: left;
    margin-right: 30px;
}

.joe_header__nav a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s;
}

.joe_header__nav a:hover {
    color: #007bff;
}

.joe_header__search {
    float: right;
}

.joe_header__search form {
    display: flex;
}

.joe_header__search input {
    width: 200px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.joe_header__search button {
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.joe_header__search button:hover {
    background-color: #0069d9;
}

/* 首页轮播图样式 */
.joe_index__carousel {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.swiper-container {
    width: 100%;
    height: 400px;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    padding: 30px;
}

.carousel-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.carousel-content p {
    font-size: 16px;
    opacity: 0.9;
}

/* 文章列表样式 */
.joe_index__list {
    margin: 20px 0;
}

.joe_index__list-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.joe_index__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.joe_index__list-item .title {
    font-size: 20px;
    margin-bottom: 10px;
}

.joe_index__list-item .title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.joe_index__list-item .title a:hover {
    color: #007bff;
}

.joe_index__list-item .meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.joe_index__list-item .meta span {
    margin-right: 15px;
}

.joe_index__list-item .content {
    margin-bottom: 15px;
    line-height: 1.6;
}

.joe_index__list-item .read-more a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.joe_index__list-item .read-more a:hover {
    background-color: #0069d9;
}

/* 侧栏样式 */
.joe_aside {
    width: 300px;
    float: right;
    margin-left: 30px;
}

.joe_aside__widget {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.joe_aside__widget h3 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

.joe_footer__content {
    text-align: center;
}

.joe_footer__content .copyright {
    margin-bottom: 10px;
}

.joe_footer__content .icp {
    margin-bottom: 10px;
    font-size: 14px;
}

.joe_footer__content .powered {
    font-size: 14px;
    color: #999;
}

.joe_footer__content a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.joe_footer__content a:hover {
    color: #007bff;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .joe_container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .joe_header__nav {
        display: none;
    }
    
    .joe_aside {
        width: 100%;
        float: none;
        margin-left: 0;
    }
    
    .swiper-container {
        height: 200px;
    }
}
