/* 主要导航样式 */
.navbar {
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar + .content {
    padding-top: 70px; /* 根据导航栏高度调整 */
}

.navbar-nav .nav-item {
    margin-right: 20px;
    position: relative;
}

.navbar-nav .nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #007bff;
    opacity: 0;
    transition: opacity 0.3s;
}

.navbar-nav .nav-item:hover::after {
    opacity: 1;
}

.navbar-nav .nav-item .nav-link {
    color: #555;
    transition: color 0.3s;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #007bff;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}
/* 幻灯片样式 */
.carousel-item {
    height: 80vh; /* 调整高度 */
    min-height: 300px;
    position: relative;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
}

.carousel-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.carousel-text {
    font-size: 1.2rem;
}

.carousel .btn {
    padding: 10px 20px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 60vh; /* 调整移动设备上的高度 */
    }

    .carousel-title {
        font-size: 2rem;
    }

    .carousel-text {
        font-size: 1rem;
    }

    .carousel .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}


/* 自定义导航按钮 */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M4.03 0L0 4l4.03 4 .91-.91L2.83 4l2.11-2.11L4.03 0z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M3.97 0L8 4 3.97 8l-.91-.91L5.17 4 3.06 1.89 3.97 0z'/%3E%3C/svg%3E");
}

/* 服务部分样式 */
#services .service-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px; /* 增加服务框之间的间距 */
}

#services .service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#services .service-icon {
    color: #007bff;
    margin-bottom: 15px;
}

#services .service-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

#services .service-description {
    color: #6c757d;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #services .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #services .service-box {
        margin: 10px 0;
    }
}


/* 顶部承诺部分样式 */
.footer-top {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

.footer-top .footer-promise {
    margin: 20px 0;
}

.footer-top .footer-promise i {
    color: #007bff;
    margin-bottom: 10px;
}

.footer-top .footer-promise h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #fff;
}

.footer-top .footer-promise p {
    margin: 0;
    color: #b2b2b2;
}

/* 底部版权部分样式 */
.footer-bottom {
    background-color: #f8f9fa; /* 浅灰色背景色 */
    color: #555;
    padding: 20px 0;
    margin-top: 20px; /* 增加顶部间距 */
}

.footer-bottom p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-top .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .footer-top .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin: 10px 0;
    }

    .footer-bottom {
        text-align: center;
    }
}
/* 合作流程部分样式 */
#collaboration-workflow {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f8f9fa;
}

.collaboration-workflow-step {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.collaboration-workflow-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.collaboration-workflow-icon {
    margin-bottom: 10px;
}

.collaboration-workflow-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.collaboration-workflow-description {
    color: #6c757d;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #collaboration-workflow {
        padding: 20px 15px;
    }

    .collaboration-workflow-step {
        margin: 0 10px;
    }
}




/* 案例展示部分样式 */
#portfolio {
    background-color: #f8f9fa;
    padding: 60px 0;
}

#portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 300px; /* 设置固定高度 */
}

#portfolio .portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并裁剪 */
    transition: transform 0.3s ease;
}

#portfolio .portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

#portfolio .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 20px;
}

#portfolio .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

#portfolio .portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#portfolio .portfolio-overlay p {
    font-size: 1rem;
    margin: 0;
}

#portfolio .portfolio-overlay .btn {
    margin-top: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #portfolio .portfolio-item {
        margin-bottom: 20px;
        height: 200px; /* 调整移动设备上的高度 */
    }
}
/* 博客板块样式 */
#blog {
    background-color: #f8f9fa;
    padding: 60px 0;
}

#blog .category-nav .btn {
    margin: 5px;
}

#blog .category-nav .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

#blog .blog-post-item {
    display: none; /* 默认隐藏所有文章 */
}

#blog .blog-post-item.active {
    display: block; /* 显示激活的文章 */
}

#blog .blog-post {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

#blog .blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#blog .post-thumbnail {
    position: relative;
    width: 40%;
    height: 100%;
}

#blog .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并裁剪 */
}

#blog .post-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #007bff;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

#blog .post-date span {
    display: block;
}

#blog .post-content {
    padding: 20px;
    width: 60%;
}

#blog .post-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

#blog .post-excerpt {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

#blog .btn {
    margin-top: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #blog .blog-post {
        flex-direction: column;
    }

    #blog .post-thumbnail, #blog .post-content {
        width: 100%;
    }

    #blog .post-thumbnail {
        height: auto;
    }
}

/* AI训练页面样式 */
.ai-training-page {
    font-family: 'Roboto', sans-serif;
}

.ai-training-page h1, .ai-training-page h2, .ai-training-page h3 {
    margin: 0 0 20px 0;
}

.ai-training-page p {
    margin: 0 0 10px 0;
}

/* 按钮微互动样式 */
.ai-training-page .interactive-btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.ai-training-page .interactive-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 图片微互动样式 */
.ai-training-page .interactive-image {
    transition: transform 0.3s, box-shadow 0.3s;
}

.ai-training-page .interactive-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 渐变背景样式 */
.ai-training-page .bg-gradient {
    background: linear-gradient(135deg, #007bff 0%, #00c6ff 100%);
    color: #fff;
}

.ai-training-page .bg-gradient-light {
    background: linear-gradient(135deg, #e0f7fa 0%, #e0f2f1 100%);
    color: #333;
}

/* 动效背景样式 */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* 英雄图部分 */
.ai-training-page .hero-section {
    position: relative;
    background-image: url('/wp-content/themes/my-business-theme/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 200px 0 150px 0; /* 增加顶部填充 */
}

.ai-training-page .hero-section h1 {
    font-size: 3rem;
}

.ai-training-page .hero-section p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* 内容部分 */
.ai-training-page .py-5 {
    padding: 80px 0;
}

.ai-training-page .about-section img,
.ai-training-page .applications-section img,
.ai-training-page .features-section img {
    max-width: 100%;
    border-radius: 10px;
}

.ai-training-page .about-section {
    background-color: #f8f9fa;
}

.ai-training-page .applications-section .application-item,
.ai-training-page .features-section .feature-item {
    margin-bottom: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ai-training-page .applications-section .application-item:hover,
.ai-training-page .features-section .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ai-training-page .contact-section {
    background-color: #f8f9fa;
}

.ai-training-page .contact-section p {
    margin-bottom: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .ai-training-page .hero-section {
        padding: 120px 0 60px 0; /* 移动端顶部填充 */
    }

    .ai-training-page .hero-section h1 {
        font-size: 2rem;
    }

    .ai-training-page .hero-section p {
        font-size: 1rem;
    }

    .ai-training-page .py-5 {
        padding: 40px 0;
    }

    .ai-training-page .applications-section .application-item,
    .ai-training-page .features-section .feature-item {
        margin-bottom: 20px;
    }

    /* 导航栏Logo的响应式样式 */
    .navbar-brand img {
        max-width: 100px; /* 调整Logo的大小 */
        height: auto;
    }

    .navbar {
        padding: 10px 15px; /* 调整导航栏的内边距 */
    }
}

/***开始大模型部署页面***/
/* 英雄部分样式 */
.hero-section {
    position: relative;
    background-image: url('/wp-content/themes/my-business-theme/images/heroai-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 200px 0;
}

.hero-section .btn {
    margin-top: 20px;
}



/* 大模型类型部分样式 */
#models {
    background-color: #fff;
    padding-top: 50px;
    padding-bottom: 50px;
}

.model-box {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.model-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.model-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.model-description {
    color: #6c757d;
}

/* 图片悬停效果 */
.model-image {
    transition: transform 0.3s, box-shadow 0.3s;
}

.model-box:hover .model-image {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


/* 本地化大模型部署流程图部分样式 */
/* AI大模型部署流程图部分样式 */
#ai-workflow {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f8f9fa;
}

.ai-workflow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-workflow-step {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    width: 80%;
}

.ai-step-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1;
}

.ai-step-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ai-step-number {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 10px;
    color: #fff;
}

/* 背景色和步骤号颜色 */
.step1 .ai-step-content {
    background-color: #F3E9FF;
}
.step1 .ai-step-number {
    background-color: #6F42C1;
}

.step2 .ai-step-content {
    background-color: #CDEFFF;
}
.step2 .ai-step-number {
    background-color: #007BFF;
}

.step3 .ai-step-content {
    background-color: #FFEDED;
}
.step3 .ai-step-number {
    background-color: #DC3545;
}

.step4 .ai-step-content {
    background-color: #E6E6FF;
}
.step4 .ai-step-number {
    background-color: #6C757D;
}

.step5 .ai-step-content {
    background-color: #FFF3CD;
}
.step5 .ai-step-number {
    background-color: #FFC107;
}

.step6 .ai-step-content {
    background-color: #E2E3E5;
}
.step6 .ai-step-number {
    background-color: #343A40;
}

.step7 .ai-step-content {
    background-color: #D4EDDA;
}
.step7 .ai-step-number {
    background-color: #28A745;
}

.step8 .ai-step-content {
    background-color: #D1ECF1;
}
.step8 .ai-step-number {
    background-color: #17A2B8;
}

/* 媒体查询 */
@media (max-width: 768px) {
    .ai-workflow-container {
        align-items: center;
    }

    .ai-step-content {
        max-width: 100%;
        margin: 0 10px;
    }

    .ai-workflow-step {
        width: 90%;
        margin-bottom: 20px;
    }
}


/* 简介部分样式 */
#introduction {
    background-color: #f8f9fa;
    padding-top: 50px;
    padding-bottom: 50px;
    color: #333;
}

#introduction h2 {
    font-size: 2rem;
    color: #007bff;
}

.intro-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.intro-content h4 {
    font-size: 1.5rem;
    margin-top: 20px;
    color: #007bff;
}

.intro-point {
    margin-bottom: 20px;
}

.intro-point h5 {
    font-size: 1.25rem;
    color: #333;
}

.intro-point p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #555;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #introduction {
        padding: 20px 15px;
    }

    .intro-content {
        padding: 20px;
    }

    #introduction h2 {
        font-size: 1.75rem;
    }

    .intro-content p,
    .intro-point p {
        font-size: 0.9rem;
    }

    .intro-content h4,
    .intro-point h5 {
        font-size: 1.25rem;
    }
}

/*源码列表页样式*/
/* 为文章列表页添加一个唯一的类名 */
.article-list-page {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.article-list-page .category-banner {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px; /* 增加顶部留白 */
}

.article-list-page .category-title {
    font-size: 2.5em;
    margin: 0;
}

.article-list-page .category-description {
    font-size: 1.2em;
    margin-top: 10px;
    color: #666;
}

.article-list-page .container {
    padding: 0 20px;
}

.article-list-page .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.article-list-page .post-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-list-page .post-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.article-list-page .post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-list-page .post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-list-page .post-title {
    margin: 0 0 10px;
    font-size: 1.5em;
    flex: 1;
}

.article-list-page .post-date {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.article-list-page .post-excerpt {
    flex: 1;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-list-page .read-more {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
    align-self: flex-start;
}

.article-list-page .read-more:hover {
    color: #0056b3;
}

.article-list-page .pagination {
    text-align: center;
    margin-top: 40px;
}

.article-list-page .pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 10px 15px;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.article-list-page .pagination .page-numbers:hover {
    background: #0056b3;
}

.article-list-page .pagination .current {}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-list-page .category-banner {
        padding: 40px 0;
    }

    .article-list-page .category-title {
    background: #0056b3;

        font-size: 2em;
    }

    .article-list-page .category-description {
        font-size: 1em;
    }

    .article-list-page .post-card {
        max-width: 100%;
    }

    .article-list-page .post-thumbnail img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .article-list-page .category-banner {
        padding: 30px 0;
    }

    .article-list-page .category-title {
        font-size: 1.5em;
    }

    .article-list-page .category-description {
        font-size: 0.9em;
    }

    .article-list-page .post-thumbnail img {
        height: 120px;
    }
}
/***内容页*/
/* 文章内容页样式 */
.article-content-page {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.article-content-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content-page .entry-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 80px; /* 增加顶部留白 */
}

.article-content-page .entry-title {
    font-size: 2.5em;
    color: #222;
    margin: 0;
}

.article-content-page .entry-meta {
    font-size: 1em;
    color: #666;
    margin-top: 10px;
}

.article-content-page .entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 40px;
}

.article-content-page .entry-content {
    font-size: 1.2em;
    line-height: 1.8;
    color: #333;
}

.article-content-page .entry-content p {
    margin-bottom: 20px;
}

.article-content-page .entry-content h2, 
.article-content-page .entry-content h3, 
.article-content-page .entry-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #222;
}

.article-content-page .entry-content blockquote {
    margin: 40px 0;
    padding: 20px;
    background: #e0e0e0;
    border-left: 5px solid #007bff;
}

.article-content-page .entry-footer {
    margin-top: 40px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
}

.article-content-page .entry-tags h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #222;
}

.article-content-page .tags-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.article-content-page .tags-list li {
    margin: 5px;
}

.article-content-page .tags-list a {
    display: inline-block;
    padding: 10px 15px;
    background: #e0e0e0;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.article-content-page .tags-list a:hover {
    background: #c0c0c0;
}

/* 随机推荐文章样式 */
.article-content-page .related-posts {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.article-content-page .related-posts h2 {
    font-size: 1.8em;
    color: #222;
    margin-bottom: 20px;
    text-align: center;
}

.article-content-page .related-posts-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.article-content-page .related-posts-list li {
    margin: 10px 0;
}

.article-content-page .related-posts-list a {
    font-size: 1.2em;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.article-content-page .related-posts-list a:hover {
    color: #0056b3;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-content-page .entry-title {
        font-size: 2em;
    }

    .article-content-page .entry-content {
        font-size: 1.1em;
    }

    .article-content-page .entry-content h2, 
    .article-content-page .entry-content h3, 
    .article-content-page .entry-content h4 {
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .article-content-page .tags-list a {
        padding: 8px 12px;
    }

    .article-content-page .related-posts h2 {
        font-size: 1.5em;
    }

    .article-content-page .related-posts-list a {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .article-content-page .entry-title {
        font-size: 1.5em;
    }

    .article-content-page .entry-content {
        font-size: 1em;
    }

    .article-content-page .entry-content h2, 
    .article-content-page .entry-content h3, 
    .article-content-page .entry-content h4 {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .article-content-page .tags-list a {
        padding: 6px 10px;
    }

    .article-content-page .related-posts h2 {
        font-size: 1.2em;
    }

    .article-content-page .related-posts-list a {
        font-size: 0.9em;
    }
}
