/* 博客样式 - GetDateLove网站 */

/* 博客预览区域样式 */
.blog-preview-section {
    padding: 4rem 0;
    background-color: #f8f9ff;
    margin: 2rem 0;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.blog-preview-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,100,200,0.1) 0%, rgba(255,100,200,0) 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: 0;
}

.blog-preview-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(100,150,255,0.1) 0%, rgba(100,150,255,0) 70%);
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.blog-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    width: calc(33.333% - 1.5rem);
    min-width: 300px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff6699;
    background-color: rgba(255, 102, 153, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.blog-card-title {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    min-height: 4.8em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    min-height: 4.8em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-block;
    font-weight: 600;
    color: #4a7aff;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.blog-read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4a7aff;
    transition: width 0.3s ease;
}

.blog-read-more:hover::after {
    width: 100%;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #4a7aff;
    color: #4a7aff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #4a7aff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 122, 255, 0.3);
}

/* 博客主页样式 */
.blog-hero {
    background: linear-gradient(120deg, #f8f9ff 0%, #fbeee6 100%);
    color: #222;
    text-align: center;
    padding: 5rem 0 3rem;
    border-bottom: 1px solid #ececec;
}

.blog-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-meta {
    margin: 2rem auto 0;
    color: #888;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.meta-dot {
    width: 6px; height: 6px; background: #bbb; border-radius: 50%; display: inline-block;
}

.hero-more-link {
    display: inline-flex;
    align-items: center;
    margin-top: 2.5rem;
    color: #4a7aff;
    font-weight: 500;
    font-size: 1.05rem;
    text-decoration: none;
    border-bottom: 1px solid #e0e0e0;
    transition: color 0.2s;
}

.hero-more-link i {
    margin-left: 0.5em;
    font-size: 1.1em;
}

.hero-more-link:hover {
    color: #222;
    border-bottom: 1px solid #4a7aff;
}

/* 信任标志区域 */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin-bottom: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.badge i {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: #ffeb3b;
}

/* 特色标签 */
.featured-tag {
    background: linear-gradient(90deg, #ffeb3b, #ffc107);
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px rgba(255, 235, 59, 0.3);
    position: relative;
    overflow: hidden;
}

.featured-tag::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

.blog-hero p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 80%;
    margin: 0 auto;
    font-weight: 500;
}

/* 专家证书区域 */
.expert-credentials {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 85%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
}

.expert-avatar {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    margin-right: 1.5rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 235, 59, 0.3),
        rgba(255, 255, 255, 0.1)
    );
}

.expert-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.byline {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin: 0;
}

/* 行动召唤区域 */
.call-to-action {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #ff6f91, #ff9671);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 111, 145, 0.35);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff9671, #ff6f91);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 111, 145, 0.45);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 80%;
    margin: 0 auto;
}

.blog-search {
    max-width: 580px;
    margin: 1.5rem auto 0;
    position: relative;
}

.blog-search input {
    width: 100%;
    padding: 1.1rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-search input:focus {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.blog-search button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: linear-gradient(135deg, #4a7aff, #6a5acd);
    border: none;
    border-radius: 50px;
    height: calc(100% - 10px);
    padding: 0 1.5rem;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(74, 122, 255, 0.3);
}

.blog-search button:hover {
    background: linear-gradient(135deg, #3861d8, #5949b8);
    box-shadow: 0 5px 15px rgba(74, 122, 255, 0.4);
}

.blog-categories {
    padding: 3rem 0;
    background-color: #f8f9ff;
}

.categories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    width: calc(25% - 1rem);
    min-width: 200px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.category-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.blog-main {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.pagination-link:hover,
.pagination-link.active {
    background: #4a7aff;
    color: #fff;
}

.pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    color: #666;
}

/* 文章详情页样式 */
.article-header {
    padding: 5rem 0;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.article-header::before {    content: '';    position: absolute;    top: 0;    left: 0;    right: 0;    bottom: 0;    background-image: url('https://overseamatch.s3.us-east-2.amazonaws.com/images/blog/pattern-bg.svg');    background-size: cover;    opacity: 0.1;    z-index: 0;}

.article-header-content {    position: relative;    z-index: 1;    max-width: 800px;    margin: 0 auto;    text-align: center;}

.article-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.article-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 800;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.article-date {
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.article-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 1.8rem;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.2rem;
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2.2rem 0 1rem;
    font-weight: 700;
}

.article-content ul, 
.article-content ol {
    margin-bottom: 1.8rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.8rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
}

.article-content blockquote {
    border-left: 4px solid #4a7aff;
    padding: 1rem 0 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background-color: #f8f9ff;
    border-radius: 0 10px 10px 0;
}

.article-tags {
    margin: 3rem 0;
}

.article-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: #4a7aff;
    color: #fff;
}

.article-share {
    display: flex;
    align-items: center;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.share-label {
    margin-right: 1rem;
    font-weight: 600;
}

.share-links {
    display: flex;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    margin-right: 0.8rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-link:hover {
    transform: translateY(-3px);
}

.share-link.facebook:hover {
    background: #3b5998;
    color: #fff;
}

.share-link.twitter:hover {
    background: #1da1f2;
    color: #fff;
}

.share-link.linkedin:hover {
    background: #0077b5;
    color: #fff;
}

.related-articles {
    background: #f8f9ff;
    padding: 4rem 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.author-box {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: #f8f9ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 2rem;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.author-bio {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
}

.author-social a {
    display: inline-block;
    margin-right: 1rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: #4a7aff;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .blog-card {
        width: calc(50% - 1rem);
    }
    
    .blog-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .trust-badges {
        flex-wrap: wrap;
    }
    
    .expert-credentials {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .featured-tag {
        font-size: 0.9rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .expert-credentials {
        flex-direction: column;
        padding: 1.2rem;
    }
    
    .expert-avatar {
        margin: 0 auto 1rem;
    }
    
    .expert-info {
        text-align: center;
    }
    
    .byline {
        font-size: 0.9rem;
    }
    
    .blog-card {
        width: 100%;
    }
    
    .category-card {
        width: calc(50% - 1rem);
    }
    
    .article-header h1 {
        font-size: 2.2rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 4rem 0 3rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .featured-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
        max-width: 95%;
    }
    
    .blog-search button {
        padding: 0 1rem;
    }
    
    .expert-credentials {
        padding: 1rem;
    }
    
    .expert-avatar {
        width: 70px;
        height: 70px;
    }
    
    .byline {
        font-size: 0.85rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
    }
    
    .category-card {
        width: 100%;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
    }
    
    .article-date {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 0.5rem;
    }
}

@media (max-width: 600px) {
    .related-articles-grid {
        display: block;
        padding: 0 8px;
    }
    .blog-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-bottom: 1.5rem;
    }
} 


