/* === 抹平 a 标签所有默认样式 === */

/* section容器使用flex布局 */
section.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 40px;
}

/* 左侧主要内容容器 */
.main-content-container {
    flex: 1;
    min-width: 0;
}

/* 分类标题 */
.section-header {
    width: 100%;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fbbf24;
    margin: 0;
}

/* PC版文章网格 - 一行两条卡片 */
.features-grid-article {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

/* 文章卡片样式 */
.article {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: auto;
    position: relative;
    align-items: flex-start;
    gap: 8px;
}

.article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-bottom {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.img-box {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article:hover .article-img {
    transform: scale(1.05);
}

.article-description {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 分页样式 */
.pagination-wrap {
    width: 100%;
    margin-top: 40px;
    clear: both;
}

.paging-cls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.paging-cls li {
    margin: 0;
}

.paging-cls a {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #cbd5e1;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.paging-cls a:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    color: #fff;
}

.paging-cls li.active a {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: transparent;
    color: white;
}

/* PC版分页容器 */
.pagination-wrap.hidden-xs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 40px;
    clear: both;
    padding: 25px 0;
}

/* 分页列表 */
.pagination-wrap.hidden-xs .paging-cls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 分页项 */
.pagination-wrap.hidden-xs .paging-cls li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 分页链接 */
.pagination-wrap.hidden-xs .paging-cls a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* 分页链接悬停效果 */
.pagination-wrap.hidden-xs .paging-cls a:hover {
    background: var(--glass-hover);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* 当前页高亮样式 */
.pagination-wrap.hidden-xs .paging-cls .active a {
    background: var(--btn-gradient);
    color: white !important;
    border-color: #2563eb;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
    font-weight: 600;
    transform: translateY(-3px);
}

/* 首页/尾页特殊样式 */
.pagination-wrap.hidden-xs .paging-cls li:first-child a,
.pagination-wrap.hidden-xs .paging-cls li:last-child a {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.28);
    color: var(--text-accent);
    font-weight: 500;
}

/* 下一页特殊样式 */
.pagination-wrap.hidden-xs .paging-cls a[aria-label="Next"] {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.35);
    font-weight: 500;
}

/* 数字页码样式 */
.pagination-wrap.hidden-xs .paging-cls a:not([aria-label="Next"]):not(:first-child):not(:last-child) {
    min-width: 40px;
    padding: 0;
    font-weight: 500;
}

/* 手机版分页样式 */
.pagination-wrap.visible-xs {
    display: none;
    margin: 30px auto;
    padding: 20px;
    backdrop-filter: blur(12px);
    max-width: 100%;
    overflow: hidden;
}

/* 分页列表 - 使用flex-wrap自动换行 */
.pagination-wrap.visible-xs .paging-cls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

/* 分页项 */
.pagination-wrap.visible-xs .paging-cls li {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

/* 分页按钮 - 修正尺寸 */
.pagination-wrap.visible-xs .paging-cls a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    background: rgba(30, 36, 50, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    box-sizing: border-box;
}

/* 悬停和点击效果 */
.pagination-wrap.visible-xs .paging-cls a:active {
    background: var(--btn-gradient);
    color: white !important;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* 特殊按钮样式 */
.pagination-wrap.visible-xs .paging-cls a[aria-label="Previous"],
.pagination-wrap.visible-xs .paging-cls a[aria-label="Next"] {
    min-width: 70px;
    padding: 0 16px;
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.3);
    font-weight: 500;
}

/* 首页/尾页特殊样式 */
.pagination-wrap.visible-xs .paging-cls a:first-child,
.pagination-wrap.visible-xs .paging-cls a:last-child {
    min-width: 60px;
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--text-accent);
    font-weight: 500;
}

/* 禁用状态样式 */
.pagination-wrap.visible-xs .paging-cls a.disable {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.6;
}

/* 站点地图导航调整位置 */
.nav-site-map {
    position: absolute;
    top: -50px;
    left: 0;
    right: 320px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 20px;
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
}

.nav-site-map a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-site-map a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.nav-site-map > span {
    margin: 0 8px;
    opacity: 0.6;
}

/* 文章内容详情区域 */
.article-content-detail {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    min-width: 0;
}

/* 文章标题 */
.article-title-detail h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #fbbf24;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

/* 文章元信息 */
.article-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    font-size: 14px;
    color: var(--text-secondary);
}

.article-meta-author,
.article-meta-published {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta-author::before {
    content: "👤";
    font-size: 12px;
}

.article-meta-published::before {
    content: "📅";
    font-size: 12px;
}

/* 文章图片 */
.article-img {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.article-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.article-img:hover img {
    transform: scale(1.02);
}

/* 文章正文 */
.article-body {
    margin-top: 32px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-body p {
    margin-bottom: 24px;
    font-size: 16px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

/* 文章正文中的特殊样式 */
.article-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article-body em {
    color: var(--text-accent);
    font-style: italic;
}

.article-body a {
    color: var(--text-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.2s ease;
}

.article-body a:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-accent);
}

.article-body ul,
.article-body ol {
    margin: 16px 0 24px 24px;
    color: var(--text-secondary);
}

.article-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-body blockquote {
    border-left: 4px solid var(--text-accent);
    padding-left: 20px;
    margin: 24px 0;
    color: var(--text-secondary);
    font-style: italic;
    background: rgba(59, 130, 246, 0.05);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
}

/* 代码块样式 */
.article-body pre {
    background: rgba(18, 22, 33, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

.article-body code {
    background: rgba(18, 22, 33, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 2px 6px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    color: #e06c75;
}

/* 评论区 */
.comments {
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

.comments h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.comments h3::before {
    font-size: 18px;
}

.comments label {
    display: block;
    margin-bottom: 16px;
}

.comments textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px;
    background: rgba(18, 22, 33, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    transition: all 0.2s ease;
    font-family: inherit;
}

.comments textarea:focus {
    outline: none;
    border-color: var(--text-accent);
    background: rgba(18, 22, 33, 0.8);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comments .btn {
    background: var(--btn-gradient);
    border: none;
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.comments .btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.comments .btn::after {
    content: "→";
    font-size: 14px;
    transition: transform 0.2s ease;
}

.comments .btn:hover::after {
    transform: translateX(4px);
}

.comments .btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.comments .btn-outline:hover {
    background: var(--glass-hover);
    border-color: var(--text-accent);
}

/* 标签云样式（可选） */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag-cloud a {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--text-accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-cloud a:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

/* 响应式设计 */

/* PC响应式调整 - 移除浮动框时文章卡片变大 */
@media (max-width: 1400px) {
    .features-grid-article {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .main-content {
        display: block;
        gap: 0;
    }

    .features-grid-article {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 平板设备 */
@media (max-width: 1024px) {
    .features-grid-article {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .article {
        flex-direction: column;
        gap: 24px;
    }

    .article-content-detail {
        padding: 32px;
    }

    .article-title-detail h1 {
        font-size: 28px;
    }

    .nav-site-map {
        position: relative;
        top: 0;
        margin-bottom: 20px;
        width: 100%;
        right: 0;
    }
}

/* 手机设备 */
@media (max-width: 768px) {
    .features-grid-article {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .article {
        gap: 20px;
        margin-bottom: 15px;
        padding: 15px;
    }

    .article:last-child {
        margin-bottom: 0;
    }

    .article-bottom {
        flex-direction: column;
    }

    .img-box {
        width: 100%;
        height: 180px;
        margin-bottom: 15px;
    }

    .nav-site-map {
        position: relative;
        top: 0;
        margin-bottom: 20px;
        font-size: 13px;
        padding: 8px 12px;
    }

    .article-content-detail {
        padding: 24px;
    }

    .article-title-detail h1 {
        font-size: 24px;
    }

    .article-meta {
        flex-direction: column;
        gap: 12px;
    }

    .article-body p {
        font-size: 15px;
    }

    .article-body ul,
    .article-body ol {
        margin-left: 16px;
    }

    .comments {
        margin-top: 32px;
        padding-top: 24px;
    }

    .comments h3 {
        font-size: 18px;
    }

    .comments textarea {
        min-height: 100px;
        padding: 12px;
    }

    .comments .btn {
        width: 100%;
        padding: 14px;
        justify-content: center;
    }

    /* 手机版分页响应式切换 */
    @media (max-width: 767px) {
        .pagination-wrap.hidden-xs {
            display: none !important;
        }

        .pagination-wrap.visible-xs {
            display: block !important;
            padding: 16px 12px;
            margin: 24px auto;
            border-radius: 14px;
        }

        .pagination-wrap.visible-xs .paging-cls {
            gap: 10px;
        }

        .pagination-wrap.visible-xs .paging-cls a {
            min-width: 44px;
            height: 44px;
            padding: 0 14px;
            font-size: 13px;
            border-radius: 10px;
        }

        .pagination-wrap.visible-xs .paging-cls a[aria-label="Previous"],
        .pagination-wrap.visible-xs .paging-cls a[aria-label="Next"] {
            min-width: 62px;
            padding: 0 14px;
        }

        .pagination-wrap.visible-xs .paging-cls a:first-child,
        .pagination-wrap.visible-xs .paging-cls a:last-child {
            min-width: 54px;
        }
    }

    /* PC端分页响应式切换 */
    @media (min-width: 768px) {
        .pagination-wrap.hidden-xs {
            display: flex !important;
            justify-content: center;
            align-items: center;
            margin: 50px 0 40px;
            padding: 25px 0;
        }

        .pagination-wrap.visible-xs {
            display: none !important;
        }
    }

    /* 手机版首页新闻容器 */
    .mobile-content .glass.rounded-2xl.p-5.mb-8.fadein {
        background: rgba(15, 23, 42, 0.3) !important;
        border: 1px solid rgba(99, 102, 241, 0.2) !important;
        border-radius: 12px !important;
        padding: 16px !important;
        margin: 16px auto !important;
        max-width: 95% !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
        backdrop-filter: blur(10px);
    }

    .mobile-content .features-grid-article {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        margin: 0;
    }

    .mobile-content .article {
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: rgba(15, 23, 42, 0.5);
        border: 1px solid rgba(99, 102, 241, 0.2);
        padding: 12px;
        border-radius: 10px;
        transition: all 0.3s ease;
        margin-bottom: 15px;
    }

    .mobile-content .article:last-child {
        margin-bottom: 0;
    }

    .mobile-content .article:hover {
        border-color: rgba(99, 102, 241, 0.4);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .mobile-content .article-title {
        font-size: 1.1rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        color: rgba(252, 211, 77, var(--tw-text-opacity));
        margin: 0;
        font-weight: 600;
    }

    .mobile-content .article-bottom {
        display: flex;
        flex-direction: row;
        gap: 12px;
        align-items: flex-start;
        margin-top: 4px;
    }

    .mobile-content .img-box {
        width: 100px;
        height: 80px;
        border-radius: 6px;
        flex-shrink: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.2);
    }

    .mobile-content .article-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-content .article-description {
        flex: 1;
        min-width: 0;
        margin: 0;
        line-height: 1.5;
        color: rgb(156, 163, 175);
        font-size: 0.9rem;
        overflow: visible;
        text-overflow: clip;
        max-height: none;
        white-space: normal;
    }
}

/* 平板设备调整 */
@media (max-width: 1024px) and (min-width: 769px) {
    .mobile-content .glass.rounded-2xl.p-5.mb-8.fadein {
        max-width: 90%;
        padding: 20px !important;
    }

    .mobile-content .features-grid-article {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mobile-content .article {
        margin-bottom: 15px;
    }

    .mobile-content .article-description {
        font-size: 0.95rem;
    }
}

/* 小手机设备 */
@media (max-width: 480px) {
    .article-content-detail {
        padding: 20px;
    }

    .article-title-detail h1 {
        font-size: 22px;
        line-height: 1.4;
    }

    .article-body p {
        font-size: 14px;
        line-height: 1.7;
    }

    .article-body pre,
    .article-body code {
        font-size: 12px;
    }

    .article-body blockquote {
        padding: 12px 16px;
        margin: 16px 0;
    }

    .article {
        padding: 12px;
        margin-bottom: 12px;
    }

    .img-box {
        height: 150px;
    }

    .article-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .article-description {
        font-size: 0.85rem;
    }

    .pagination-wrap.visible-xs {
        padding: 14px 10px;
        margin: 20px auto;
    }

    .pagination-wrap.visible-xs .paging-cls {
        gap: 8px;
    }

    .pagination-wrap.visible-xs .paging-cls a {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
        border-radius: 8px;
    }

    .pagination-wrap.visible-xs .paging-cls a[aria-label="Previous"],
    .pagination-wrap.visible-xs .paging-cls a[aria-label="Next"] {
        min-width: 56px;
        padding: 0 12px;
        font-size: 12px;
    }

    .pagination-wrap.visible-xs .paging-cls a:first-child,
    .pagination-wrap.visible-xs .paging-cls a:last-child {
        min-width: 48px;
        font-size: 12px;
    }

    .mobile-content .glass.rounded-2xl.p-5.mb-8.fadein {
        padding: 14px !important;
        margin: 14px auto !important;
        max-width: 92%;
    }

    .mobile-content .pc-section-title {
        font-size: 1.2rem;
        margin-bottom: 14px !important;
    }

    .mobile-content .article {
        padding: 10px;
        margin-bottom: 12px;
    }

    .mobile-content .article-title {
        font-size: 1rem;
    }

    .mobile-content .img-box {
        width: 90px;
        height: 70px;
    }

    .mobile-content .article-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .mobile-content .article:last-child {
        margin-bottom: 0;
    }
}

/* 深色模式优化 */
@media (prefers-color-scheme: dark) {
    .article-body pre {
        background: rgba(0, 0, 0, 0.3);
    }

    .article-body code {
        background: rgba(0, 0, 0, 0.4);
    }

    .comments textarea {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* 打印样式 */
@media print {
    .article {
        display: block;
        margin: 0;
    }

    .nav-site-map,
    .comments,
    .article-meta-author::before,
    .article-meta-published::before {
        display: none;
    }

    .article-content-detail {
        border: none;
        padding: 0;
        background: transparent;
    }

    .article-title-detail h1 {
        color: #000;
        border-bottom: 2px solid #333;
    }

    .article-body {
        color: #333;
    }

    .article-body a {
        color: #0066cc;
        text-decoration: underline;
    }
}

/* 响应式网格调整 */
@media (min-width: 1024px) {
    .features-grid-article {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .features-grid-article {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .features-grid-article {
        grid-template-columns: 1fr;
    }
}
