/* ============================================
   ARCHIVE TEMPLATE - ALL KNOWLEDGE BASES
============================================ */

.gamekb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: #f8f9fa;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.page-title {
    font-size: 2.5rem;
    margin: 0 0 10px;
    color: #333;
    padding: 0 20px;
    word-wrap: break-word;
}

.page-description {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    padding: 0 20px;
}

/* Knowledge Base Grid */
.gamekb-kb-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default: single column for mobile */
    gap: 30px;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
}

/* Knowledge Base Card */
.gamekb-kb-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative; /* Add this for consistent button positioning */
}

.gamekb-kb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.gamekb-kb-thumbnail {
    height: 200px;
    overflow: hidden;
    width: 100%;
    flex-shrink: 0; /* Don't let thumbnail shrink */
}

.gamekb-kb-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gamekb-kb-card:hover .gamekb-kb-thumbnail img {
    transform: scale(1.05);
}

.gamekb-kb-content {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%; /* Make content area take full height */
    min-height: 220px; /* Set minimum height for content area */
}

.gamekb-kb-content::after {
    content: '';
    flex: 0 0 40px; /* Reserve space for button */
    display: block;
}

.gamekb-kb-title {
    margin: 0 0 10px;
    font-size: 1.5rem;
    word-wrap: break-word;
    flex-shrink: 0; /* Prevent title from shrinking */
}

.gamekb-kb-title a {
    color: #333;
    text-decoration: none;
}

.gamekb-kb-title a:hover {
    color: #0073aa;
}

.gamekb-kb-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
    flex: 1; /* Take available space */
    overflow: hidden;
    position: relative;
    /* Set specific height */
    height: 72px; /* ~3 lines of text at 1.5 line-height */
    min-height: 72px;
    max-height: 72px;
}

/* Optional: Add fade effect for truncated text */
.gamekb-kb-description::after {
    display: none; /* Remove the gradient overlay */
}

.gamekb-kb-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #888;
    flex-shrink: 0; /* Prevent meta from shrinking */
}

/* Updated button styles for consistent positioning */
.gamekb-kb-link {
    display: inline-block;
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    margin-top: auto; /* This pushes button to bottom */
    align-self: flex-start;
    flex-shrink: 0;
    /* Ensure it stays at bottom */
    position: relative;
    bottom: 0;
    left: 0;
}

.gamekb-kb-link:hover {
    background: #005a87;
    color: #fff;
}

/* Add this for even more consistent button placement */
.gamekb-kb-card::after {
    content: '';
    flex: 1 0 auto; /* Add flexible space if needed */
    min-height: 0;
}

/* ============================================
   RESPONSIVE STYLES FOR ARCHIVE PAGE ONLY
============================================ */

/* Very small mobile (320px and below) */
@media (max-width: 320px) {
    .gamekb-container {
        padding: 10px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .gamekb-kb-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 15px;
        margin-top: 20px;
    }
    
    .gamekb-kb-card {
	min-height: 320px;
    }
    
    .gamekb-kb-thumbnail {
        height: 120px;
    }
    
    .gamekb-kb-content {
        min-height: 180px;
        padding: 12px;
    }
    
    .gamekb-kb-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .gamekb-kb-description {
        height: 60px;
        min-height: 60px;
        max-height: 60px;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .gamekb-kb-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .page-header {
        padding: 25px 10px;
        margin-bottom: 25px;
        border-radius: 6px;
    }
    
    .page-title {
        font-size: 1.6rem;
        padding: 0 10px;
        line-height: 1.3;
    }
    
    .page-description {
        font-size: 0.9rem;
        padding: 0 10px;
    }
}

/* Small mobile (321px to 400px) */
@media (min-width: 321px) and (max-width: 400px) {
    .gamekb-container {
        padding: 12px;
    }
    
    .gamekb-kb-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 18px;
        margin-top: 25px;
    }
    
    .gamekb-kb-card {
        min-height: 340px;
    }
    
    .gamekb-kb-content {
        min-height: 190px;
    }
    
    .gamekb-kb-description {
        height: 65px;
        min-height: 65px;
        max-height: 65px;
    }
    
    .gamekb-kb-thumbnail {
        height: 140px;
    }
    
    .gamekb-kb-title {
        font-size: 1.3rem;
    }
    
    .page-header {
        padding: 30px 15px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
}

/* Medium mobile (401px to 480px) */
@media (min-width: 401px) and (max-width: 480px) {
    .gamekb-container {
        padding: 15px;
    }
    
    .gamekb-kb-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 30px;
    }
    
    .gamekb-kb-thumbnail {
        height: 170px;
    }
    
    .page-header {
        padding: 35px 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

/* Tablet (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .gamekb-kb-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
        gap: 20px;
        margin-top: 30px;
    }
    
    .gamekb-kb-thumbnail {
        height: 180px;
    }
    
    .gamekb-kb-content {
        min-height: 200px;
    }
    
    .gamekb-kb-description {
        height: 68px;
        min-height: 68px;
        max-height: 68px;
    }
    
    .gamekb-kb-title {
        font-size: 1.4rem;
    }
}

/* Larger Tablet (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .gamekb-container {
        padding: 25px;
    }
    
    .gamekb-kb-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
        gap: 25px;
        margin-top: 35px;
    }
    
    .gamekb-kb-content {
        min-height: 210px;
    }

    .gamekb-kb-thumbnail {
        height: 200px;
    }
    
    .page-header {
        padding: 40px 30px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
}

/* Desktop (1024px and above) */
@media (min-width: 1024px) {
    .gamekb-kb-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Auto-fill grid */
        gap: 30px;
        margin-top: 40px;
    }

    .gamekb-kb-content {
        min-height: 220px;
    }
    
    .gamekb-kb-thumbnail {
        height: 200px;
    }
}

/* SHORTCODES */
.gamekb-articles-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 3), 1fr);
    gap: 30px;
}

.gamekb-articles-list .gamekb-article-item {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

/* Category Lists */
.gamekb-categories-list .gamekb-category-item {
    margin-bottom: 10px;
}

.gamekb-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

/* Game Grid */
.gamekb-games-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 3), 1fr);
    gap: 30px;
}

.gamekb-game-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gamekb-game-item:hover {
    transform: translateY(-5px);
}

/* SEARCH FUNCTION (KB ARCHIVE PAGE) */
.gamekb-search-shortcode-form {
    margin: 5px auto;
    max-width: 700px;
}

.gamekb-search-wrapper {
    display: flex;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    background: #fff;
}

.gamekb-search-input {
    flex-grow: 1;
    padding: 18px 20px;
    border: none;
    font-size: 16px;
    line-height: 1.5;
    background: transparent;
    outline: none; 
    color: #333;
}

.gamekb-search-input::placeholder {
    color: #888;
}

.gamekb-search-input:focus {
    outline: none;
}

.gamekb-search-submit {
    padding: 0 28px;
    background-color: #e4ece7; 
    color: rgb(9, 9, 9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    font-weight: 400;
}

.gamekb-search-submit:hover {
    background-color: #c2c9c4;
}

.gamekb-search-button-text {
    font-size: 16px;
}

.gamekb-search-button:hover {
    font-size: 16px;
    color: white;
}

.gamekb-search-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 12px;
    font-style: italic;
}

.custom-search-icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url('https://ru.serverspace.store/v1/AUTH_1041f4542fcb4fc086f8b8131ca20597/test/icons/Search SVG Icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================
   GAME OVERVIEW PAGE STYLES
============================================ */

.gamekb-single-game {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Game Header */
.gamekb-game-overview-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.gamekb-game-cover {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.gamekb-game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gamekb-game-cover:hover img {
    transform: scale(1.05);
}

.gamekb-game-info {
    flex: 1;
}

.gamekb-game-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.gamekb-game-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin: 0 0 20px 0;
}

.gamekb-game-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Game Layout */
.gamekb-game-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Search Container for Game Overview */
.gamekb-game-sections-wrapper .gamekb-search-form-container {
    margin-bottom: 30px;
    padding: 20px;
    background: transparent;
}

.gamekb-game-sections-wrapper .gamekb-relevanssi-search-form {
    margin: 0;
    padding: 0;
}

.gamekb-game-sections-wrapper .gamekb-relevanssi-search-form form {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.gamekb-game-sections-wrapper .gamekb-search-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.gamekb-game-sections-wrapper .gamekb-search-input {
    width: 100%;
    padding: 14px 45px 14px 15px;
    border: 2px solid #d0d7de;
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 400;
    color: #334155;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.gamekb-game-sections-wrapper .search-submit-wrapper {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gamekb-game-sections-wrapper .custom-search-icon {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.gamekb-game-sections-wrapper .search-submit-wrapper:hover .custom-search-icon {
    opacity: 1;
}

.gamekb-game-sections-wrapper .gamekb-search-submit {
    display: none;
}

.gamekb-game-sections-wrapper .gamekb-search-input:focus {
    border-color: #0366d6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.1);
    transform: none;
}

.gamekb-game-sections-wrapper .gamekb-search-input::placeholder {
    color: #8b949e;
    font-weight: 400;
    font-style: italic;
    opacity: 0.8;
    font-size: 14px;
}

/* Sections Title */
.gamekb-sections-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Section */
.gamekb-section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gamekb-section:hover {
    border-color: #d0d7de;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gamekb-section-title {
    margin: 0;
}

.gamekb-section-toggle {
    width: 100%;
    padding: 12px 15px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #24292f;
    font-size: 0.95rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.2s ease;
    position: relative;
}

.gamekb-section-toggle:hover {
    background-color: #f6f8fa;
    color: #24292f;
}

.gamekb-section-name {
    flex-grow: 1;
    margin-right: 10px;
}

.gamekb-section-count {
    font-size: 0.85rem;
    color: #57606a;
    font-weight: 400;
    margin-right: 8px;
}

.gamekb-section-toggle .gamekb-toggle-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    color: #57606a;
    flex-shrink: 0;
}

.gamekb-section-toggle .gamekb-toggle-icon svg {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
}

/* Articles List */
.gamekb-articles-list {
    background: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    padding: 10px 0;
}

.gamekb-articles-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gamekb-article-item {
    margin: 0;
    padding: 0;
}

/* Article Links */
.gamekb-articles-list a {
    display: block;
    padding: 8px 15px 8px 25px;
    color: #24292f;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.gamekb-articles-list a:hover {
    background-color: #f6f8fa;
    color: #0366d6;
    text-decoration: none; 
    border-left-color: transparent; 
}

/* Current Article Highlight - Light green background */
.gamekb-current-article a {
    background-color: #f0fff4;
    color: #2ea44f;
    font-weight: 500;
}

/* Game Sidebar - Match Single Article Sidebar */
.gamekb-game-sidebar {
    background: #f5f5f7;
    border-radius: 8px;
    padding: 0;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f5f5f7;
}

.gamekb-game-sidebar::-webkit-scrollbar {
    width: 6px;
}

.gamekb-game-sidebar::-webkit-scrollbar-track {
    background: #f5f5f7;
    border-radius: 3px;
}

.gamekb-game-sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

/* Current Game KB Header in Sidebar */
.gamekb-game-sidebar .gamekb-current-kb {
    padding: 20px 20px 15px;
}

.gamekb-game-sidebar .gamekb-kb-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px;
    line-height: 1.3;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gamekb-game-sidebar .gamekb-kb-meta {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Thin Dividing Lines */
.gamekb-game-sidebar .gamekb-divider {
    height: 1px;
    background: #e0e0e0;
    border: none;
    margin: 0;
}

/* Search Form Container */
.gamekb-game-sidebar .gamekb-search-form-container {
    padding: 20px;
    background: transparent;
}

/* Categories/Articles Navigation */
.gamekb-game-sidebar .gamekb-categories-nav {
    padding: 20px 15px;
}

/* Category Items */
.gamekb-game-sidebar .gamekb-category {
    margin-bottom: 5px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eaeaea;
    transition: border-color 0.2s ease;
}

.gamekb-game-sidebar .gamekb-category:hover {
    border-color: #d0d7de;
}

/* Sidebar Recent/Popular Guides */
.gamekb-sidebar-guides {
    padding: 15px;
}

.gamekb-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.gamekb-sidebar-article {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.gamekb-sidebar-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.gamekb-sidebar-article a {
    font-size: 0.9rem;
    color: #24292f;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.gamekb-sidebar-article a:hover {
    color: #0366d6;
    text-decoration: none;
}

.gamekb-sidebar-article-meta {
    font-size: 0.8rem;
    color: #666;
    margin-top: 3px;
}

/* Popular Articles in Sidebar */
.gamekb-popular-article {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.gamekb-popular-rank {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #0366d6;
    color: #fff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 2px;
}

.gamekb-popular-views {
    font-size: 0.75rem;
    color: #666;
    margin-left: auto;
    flex-shrink: 0;
}

/* No Content State */
.gamekb-no-content {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

.gamekb-no-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

/* ============================================
   FIX FOR ARCHIVE PAGE ON VERY SMALL SCREENS (320px)
============================================ */

/* Fix for cut-off containers at 320px */
@media (max-width: 320px) {
    body .gamekb-container:not(.gamekb-single-game) {
        padding: 8px 8px !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    body .gamekb-kb-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    body .gamekb-kb-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        border-radius: 6px !important;
        overflow: hidden !important;
    }
    
    body .gamekb-kb-thumbnail {
        height: 120px !important;
        width: 100% !important;
    }
    
    body .gamekb-kb-content {
        padding: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    body .gamekb-kb-title {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
        margin-bottom: 6px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }
    
    body .gamekb-kb-title a {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
    }
    
    body .gamekb-kb-description {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
        word-wrap: break-word !important;
    }
    
    body .page-header {
        padding: 20px 10px !important;
        margin-bottom: 20px !important;
        border-radius: 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    body .page-title {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        padding: 0 !important;
        margin: 0 0 5px 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    body .gamekb-kb-link {
        padding: 5px 10px !important;
        font-size: 0.8rem !important;
    }
    
    /* Fix viewport issues */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .site-content {
        overflow-x: hidden !important;
        width: 100% !important;
    }
}

/* Fix for 400px screens */
@media (max-width: 400px) {
    body .gamekb-container:not(.gamekb-single-game) {
        padding: 10px !important;
    }
    
    body .gamekb-kb-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    body .gamekb-kb-thumbnail {
        height: 140px !important;
    }
    
    body .gamekb-kb-title {
        font-size: 1.2rem !important;
    }
    
    body .page-title {
        font-size: 1.8rem !important;
    }
}

/* Fix for 768px tablets - 2 columns */
@media (min-width: 481px) and (max-width: 768px) {
    body .gamekb-kb-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    body .gamekb-kb-thumbnail {
        height: 160px !important;
    }
    
    body .gamekb-kb-title {
        font-size: 1.3rem !important;
    }
}