/* 博客列表页特定样式 */

.blog-card {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #374151 0%, #2d3748 100%);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.blog-card-image {
    transition: transform 0.3s ease;
}

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

.filter-btn {
    transition: all 0.2s ease-in-out;
}

.filter-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #38bdf8 100%);
    color: white;
}

.filter-btn:hover:not(.active) {
    background-color: #374151;
}

/*
 * 资讯列表两栏：分页只占「正文列」宽度并在该列内居中（不相对整页含侧栏居中）。
 * 使用纯 CSS Grid，避免依赖 tailwind 任意值是否编入 tailwind.min.css。
 */
@media (min-width: 1024px) {
    .qfgame-blog-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        column-gap: 1.5rem;
        align-items: start;
    }

    .qfgame-blog-layout__main {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .qfgame-blog-layout__sidebar {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }

    .qfgame-blog-layout__pagination {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        width: 100%;
        min-width: 0;
        justify-content: center;
        margin-top: 3rem;
        padding-top: 0.5rem;
        position: relative;
        z-index: 20;
    }
}

@media (max-width: 1023px) {
    .qfgame-blog-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .qfgame-blog-layout__main {
        order: 1;
    }

    .qfgame-blog-layout__pagination {
        order: 2;
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 0;
        padding-top: 0;
        position: relative;
        z-index: 20;
    }

    .qfgame-blog-layout__sidebar {
        order: 3;
    }
}

/* 搜索结果分页：paginate_links 的 ul 横排 */
.qfgame-blog-layout__pagination .search-pagination-nav > ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0.25rem;
}

.qfgame-blog-layout__pagination .search-pagination-nav > ul.page-numbers li {
    display: block;
    margin: 0;
}

.qfgame-blog-layout__pagination .search-pagination-nav .page-numbers {
    display: inline-flex;
    min-width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid rgba(75, 85, 99, 0.7);
    border-radius: 0.8rem;
    background: rgba(55, 65, 81, 0.9);
    color: #d1d5db;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.qfgame-blog-layout__pagination .search-pagination-nav .page-numbers:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.7);
    background: rgba(59, 130, 246, 0.92);
    color: #fff;
}

.qfgame-blog-layout__pagination .search-pagination-nav .page-numbers.current {
    border-color: rgba(56, 189, 248, 0.85);
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
}

.qfgame-blog-layout__pagination .search-pagination-nav .page-numbers.dots {
    pointer-events: none;
    border-color: transparent;
    background: rgba(31, 41, 55, 0.8);
    color: #9ca3af;
}

.qfgame-blog-layout__pagination .search-pagination-nav .page-numbers.prev,
.qfgame-blog-layout__pagination .search-pagination-nav .page-numbers.next {
    min-width: 3rem;
}

/* 分类筛选和搜索框布局 */
@media (max-width: 768px) {
    .flex.flex-wrap.items-center.justify-between.gap-4 {
        flex-direction: column;
        align-items: stretch;
    }
    
    .flex.flex-wrap.items-center.justify-between.gap-4 > div:last-child {
        width: 100%;
    }
    
    .flex.flex-wrap.items-center.justify-between.gap-4 form input {
        width: 100% !important;
    }
}

/* 分页样式 - 匹配 blog.html 的样式 */
nav.flex.space-x-2 a,
nav.flex.space-x-2 span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #374151;
    color: #d1d5db;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

nav.flex.space-x-2 a:hover {
    background-color: #3b82f6;
    color: white;
}

nav.flex.space-x-2 .current,
nav.flex.space-x-2 span.current {
    background-color: #3b82f6;
    color: white;
}

/* WordPress 默认分页样式 */
.page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #374151;
    color: #d1d5db;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.page-numbers:hover {
    background-color: #3b82f6;
    color: white;
}

.page-numbers.current {
    background-color: #3b82f6;
    color: white;
}

.page-numbers.prev,
.page-numbers.next {
    background-color: #374151;
    color: #d1d5db;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background-color: #3b82f6;
    color: white;
}

/* 确保文章分类列表页面容器宽度与header完全一致 */
/* 由于header和内容区域都使用相同的 container mx-auto px-6 类，理论上应该一致 */
/* 添加此样式以确保在所有浏览器下宽度计算一致 */
.archive .container,
.category .container,
.tag .container {
    box-sizing: border-box;
    /* 确保padding与header一致（px-6 = 1.5rem） */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* 移动端：与mobile.css中的container样式保持一致 */
@media (max-width: 768px) {
    .archive .container,
    .category .container,
    .tag .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* 小屏幕：与mobile.css保持一致 */
@media (max-width: 640px) {
    .archive .container,
    .category .container,
    .tag .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* 侧边栏样式 - 与详情页一致 */
.sidebar-sticky {
    position: relative;
}

@media (min-width: 1024px) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 5rem;
        align-self: flex-start;
        will-change: transform;
    }
}

/* 热门文章列表 - 与详情页相关文章样式一致 */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.popular-posts-list .popular-post-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.popular-posts-list .popular-post-item:hover {
    opacity: 0.9;
}

.popular-posts-list .popular-post-item img {
    width: 96px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.popular-posts-list .popular-post-item:hover img {
    opacity: 0.8;
}

.popular-posts-list .popular-post-item .post-info {
    flex: 1;
    min-width: 0;
}

.popular-posts-list .popular-post-item .post-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.popular-posts-list .popular-post-item:hover .post-title {
    color: #38bdf8;
}

.popular-posts-list .popular-post-item .post-date {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* 分类列表 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

.category-list a:hover {
    color: #38bdf8;
}

.category-list .category-count {
    background-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 0.125rem 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background-color: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #93c5fd;
    transform: translateY(-2px);
}

/* 最新文章列表 */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.recent-posts-list li:last-child {
    border-bottom: none;
}

.recent-posts-list a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.5;
    display: block;
    transition: color 0.3s ease;
}

.recent-posts-list a:hover {
    color: #38bdf8;
}

.recent-posts-list .post-date {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* 列表式布局样式 - 参考图片简洁风格 */
.blog-list-item {
    margin-bottom: 1rem;
}

.blog-list-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #2d3748;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.blog-list-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: #374151;
    border-color: rgba(59, 130, 246, 0.3);
}

/* 图片区域 - 左侧固定尺寸 */
.blog-list-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.blog-list-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.blog-list-link:hover .blog-list-image {
    transform: scale(1.05);
}

/* 占位符样式 - 统一使用主题蓝色渐变 + 游戏图标 */
.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

/* 添加微妙的纹理效果 */
.blog-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* 游戏图标样式 */
.blog-placeholder i {
    font-size: 3.5rem;
    color: white;
    opacity: 0.9;
    z-index: 1;
    position: relative;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.blog-list-link:hover .blog-placeholder i {
    transform: scale(1.1);
}

/* 小尺寸占位符（侧边栏使用） */
.blog-placeholder-small {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}

.blog-placeholder-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.blog-placeholder-small i {
    font-size: 1.25rem;
    color: white;
    opacity: 0.9;
    z-index: 1;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 内容区域 - 右侧自适应，高度与图片一致 */
.blog-list-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 150px; /* 与图片高度一致 */
    justify-content: space-between;
    padding-top: 0.25rem;
}

/* 标题样式 - 参考图片大号粗体 */
.blog-list-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-list-link:hover .blog-list-title {
    color: #38bdf8;
}

/* 摘要样式 - 固定三行显示，超过三行省略 */
.blog-list-excerpt {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.55;
    min-height: calc(0.875rem * 1.55 * 3);
    margin-bottom: 0.5rem;
    text-indent: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 专题页资讯卡片：与首页一致，标题 1 行、摘要 2 行 */
.qfgame-topic-news-title {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.75rem;
    min-height: 1.75rem;
}

.qfgame-topic-news-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qfgame-topic-news-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.375rem;
    margin: 0;
    text-align: left;
    width: 100%;
}

/* 元信息样式 - 单行展示，避免列表卡片被元信息撑高 */
.blog-list-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    margin-top: auto;
    align-self: flex-start;
    overflow: hidden;
    font-size: 0.75rem;
    color: #6b7280;
}

.blog-meta-item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.125rem;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: #6b7280;
}

.blog-meta-item:first-child {
    min-width: 0;
    flex-shrink: 1;
}

.blog-meta-label {
    color: #9ca3af; /* 标签文字稍浅 */
    font-weight: 500;
}

.blog-meta-item > span:not(.blog-meta-label):not(.blog-meta-category) {
    color: #6b7280; /* 内容文字灰色 */
}

/* 分类标签样式 - 统一使用主题蓝色 */
.blog-meta-category {
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #3b82f6; /* 主题蓝色 */
    color: white;
    display: inline-block;
}

/* 移除所有分类颜色类，统一使用蓝色 */
.blog-meta-category.bg-brand-blue,
.blog-meta-category.bg-brand-cyan,
.blog-meta-category.bg-green-500,
.blog-meta-category.bg-purple-500,
.blog-meta-category.bg-yellow-500,
.blog-meta-category.bg-gray-600 {
    background-color: #3b82f6; /* 统一使用主题蓝色 */
    color: white;
}

/* 平板端响应式 */
@media (max-width: 1023px) and (min-width: 769px) {
    .blog-list-thumbnail {
        width: 180px;
        height: 135px;
    }
    
    .blog-list-content {
        height: 135px; /* 与图片高度一致 */
    }
    
    .blog-list-title {
        font-size: 1.125rem;
    }
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .blog-list-link {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .blog-list-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .blog-list-content {
        height: auto; /* 移动端不需要固定高度 */
        padding-top: 0;
    }
    
    .blog-list-title {
        font-size: 1rem;
    }
    
    .blog-list-excerpt {
        -webkit-line-clamp: 3;
        margin-bottom: 0.5rem;
    }
    
    .blog-list-meta {
        margin-top: 0.5rem;
        align-self: flex-start;
        flex-wrap: wrap;
        overflow: visible;
    }
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .blog-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* 搜索结果页优化 */
.search .relative.py-20,
.search-results .relative.py-20,
.search-no-results .relative.py-20 {
    padding-top: 6rem;
    padding-bottom: 4.5rem;
}

.search .qfgame-search-toolbar,
.search-results .qfgame-search-toolbar,
.search-no-results .qfgame-search-toolbar {
    border: 1px solid rgba(75, 85, 99, 0.55);
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.88), rgba(17, 24, 39, 0.92));
    border-radius: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.qfgame-search-form.qfgame-search-form--hero {
    width: min(100%, 480px);
    margin: 1.6rem auto 0;
}

.qfgame-search-form--hero .qfgame-search-input {
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.qfgame-search-toolbar--filters {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0;
    padding: 0;
    margin-top: -0.25rem;
}

.qfgame-search-toolbar--filters .qfgame-search-filters {
    justify-content: flex-start;
    gap: 0.65rem;
}

.qfgame-search-toolbar__head,
.qfgame-search-toolbar__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.qfgame-search-toolbar__head {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(75, 85, 99, 0.45);
}

.qfgame-search-eyebrow {
    margin: 0 0 0.25rem;
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.qfgame-search-heading {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
}

.qfgame-search-count {
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(14, 165, 233, 0.12);
    color: #bae6fd;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.qfgame-search-filters {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.qfgame-search-form-wrap {
    width: min(100%, 360px);
    flex-shrink: 0;
}

.qfgame-search-form {
    position: relative;
    width: 100%;
}

.qfgame-search-input {
    width: 100%;
    border: 1px solid rgba(75, 85, 99, 0.8);
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    border-radius: 999px;
    padding: 0.78rem 3rem 0.78rem 1.1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.qfgame-search-input:focus {
    border-color: rgba(56, 189, 248, 0.85);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.qfgame-search-submit {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    color: #fff;
}

.search .blog-list-link,
.search-results .blog-list-link,
.search-no-results .blog-list-link {
    border-color: rgba(75, 85, 99, 0.5);
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.96), rgba(31, 41, 55, 0.96));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.search .blog-list-content,
.search-results .blog-list-content,
.search-no-results .blog-list-content {
    justify-content: space-between;
    gap: 0;
}

.search .blog-list-title,
.search-results .blog-list-title,
.search-no-results .blog-list-title {
    margin-bottom: 0.5rem;
}

.search .blog-list-excerpt,
.search-results .blog-list-excerpt,
.search-no-results .blog-list-excerpt {
    -webkit-line-clamp: 3;
    margin-bottom: 0.75rem;
}

.qfgame-search-card-topline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.qfgame-search-type-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    color: #7dd3fc;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
}

.qfgame-search-category-text {
    color: #94a3b8;
    font-size: 0.76rem;
}

.qfgame-search-empty {
    border: 1px dashed rgba(75, 85, 99, 0.75);
    background: rgba(31, 41, 55, 0.72);
    border-radius: 1.25rem;
    padding: 3rem 1.5rem;
    text-align: center;
}

.qfgame-search-empty__icon {
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.qfgame-search-empty h2 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
}

.qfgame-search-empty p {
    margin: 0 auto 1.25rem;
    max-width: 34rem;
    color: #9ca3af;
}

.qfgame-search-empty__form {
    display: flex;
    max-width: 32rem;
    margin: 0 auto;
    gap: 0.75rem;
}

.qfgame-search-empty__form input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(75, 85, 99, 0.8);
    background: #111827;
    color: #fff;
    border-radius: 0.75rem;
    padding: 0.8rem 1rem;
}

.qfgame-search-empty__form button {
    flex-shrink: 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    color: #fff;
    font-weight: 800;
    padding: 0.8rem 1.15rem;
}

@media (max-width: 900px) {
    .qfgame-search-form.qfgame-search-form--hero {
        width: min(100%, 480px);
    }

    .qfgame-search-toolbar__head,
    .qfgame-search-toolbar__body,
    .qfgame-search-empty__form {
        align-items: stretch;
        flex-direction: column;
    }

    .qfgame-search-form-wrap {
        width: 100%;
    }
}

