.single .site-main h1.entry-title {
    font-size: 1.8rem;
    text-align: center;
}

.game-description {
    padding: 0 15px;
}

/* Compact Header Style */
.game-header-compact {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.game-thumbnail-small {
    flex-shrink: 0;
}

.game-thumbnail-small .game-featured-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.game-title-wrapper {
    flex: 1;
    min-width: 200px;
}

.game-actions-compact {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .game-header-compact {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .game-title-wrapper {
        min-width: auto;
    }
}

.game-description ol, .game-description ul {
    margin-bottom: 24px;
}
.cta-save-score {
    background: #007cba;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 10px 0;
}

.cta-save-score:hover:not(.disabled) {
    background: #005a87;
    transform: translateY(-2px);
}

.cta-save-score.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.cta-save-score:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.game-template-default .entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#save-score-container {
    margin-left: auto;
}

@media (max-width: 768px) {
    .entry-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #save-score-container {
        margin-left: 0;
        width: 100%;
    }
    
    .cta-save-score {
        width: 100%;
    }
}
.bs-game-container {
    /*
    display: grid;
    grid-template-columns: 1fr 300px; */
    width: 100%;
    gap: 2rem;
    margin: 0 auto;
}

.bs-game-wrapper {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.leaderboard-section {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.8rem;
    margin-bottom: 2rem;
}

.leaderboard-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}

.single-game .tab-button {
    flex: 1;
    padding: 0.5rem;
    color: #000;
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.single-game .tab-button.active {
    border-bottom-color: #007cba;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.leaderboard-content ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.leaderboard-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.related-games ul {
    list-style: none;
    padding: 0;
}

.related-games li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.related-games a {
    text-decoration: none;
}

.related-games a:hover {
    text-decoration: underline;
}

.login-prompt {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.game-container-wrapper {
    border-radius: 9px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .game-container {
        grid-template-columns: 1fr;
    }
}

/* Related Games Styles */
.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.related-game-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.related-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.related-game-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.related-game-thumbnail {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.related-game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-game-item:hover .related-game-image {
    transform: scale(1.05);
}

.related-game-thumbnail.no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-game-placeholder {
    text-align: center;
    color: white;
}

.placeholder-icon {
    font-size: 2rem;
    display: block;
}

.related-game-info {
    padding: 15px;
}

.related-game-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.related-game-excerpt {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.game-sidebar {
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .related-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .related-game-thumbnail {
        height: 120px;
    }
    
    .related-game-info {
        padding: 12px;
    }
    
    .related-game-title {
        font-size: 14px;
    }
    
    .related-game-excerpt {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .game-sidebar {
        margin-top: 2rem;
    }
    .related-games-grid {
       /* grid-template-columns: 1fr;*/
        gap: 12px;
    }
    
    .related-game-thumbnail {
        height: 140px;
    }
}