/* ========================================
   三亩地 - 内页通用样式
   ======================================== */

/* 页面头部 Banner */
.page-header {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/page-banner-bg.jpg') center/cover no-repeat;
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #f5f0e6;
}

.page-header h1 {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
    background: #faf6ed;
    padding: 20px 0;
    border-bottom: 1px solid #e5e0d5;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.breadcrumb-list {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumb-list a {
    color: #8b2e2e;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #6b2222;
}

.breadcrumb-list span {
    color: #999;
}

/* 内容区域 */
.content-section {
    padding: 80px 0;
}

/* 文章列表样式 */
.article-list {
    display: grid;
    gap: 30px;
}

.article-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.article-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.article-thumb {
    width: 100%;
    height: 180px;
    border-radius: 4px;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-item:hover .article-thumb img {
    transform: scale(1.08);
}

.article-info h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.5;
}

.article-info h3 a:hover {
    color: #8b2e2e;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.article-excerpt {
    color: #666;
    line-height: 1.9;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.read-more {
    color: #8b2e2e;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #6b2222;
}

/* 侧边栏布局 */
.sidebar-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* 侧边栏 */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #8b2e2e;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    margin-bottom: 12px;
}

.sidebar-widget a {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.sidebar-widget a::before {
    content: '›';
    color: #8b2e2e;
    font-size: 18px;
}

.sidebar-widget a:hover {
    color: #8b2e2e;
    padding-left: 5px;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f0e6;
    color: #666;
    font-size: 13px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #8b2e2e;
    color: #f5f0e6;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .sidebar-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .article-item {
        grid-template-columns: 1fr;
    }

    .article-thumb {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 300px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .breadcrumb-container {
        padding: 0 20px;
    }
}
